Serialized Form

Class com.objectplanet.gui.Table extends java.applet.Applet implements Serializable

Serialized Fields

headerViewPort

java.awt.Rectangle headerViewPort
The bounds of the header.


rowViewPort

java.awt.Rectangle rowViewPort
The bounds of the view where the rows are displayed.


totalRowViewPort

java.awt.Rectangle totalRowViewPort
The bounds of the total row.


filterViewPort

java.awt.Rectangle filterViewPort
The bounds of the filter bar.


vScrollbarViewPort

java.awt.Rectangle vScrollbarViewPort
The bounds of the vertical scroll bar.


hScrollbarViewPort

java.awt.Rectangle hScrollbarViewPort
The bounds of the horizontal scrollbar.


mouseOverCellViewPort

java.awt.Rectangle mouseOverCellViewPort
The bounds of the cell the mouse is currently over.


mouseOverRowIndex

int mouseOverRowIndex
This is the index of the row the mouse is currently over.


mouseOverColumnIndex

int mouseOverColumnIndex
This is the index of the column the mouse is currently over.


mouseOverCellOn

boolean mouseOverCellOn
Turns on or off display of hidden cells when the mouse moves over it.


loadingData

boolean loadingData
This flag is set to true when data is being loaded at initial startup.


loadingDataDots

int loadingDataDots
The number of dots after the loading message. This can be adjusted when loading data, and repaint() will paint the message with the dots.


tableData

TableData tableData
This object contains the rows of the table. The table data can be shared among several table components with different sortings and filters at the same time.


numericalData

double[][] numericalData
This double array contains all data that is numeric in the table. This is in addition of the textual representation in the tableData object, and is used to speed up sorting of data.


sortedList

int[] sortedList
This contains all the indexes of the tableData in sorted order. The sort order depends on which column was last sorted.


displayList

int[] displayList
This array contains the indexes of the rows currently being displayed. They are displayed in the order found in this list. The sortedList is used when building this list, by going through the index values of the sorted list and see if the row with the index matches the current filter. The filtered list is then always sorted and filtered.


displayListCount

int displayListCount
The number of rows in the display list. Be very careful this number is correct if you ever change it, otherwise you may end up with tons of IndexOutOfBoundsExceptions as the rendering of the rows is highly dependent on this counter and the content of the displayList.


dataURL

java.lang.String dataURL
The URL the data is loaded from.


filter

Filter[] filter
The current filter setup.


headerLabels

java.lang.String[] headerLabels
These are the labels displayed per column in the table header. The user can click the fields of the table header to sort the respective column either in ascending or descending order.


listeners

java.util.Vector listeners
The TableListener clients registered to receive events from the table. Events are sent when a row is selected, deselected, or double clicked.


columnWidth

double[] columnWidth

columnAlignment

int[] columnAlignment

columnType

int[] columnType

columnOn

boolean[] columnOn

columnCollapsable

boolean[] columnCollapsable

columnCollapsed

boolean[] columnCollapsed

selectedRows

boolean[] selectedRows

headerBackground

java.awt.Color[] headerBackground

rowForeground

java.awt.Color[] rowForeground

rowBackground

java.awt.Color[] rowBackground

selectionForeground

java.awt.Color selectionForeground

selectionBackground

java.awt.Color selectionBackground

selectionCellBackground

java.awt.Color selectionCellBackground

defaultRowForeground

java.awt.Color defaultRowForeground

defaultRowBackground

java.awt.Color defaultRowBackground

automaticRepaintOn

boolean automaticRepaintOn

headerOn

boolean headerOn

filterBarOn

boolean filterBarOn

filterBarBackground

java.awt.Color filterBarBackground

filterBarOnBackground

java.awt.Color filterBarOnBackground

filterBarPosition

int filterBarPosition

progressiveFilterOn

boolean progressiveFilterOn

selectionMode

int selectionMode

columnPrefix

java.lang.String[] columnPrefix

columnPostfix

java.lang.String[] columnPostfix

totalRowOn

boolean[] totalRowOn

decimalCount

int[] decimalCount

sortingOn

boolean[] sortingOn

defaultSortOrder

int[] defaultSortOrder

sortOrder

int[] sortOrder

filterWildCard

java.lang.String filterWildCard

urlList

java.util.Hashtable urlList

urlTargetList

java.util.Hashtable urlTargetList

urlColor

java.awt.Color urlColor

urlStyle

int urlStyle

gridOn

boolean gridOn

gridColor

java.awt.Color gridColor

fieldSeparator

java.lang.String fieldSeparator

columnStretchOn

boolean columnStretchOn

preferredSize

java.awt.Dimension preferredSize

loadingDataMessage

java.lang.String loadingDataMessage

loadingMessageOn

boolean loadingMessageOn

updateWhileLoadingURLData

boolean updateWhileLoadingURLData

dataInterval

int dataInterval

dataIntervalReset

boolean dataIntervalReset

