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
public interface IVSColumnListener extends IVSComponentListener, IVSColumnBestValueListener
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 Detail
onResolved
void onResolved(VSRelativeReference<?> reference, VSColumnHeader column)
Called 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.
onBroken
void onBroken(VSRelativeReference<?> reference, VSColumnHeader column)
Called when the property reference has been broken, i.e. unresolved.- Parameters:
reference
- The VSRelativeReference instance holding the reference.column
- The target reference.
onStateChanged
void onStateChanged(VSColumnHeader column, IVSComponentState.State state, boolean on)
Called 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.
onSelectionChanged
void onSelectionChanged(VSColumnHeader column, VSRow row, int rowIndex, boolean isSelected)
Called 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.
onSingleSelectionChanged
void onSingleSelectionChanged(VSColumnHeader column, int rowIndex)
Called 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.
onRowAdded
void onRowAdded(VSColumnHeader column, VSRow row, int rowIndex)
Called 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.
onRowRemoved
void onRowRemoved(VSColumnHeader column, VSRow row, int rowIndex)
Called 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.
onStateChanged
void onStateChanged(VSColumnHeader column, VSField cell, IVSComponentState.State state, boolean on)
Called when a cell in the column changes state.- Parameters:
column
- The VS column.cell
- The VS field.state
- The state change.on
- New state.
onCellValueChanged
void 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, butvalue.isNull()
could be true.trigger
- The trigger property that may be null.postProcessing
- Post-processing instance.