Package com.iizix.prop.vs
Interface IVSColumnListener
- All Superinterfaces:
- IVSColumnBestValueListener,- IVSComponentListener,- IVSComponentState
- All Known Implementing Classes:
- EditorResultSetColumnProp,- EditorScreenFieldProp,- ESeries,- EUIComboBox,- EUISpinner,- EUITableColumn,- ResultSetColumnProp,- ScreenFieldProp,- Series,- TablePanel,- UIAbstractListChoice,- UIComboBox,- UISpinner,- UITableColumn,- VSColumnAdapter
Interface used to listen to VS table column events.
- Author:
- Christopher Mindus
- Nested Class Summary- Nested classes/interfaces inherited from interface com.iizix.prop.vs.IVSComponentState- IVSComponentState.State
- Method SummaryModifier and TypeMethodDescription- void- onBroken- (VSRelativeReference<?> reference, VSColumnHeader column) Called when the property reference has been broken, i.e.- void- onCellValueChanged- (VSColumnHeader column, VSField cell, Value value, GProp<?> trigger, IPostEventProcessing postProcessing) Called when the cell value is set in the column.- void- onResolved- (VSRelativeReference<?> reference, VSColumnHeader column) Called when the property reference has been resolved.- void- onRowAdded- (VSColumnHeader column, VSRow row, int rowIndex) Called when a row has been added to the table.- void- onRowRemoved- (VSColumnHeader column, VSRow row, int rowIndex) Called when a row has been removed from the table.- void- onSelectionChanged- (VSColumnHeader column, VSRow row, int rowIndex, boolean isSelected) Called when the row selection is changed to forward to column listeners.- void- onSingleSelectionChanged- (VSColumnHeader column, int rowIndex) Called when the row selection in table single-selection mode is changed to forward to column listeners.- void- onStateChanged- (VSColumnHeader column, IVSComponentState.State state, boolean on) Called when the column changes state.- void- onStateChanged- (VSColumnHeader column, VSField cell, IVSComponentState.State state, boolean on) Called when a cell in the column changes state.- Methods inherited from interface com.iizix.prop.vs.IVSColumnBestValueListener- getBestVSColumnHeaderValueType- Methods inherited from interface com.iizix.prop.vs.IVSComponentListener- onParentStateChanged
- Method Details- onResolvedCalled when the property reference has been resolved. UI components use this method to set its state according to the field.- Parameters:
- reference- The VSRelativeReference instance holding the reference.
- column- The target reference.
 
- onBrokenCalled when the property reference has been broken, i.e. unresolved.- Parameters:
- reference- The VSRelativeReference instance holding the reference.
- column- The target reference.
 
- onStateChangedCalled when the column changes state.- Parameters:
- column- The VS table column.
- state- The state change, possible values ENABLED, READONLY, VISIBLE or SELECTED.
- on- New state.
 
- onSelectionChangedCalled when the row selection is changed to forward to column listeners.- Parameters:
- column- The column.
- row- The row that was changed.
- rowIndex- The row index.
- isSelected- The selected state.
 
- onSingleSelectionChangedCalled when the row selection in table single-selection mode is changed to forward to column listeners.- Parameters:
- column- The column.
- rowIndex- The row index selected, -1 for none.
 
- onRowAddedCalled when a row has been added to the table.- Parameters:
- column- The column.
- row- The row that was added.
- rowIndex- The row index where it was inserted.
 
- onRowRemovedCalled when a row has been removed from the table.- Parameters:
- column- The column.
- row- The row that was removed.
- rowIndex- The row index before removal.
 
- onStateChangedCalled when a cell in the column changes state.- Parameters:
- column- The VS column.
- cell- The VS field.
- state- The state change.
- on- New state.
 
- onCellValueChangedvoid onCellValueChanged- (VSColumnHeader column, VSField cell, Value value, GProp<?> trigger, IPostEventProcessing postProcessing) Called when the cell value is set in the column.- Parameters:
- column- The VS column.
- cell- The VS field.
- value- The value, never null, but- value.isNull()could be true.
- trigger- The trigger property that may be null.
- postProcessing- Post-processing instance.