dataIntervalThread

java.lang.Thread dataIntervalThread

initThread

java.lang.Thread initThread

fonts

java.util.Hashtable fonts

fontColors

java.util.Hashtable fontColors

defaultDateFormatter

java.text.DateFormat defaultDateFormatter

dateFormatters

java.util.Vector dateFormatters

dateParser

java.text.SimpleDateFormat dateParser

dateParserPatterns

java.util.Vector dateParserPatterns

defaultDatePattern

java.lang.String defaultDatePattern

dateFormatInputLocale

java.util.Locale dateFormatInputLocale

alternateRowBackgroundColor

java.awt.Color alternateRowBackgroundColor

alternateRowBackgroundCount

int alternateRowBackgroundCount

alternateRowBackgroundStart

int alternateRowBackgroundStart

cellImages

java.util.Hashtable cellImages

cellImageNames

java.util.Hashtable cellImageNames

headerImages

java.awt.Image[] headerImages

exportFrameIcon

java.awt.Image exportFrameIcon

parentApplet

java.applet.Applet parentApplet

parameterPrefix

java.lang.String parameterPrefix

tooltipLabels

java.util.Hashtable tooltipLabels

tooltipDelays

java.util.Hashtable tooltipDelays

tooltipThread

java.lang.Thread tooltipThread

tooltipBackground

java.awt.Color tooltipBackground

initiallySortedColumn

int initiallySortedColumn

labelCacheOn

boolean labelCacheOn

doubleBufferingOn

boolean doubleBufferingOn

thousandsDelimiter

java.lang.String thousandsDelimiter

rowHeight

int[] rowHeight

rowHeightAll

int rowHeightAll

needRowHeightCalculation

boolean needRowHeightCalculation

columnXpos

int[] columnXpos

headerPushed

boolean[] headerPushed

visibleColumnCount

int visibleColumnCount

selectedHeader

int selectedHeader

adjusting

boolean adjusting

lastClickedPos

int lastClickedPos

currentSeparator

int currentSeparator

pushedSeparator

int pushedSeparator

currentFilterEditField

int currentFilterEditField

cursorOn

boolean cursorOn

offscreen

java.awt.Image offscreen

firstRow

int firstRow

scrollOffset

int scrollOffset

lastSelectedRow

int lastSelectedRow

lastSelectedCell

int lastSelectedCell

clickedRow

int clickedRow

clickedCell

int clickedCell

lastSelectedTime

long lastSelectedTime

lastClickedTime

long lastClickedTime

lastSortedColumn

int lastSortedColumn

isSorted

boolean isSorted

lastPaintTime

long lastPaintTime

rowBottom

int rowBottom

appletContext

java.applet.AppletContext appletContext

numberFormatter

java.text.NumberFormat numberFormatter

currencyFormatter

java.text.NumberFormat currencyFormatter

rowColPos

int[] rowColPos

lastMousePosition

java.awt.Point lastMousePosition

firstSelectedRow

int firstSelectedRow

componentResized

boolean componentResized

calendar

java.util.Calendar calendar

currentTooltip

java.lang.String currentTooltip

tooltipOn

boolean tooltipOn

tooltipCountDown

int tooltipCountDown

vScrollbarOn

boolean vScrollbarOn

upButtonPushed

boolean upButtonPushed

downButtonPushed

boolean downButtonPushed

aboveSliderPushed

boolean aboveSliderPushed

belowSliderPushed

boolean belowSliderPushed

vSliderSpace

int vSliderSpace

vSliderPos

int vSliderPos

vSliderSize

int vSliderSize

upButtonHeight

int upButtonHeight

downButtonHeight

int downButtonHeight

vSliderAdjusting

boolean vSliderAdjusting

vSliderAdjustPos

int vSliderAdjustPos

hScrollbarOn

boolean hScrollbarOn

leftButtonPushed

boolean leftButtonPushed

rightButtonPushed

boolean rightButtonPushed

hSliderSpace

int hSliderSpace

hSliderSize

int hSliderSize

hSliderPos

int hSliderPos

hSliderAdjusting

boolean hSliderAdjusting

hSliderAdjustPos

int hSliderAdjustPos

maxVisibleRowCount

int maxVisibleRowCount

scrollByPageToY

int scrollByPageToY

scrollByPageToX

int scrollByPageToX

scrollerThread

java.lang.Thread scrollerThread


Class com.objectplanet.gui.TableEvent extends java.awt.AWTEvent implements Serializable

Serialized Fields

fields

java.lang.Object[] fields
The fields of a selection event.


column

int column
The column index of a selection, sorting, or filtering event.


rowIndex

int rowIndex
The row index of a selection event or index of the first displayed row when a scrolled event occured.


rowPos

int rowPos
The row position of a selection event or the position of the first row displayed when a scolled event occured (the position witin the row set, not scrolled position).


type

int type
The table event type.


mousePosition

java.awt.Point mousePosition
The mouse position.