Serialized Form


Package com.pcauto.gui.table

Class com.pcauto.gui.table.AbstractEntityTableColumnModel extends javax.swing.table.DefaultTableColumnModel implements Serializable

Class com.pcauto.gui.table.EntityJTable extends javax.swing.JTable implements Serializable

Class com.pcauto.gui.table.EntityListEvent extends java.util.EventObject implements Serializable

Serialized Fields

rowIndex

int rowIndex

endIndex

int endIndex

eventType

int eventType

Class com.pcauto.gui.table.EntityListException extends java.lang.Exception implements Serializable

Class com.pcauto.gui.table.EntityTable extends javax.swing.JPanel implements Serializable

Serialized Fields

orderTranslatorEntityList

OrderTranslatorEntityList orderTranslatorEntityList

proxyColumnModel

ProxyColumnModel proxyColumnModel

proxyTable

ProxyTableModel proxyTable

rowHeaderColumnModel

RowHeaderColumnModel rowHeaderColumnModel

rowHeaderModel

RowHeaderModel rowHeaderModel

proxyListSelectionModel

ProxyListSelectionModel proxyListSelectionModel

scrollPane

javax.swing.JScrollPane scrollPane

mainTable

EntityJTable mainTable

entityList

EntityList entityList
The EntityList which holds all the rows of the table.


columnModel

EntityTableColumnModel columnModel
The EntityTableColumnModel which holds all the column information for the table.


readOnly

boolean readOnly
True if the table is not editable, false otherwise.


cellEditorAdapter

java.awt.event.KeyAdapter cellEditorAdapter
The keyboard listener that is used to receive keystrokes and keyboard events.


cellFocusAdapter

java.awt.event.FocusAdapter cellFocusAdapter
The keyboard focus listener that is used to determine when keyboard forcus was gained or lost.


autoCalculateWidth

boolean autoCalculateWidth
If enabled then the table will try to resize to accomodate all the columns. True to enable, false to disable.


autoCalculateHeight

boolean autoCalculateHeight
If enabled then the table will try to resize to accomodate all the rows. True to enable, false to disable.


lastRowCount

int lastRowCount
The number of rows in the ProxyTableModel.


selectionMode

int selectionMode
The method used for selecting cells or rows. See ListSelectionModel for information about selection modes.


virtualRow

boolean virtualRow
True if the virtual row is enabled, false otherwise.


virtualRowEdited

boolean virtualRowEdited
True if the virtual row was edited, false otherwise.


virtualColumn

boolean virtualColumn
True if the virtual column is enabled, false otherwise.


rowNumbers

boolean rowNumbers
True if row numbers should be displayed in the virtual column, false otherwise.


entityIndex

boolean entityIndex
True if entity indices should be displayed in the virtual column, false otherwise.


currentFocus

EntityTableFocusType currentFocus
The current focus mode. This is one of EntityTableFocusType.CELL_FOCUS, EntityTableFocusType.ROW_FOCUS, or EntityTableFocusType.TABLE_FOCUS.


defaultFocus

EntityTableFocusType defaultFocus
Stores the default focus mode if none is set by the user. Valid values are EntityTableFocusType.ROW_FOCUS, EntityTableFocusType.CELL_FOCUS, and EntityTableFocusType.TABLE_FOCUS.


allowTableFocus

boolean allowTableFocus
True if table focus is enabled, false otherwise.


allowRowFocus

boolean allowRowFocus
True if row focus is enabled, false otherwise.


allowCellFocus

boolean allowCellFocus
True if cell focus is enabled, false otherwise.


rowHeader

EntityJTable rowHeader
The EntityJTable which corresponds to the row header.


rowHeaderViewport

javax.swing.JViewport rowHeaderViewport
The JViewport that displays the row header table.


orderLocked

boolean orderLocked
True if the order of the table data matches the order of the table data in the EntityList, false otherwise.


sortingAllowed

boolean sortingAllowed
True if the table rows can be sorted, false otherwise.


et

com.pcauto.gui.table.EntityTable.EditingTerminator et
EditingTerminator controls what happens when we were editing a cell and we left the EntityJTable. Based on the circumstances we either terminate editing like in the case where the cell loses focus, or we continue editing if we switched to a different screen/dialog.


selectionBackground

java.awt.Color selectionBackground
The background colour displayed for selected cells.

Class com.pcauto.gui.table.EntityTableColumn extends javax.swing.table.TableColumn implements Serializable

Serialized Fields

name

java.lang.String name

columnClass

java.lang.Class columnClass

locked

boolean locked

sortable

boolean sortable

rightAligned

boolean rightAligned

hidden

boolean hidden

editable

boolean editable

Class com.pcauto.gui.table.ProxyColumnModel extends javax.swing.table.DefaultTableColumnModel implements Serializable

Serialized Fields

origModel

EntityTableColumnModel origModel
The EntityTableColumnModel reference given to this ProxyColumnModel through the constructor or the setModel method. It is used to retrieve the columns that will be displayed in the main table body.

Class com.pcauto.gui.table.RowHeaderColumnModel extends ProxyColumnModel implements Serializable

Serialized Fields

columnHeader

