public interface MutableColumnModel extends ColumnModel
| Modifier and Type | Method and Description |
|---|---|
boolean |
hideColumn(int colIndex)
Hide column.
|
boolean |
moveColumn(int fromIndex,
int toIndex)
Move column.
|
void |
setSelectedIndex(int index)
Sets the selected index.
|
boolean |
setSelectedIndexDirectly(int index)
Sets the selected index directly.
|
void |
setSelectedIndexes(java.util.List<java.lang.Integer> selectedIndexes)
Sets the selected indexes.
|
boolean |
setSelectedIndexesDirectly(java.util.List<java.lang.Integer> selectedIndexes)
Sets the selected indexes directly.
|
void |
setSortAscending(boolean sortAsc)
Sets the sort ascending.
|
void |
setSortedColumnIndex(int colIndex,
boolean ascending)
Sets the sorted column index.
|
void |
setValueAt(int colIndex,
TypedObject item,
java.lang.Object value)
Sets the value at.
|
void |
setVisibleColumns(java.util.List<ColumnDescriptor> visCols,
boolean force)
Sets the visible columns.
|
boolean |
showColumn(ColumnDescriptor colDescr,
java.lang.Integer colIndex)
Show column.
|
void |
updateDynamicColumns(ListModel listModel)
Update dynamic columns.
|
addColumnModelListener, findColumn, getCellEditor, getCellRenderer, getColumn, getColumns, getColumnWidth, getColumnWidth, getHiddenColumns, getHiddenLocalizedColumns, getLocalizedColumn, getMenuPopupBuilder, getNewInlineItemRenderer, getPropertyDescriptor, getRootColumnGroup, getSelectedIndex, getSelectedIndexes, getSortedByColumnIndex, getValueAt, getVisibleColumn, getVisibleColumns, getVisibleLocalizedColumns, isColumnLocalized, isColumnSelected, isSortAscending, removeColumnModelListenerboolean showColumn(ColumnDescriptor colDescr, java.lang.Integer colIndex)
colDescr - the col descrcolIndex - the col indexboolean hideColumn(int colIndex)
colIndex - the col indexboolean moveColumn(int fromIndex,
int toIndex)
fromIndex - the from indextoIndex - the to indexvoid setSelectedIndex(int index)
index - the new selected indexboolean setSelectedIndexDirectly(int index)
index - the indexvoid setSelectedIndexes(java.util.List<java.lang.Integer> selectedIndexes)
selectedIndexes - the new selected indexesboolean setSelectedIndexesDirectly(java.util.List<java.lang.Integer> selectedIndexes)
selectedIndexes - the selected indexesvoid setSortAscending(boolean sortAsc)
sortAsc - the new sort ascendingvoid setSortedColumnIndex(int colIndex,
boolean ascending)
colIndex - the col indexascending - the ascendingvoid setValueAt(int colIndex,
TypedObject item,
java.lang.Object value)
throws ValueHandlerException
colIndex - the col indexitem - the itemvalue - the valueValueHandlerException - the value handler exceptionvoid setVisibleColumns(java.util.List<ColumnDescriptor> visCols, boolean force)
visCols - the vis colsforce - the forcevoid updateDynamicColumns(ListModel listModel)
listModel - the list modelCopyright © 2018 SAP SE. All Rights Reserved.