public class SorterTableColumnModel extends Object implements TableColumnModel
Constructor and Description |
---|
SorterTableColumnModel(Collection<Sortables> columnHeaders) |
SorterTableColumnModel(Sortables[] columnHeaders) |
Modifier and Type | Method and Description |
---|---|
void |
addColumn(TableColumn arg0) |
void |
addColumnModelListener(TableColumnModelListener listener) |
void |
check() |
void |
columnSelectionChanged(ListSelectionEvent arg0) |
void |
createFrom(SorterTableColumnModel other) |
void |
freezeOrder() |
TableColumn |
getColumn(int x) |
int |
getColumnCount() |
int |
getColumnIndex(Object columnIdentifier) |
int |
getColumnIndexAtX(int XPosition) |
int |
getColumnMargin() |
Enumeration<TableColumn> |
getColumns() |
boolean |
getColumnSelectionAllowed() |
int |
getSelectedColumnCount() |
int[] |
getSelectedColumns() |
ListSelectionModel |
getSelectionModel() |
int |
getTotalColumnWidth() |
boolean |
isShown(Sortables s) |
void |
moveColumn(int fromIndex,
int toIndex) |
void |
removeColumn(TableColumn arg0) |
void |
removeColumnModelListener(TableColumnModelListener listener) |
void |
setColumnMargin(int arg0) |
void |
setColumnSelectionAllowed(boolean arg0) |
void |
setSelectionModel(ListSelectionModel arg0) |
void |
setVisible(Sortables s,
boolean on) |
void |
thawOrder() |
String |
toString() |
public SorterTableColumnModel(Sortables[] columnHeaders)
public SorterTableColumnModel(Collection<Sortables> columnHeaders)
public boolean isShown(Sortables s)
public void check()
public void createFrom(SorterTableColumnModel other)
public void addColumn(TableColumn arg0)
addColumn
in interface TableColumnModel
public void removeColumn(TableColumn arg0)
removeColumn
in interface TableColumnModel
public void setVisible(Sortables s, boolean on)
public void moveColumn(int fromIndex, int toIndex)
moveColumn
in interface TableColumnModel
public void setColumnMargin(int arg0)
setColumnMargin
in interface TableColumnModel
public int getColumnCount()
getColumnCount
in interface TableColumnModel
public Enumeration<TableColumn> getColumns()
getColumns
in interface TableColumnModel
public int getColumnIndex(Object columnIdentifier)
getColumnIndex
in interface TableColumnModel
public TableColumn getColumn(int x)
getColumn
in interface TableColumnModel
public int getColumnMargin()
getColumnMargin
in interface TableColumnModel
public int getColumnIndexAtX(int XPosition)
getColumnIndexAtX
in interface TableColumnModel
public int getTotalColumnWidth()
getTotalColumnWidth
in interface TableColumnModel
public void setColumnSelectionAllowed(boolean arg0)
setColumnSelectionAllowed
in interface TableColumnModel
public boolean getColumnSelectionAllowed()
getColumnSelectionAllowed
in interface TableColumnModel
public int[] getSelectedColumns()
getSelectedColumns
in interface TableColumnModel
public int getSelectedColumnCount()
getSelectedColumnCount
in interface TableColumnModel
public void setSelectionModel(ListSelectionModel arg0)
setSelectionModel
in interface TableColumnModel
public ListSelectionModel getSelectionModel()
getSelectionModel
in interface TableColumnModel
public void addColumnModelListener(TableColumnModelListener listener)
addColumnModelListener
in interface TableColumnModel
public void removeColumnModelListener(TableColumnModelListener listener)
removeColumnModelListener
in interface TableColumnModel
public void columnSelectionChanged(ListSelectionEvent arg0)
public void freezeOrder()
public void thawOrder()
Copyright © 2003–2015. All rights reserved.