javax.swing.table.TableColumn columnHeader
The TableColumn, which represents the virtual column used to select rows and/or to display useful information about the row, such as the row number or the row index.


virtualColumn

boolean virtualColumn
True if the virtual column is enabled, false otherwise.

Class com.pcauto.gui.table.RowHeaderModel extends com.pcauto.gui.table.ProxyTableModel implements Serializable

Serialized Fields

mainTableModel

ProxyTableModel mainTableModel
Stores a reference to a ProxyTableModel, which is used to obtain the EntityList and EntityTableColumnModel references. It is also used for obtaining the virtual entity


virtualColumn

boolean virtualColumn
True if the virtual column is enabled, false otherwise.


rowNumbers

boolean rowNumbers
True if row numbers are displayed in the virtual column, false otherwise.


entityIndex

boolean entityIndex
True if entity indices are displayed in the virtual column, false otherwise.

Class com.pcauto.gui.table.TableTestBed extends javax.swing.JPanel implements Serializable

Serialized Fields

allowCellFocus

javax.swing.JCheckBox allowCellFocus

allowLabel

javax.swing.JLabel allowLabel

allowRowFocus

javax.swing.JCheckBox allowRowFocus

allowTableFocus

javax.swing.JCheckBox allowTableFocus

buttonPanel

javax.swing.JPanel buttonPanel

cellFocusLabel

javax.swing.JLabel cellFocusLabel

columnTable

EntityTable columnTable

columnTableColumnModel

com.pcauto.gui.table.TestColumnTableColumnModel columnTableColumnModel

columnTableEntityList

ProxyEntityList columnTableEntityList

columnTablePrototype

EntityTableColumn columnTablePrototype

delEnableVirtColumn

javax.swing.JCheckBox delEnableVirtColumn

delEnableVirtualRow

javax.swing.JCheckBox delEnableVirtualRow

delFocusModeGroup

javax.swing.JPanel delFocusModeGroup

delOrderLocked

javax.swing.JCheckBox delOrderLocked

delPropLeftPanel

javax.swing.JPanel delPropLeftPanel

delPropRightPanel

javax.swing.JPanel delPropRightPanel

delReadOnly

javax.swing.JCheckBox delReadOnly

delRowSort

javax.swing.JCheckBox delRowSort

delVCDisplayIndex

javax.swing.JRadioButton delVCDisplayIndex

delVCEntityIndex

javax.swing.JRadioButton delVCEntityIndex

delVCNone

javax.swing.JRadioButton delVCNone

delVirtualColumnGroup

javax.swing.JPanel delVirtualColumnGroup

delegateProperties

javax.swing.JPanel delegateProperties

dfltCellFocus

javax.swing.JRadioButton dfltCellFocus

dfltLabel

javax.swing.JLabel dfltLabel

dfltRowFocus

javax.swing.JRadioButton dfltRowFocus

dfltTableFocus

javax.swing.JRadioButton dfltTableFocus

emptyLabel

javax.swing.JLabel emptyLabel

entityListEvents

javax.swing.JTextArea entityListEvents

entityListLabel

javax.swing.JLabel entityListLabel

entityListPane

javax.swing.JScrollPane entityListPane

entityListPanel

javax.swing.JPanel entityListPanel

entityTableEvents

javax.swing.JTextArea entityTableEvents

entityTableLabel

javax.swing.JLabel entityTableLabel

entityTablePane

javax.swing.JScrollPane entityTablePane

entityTablePanel

javax.swing.JPanel entityTablePanel

eventPanel

javax.swing.JPanel eventPanel

mainTable

EntityTable mainTable

modeField

javax.swing.JComboBox modeField

modeLabel

javax.swing.JLabel modeLabel

modePanel

javax.swing.JPanel modePanel

modelProperties

javax.swing.JPanel modelProperties

propertiesPanel

javax.swing.JPanel propertiesPanel

refreshButton

javax.swing.JButton refreshButton

rowFocusLabel

javax.swing.JLabel rowFocusLabel

tableFocusLabel

javax.swing.JLabel tableFocusLabel

tablePanel

TestControlPanel tablePanel

testFocusB

javax.swing.JButton testFocusB

testTableEntityList

ProxyEntityList testTableEntityList

testTablePrototype

com.pcauto.gui.table.TestEntity testTablePrototype

columnTableVector

java.util.Vector columnTableVector

columnModel

EntityTableColumnModel columnModel

fmt

com.pcauto.util.CurrencyFormat fmt

hash

java.util.Hashtable hash

Class com.pcauto.gui.table.TestColumnTableColumnModel extends AbstractEntityTableColumnModel implements Serializable

Class com.pcauto.gui.table.TestControlPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

addRow

javax.swing.JButton addRow

deleteRowButton

javax.swing.JButton deleteRowButton

editButton

javax.swing.JButton editButton

insertRowButton

javax.swing.JButton insertRowButton

moveDownButton

javax.swing.JButton moveDownButton

moveUpButton

javax.swing.JButton moveUpButton

table

EntityTable table

list

EntityList list

moveUp

boolean moveUp

moveDown

boolean moveDown

add

boolean add

insert

boolean insert

delete

boolean delete

edit

boolean edit