Package com.iizix.prop.vs
Interface IVSTableListener
- All Superinterfaces:
IVSComponentListener
,IVSComponentState
- All Known Implementing Classes:
AbstractContentUIContainer
,EditorResultSetProps
,EMapMarkers
,EMLGroup
,EUITable
,MapMarkers
,MLGroup
,ResultSetProps
,TablePanel
,UITable
,VSTableAdapter
public interface IVSTableListener extends IVSComponentListener
Interface used to listen to VS table 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, VSTable table)
Called when the property reference has been broken, i.e.void
onCellStateChanged(VSField cell, IVSComponentState.State state, boolean on)
Called when the cell changes state.void
onCellValueChanged(VSField cell, Value value, GProp<?> trigger, IPostEventProcessing postProcessing)
Called when the cell value is set.void
onResolved(VSRelativeReference<?> reference, VSTable table)
Called when the property reference has been resolved.void
onRowAdded(VSRow row, int index)
Called when a row is added.void
onRowRemoved(VSRow row, int index)
Called when a row is removed.void
onRowStateChanged(VSRow row, IVSComponentState.State state, boolean on)
Called when a row selection state changed.void
onSingleSelectionChanged(VSTable table, int index)
Called when the single selection changes.void
onStateChanged(VSTable table, IVSComponentState.State state, boolean on)
Called when the table changes state.Methods inherited from interface com.iizix.prop.vs.IVSComponentListener
onParentStateChanged
Method Detail
onResolved
void onResolved(VSRelativeReference<?> reference, VSTable table)
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.table
- The target reference.
onBroken
void onBroken(VSRelativeReference<?> reference, VSTable table)
Called when the property reference has been broken, i.e. unresolved.- Parameters:
reference
- The VSRelativeReference instance holding the reference.table
- The target reference.
onStateChanged
void onStateChanged(VSTable table, IVSComponentState.State state, boolean on)
Called when the table changes state.- Parameters:
table
- The VS table.state
- The state change.on
- New state.
onRowAdded
void onRowAdded(VSRow row, int index)
Called when a row is added.- Parameters:
row
- The row.index
- The index.
onRowRemoved
void onRowRemoved(VSRow row, int index)
Called when a row is removed.- Parameters:
row
- The row.index
- The index.
onRowStateChanged
void onRowStateChanged(VSRow row, IVSComponentState.State state, boolean on)
Called when a row selection state changed.- Parameters:
row
- The row.state
- The state change.on
- New state.
onSingleSelectionChanged
void onSingleSelectionChanged(VSTable table, int index)
Called when the single selection changes.- Parameters:
table
- The table.index
- The row index, -1 if table is unselected.
onCellStateChanged
void onCellStateChanged(VSField cell, IVSComponentState.State state, boolean on)
Called when the cell changes state.- Parameters:
cell
- The VS cell.state
- The state change.on
- New state.
onCellValueChanged
void onCellValueChanged(VSField cell, Value value, GProp<?> trigger, IPostEventProcessing postProcessing)
Called when the cell value is set.- Parameters:
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.