public class DefaultColumnModelListener extends Object implements ColumnModelListener
| Constructor and Description |
|---|
DefaultColumnModelListener(MutableTableModel model,
UIListView view) |
| Modifier and Type | Method and Description |
|---|---|
void |
changed()
Generally called when the model has changed in a way not covered by the other
ColumnModelListener methods. |
void |
columnMoved(int fromIndex,
int toIndex)
Called when a column has been moved.
|
void |
columnVisibilityChanged()
Called whenever a column's visibility has changed.
|
void |
columnVisibilityChanged(Integer colIndex)
Called whenever a column's visibility has changed (and column is not shown as last column).
|
void |
selectionChanged(List<? extends Object> columnIndexes)
Called whenever the column selection has changed.
|
void |
sortChanged(int columnIndex,
boolean ascending)
Called when the sort conditions have changed.
|
public DefaultColumnModelListener(MutableTableModel model, UIListView view)
public void changed()
ColumnModelListenerColumnModelListener methods.changed in interface ColumnModelListenerpublic void columnMoved(int fromIndex,
int toIndex)
ColumnModelListenercolumnMoved in interface ColumnModelListenerfromIndex - previous zero based position index of the columntoIndex - new zero based position index of the columnpublic void columnVisibilityChanged()
ColumnModelListenercolumnVisibilityChanged in interface ColumnModelListenerpublic void columnVisibilityChanged(Integer colIndex)
ColumnModelListenercolumnVisibilityChanged in interface ColumnModelListenerpublic void selectionChanged(List<? extends Object> columnIndexes)
ColumnModelListenerselectionChanged in interface ColumnModelListenercolumnIndexes - indexes of the currently selected columnspublic void sortChanged(int columnIndex,
boolean ascending)
ColumnModelListenersortChanged in interface ColumnModelListenercolumnIndex - zero based position index of the column by which the values are currently sortedascending - whether the sort order is set to ascending or notCopyright © 2017 SAP SE. All Rights Reserved.