Interface ColumnModelListener
-
- All Known Implementing Classes:
AdvancedSearchPage.DefaultSelectorColumnModelListener,DefaultColumnModelListener,DefaultSelectorColumnModelListener
public interface ColumnModelListenerAColumnModelListenerhandles events fired by theColumnModelwhere it is registered.- See Also:
ColumnModel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidchanged()Generally called when the model has changed in a way not covered by the otherColumnModelListenermethods.voidcolumnMoved(int fromIndex, int toIndex)Called when a column has been moved.voidcolumnVisibilityChanged()Called whenever a column's visibility has changed.voidcolumnVisibilityChanged(java.lang.Integer colIndex)Called whenever a column's visibility has changed (and column is not shown as last column).voidselectionChanged(java.util.List<? extends java.lang.Object> columnIndexes)Called whenever the column selection has changed.voidsortChanged(int columnIndex, boolean ascending)Called when the sort conditions have changed.
-
-
-
Method Detail
-
columnMoved
void columnMoved(int fromIndex, int toIndex)Called when a column has been moved.- Parameters:
fromIndex- previous zero based position index of the columntoIndex- new zero based position index of the column
-
columnVisibilityChanged
void columnVisibilityChanged()
Called whenever a column's visibility has changed.
-
columnVisibilityChanged
void columnVisibilityChanged(java.lang.Integer colIndex)
Called whenever a column's visibility has changed (and column is not shown as last column).
-
selectionChanged
void selectionChanged(java.util.List<? extends java.lang.Object> columnIndexes)
Called whenever the column selection has changed.- Parameters:
columnIndexes- indexes of the currently selected columns
-
sortChanged
void sortChanged(int columnIndex, boolean ascending)Called when the sort conditions have changed.- Parameters:
columnIndex- zero based position index of the column by which the values are currently sortedascending- whether the sort order is set to ascending or not
-
changed
void changed()
Generally called when the model has changed in a way not covered by the otherColumnModelListenermethods.
-
-