public class SorterTableColumnModel
extends java.lang.Object
implements javax.swing.table.TableColumnModel
Constructor and Description |
---|
SorterTableColumnModel(java.util.Collection<Sortables> columnHeaders) |
SorterTableColumnModel(Sortables[] columnHeaders) |
Modifier and Type | Method and Description |
---|---|
void |
addColumn(javax.swing.table.TableColumn arg0) |
void |
addColumnModelListener(javax.swing.event.TableColumnModelListener listener) |
void |
check() |
void |
columnSelectionChanged(javax.swing.event.ListSelectionEvent arg0) |
void |
createFrom(SorterTableColumnModel other) |
void |
freezeOrder() |
javax.swing.table.TableColumn |
getColumn(int x) |
int |
getColumnCount() |
int |
getColumnIndex(java.lang.Object columnIdentifier) |
int |
getColumnIndexAtX(int XPosition) |
int |
getColumnMargin() |
java.util.Enumeration<javax.swing.table.TableColumn> |
getColumns() |
boolean |
getColumnSelectionAllowed() |
int |
getSelectedColumnCount() |
int[] |
getSelectedColumns() |
javax.swing.ListSelectionModel |
getSelectionModel() |
int |
getTotalColumnWidth() |
boolean |
isShown(Sortables s) |
void |
moveColumn(int fromIndex,
int toIndex) |
void |
removeColumn(javax.swing.table.TableColumn arg0) |
void |
removeColumnModelListener(javax.swing.event.TableColumnModelListener listener) |
void |
setColumnMargin(int arg0) |
void |
setColumnSelectionAllowed(boolean arg0) |
void |
setSelectionModel(javax.swing.ListSelectionModel arg0) |
void |
setVisible(Sortables s,
boolean on) |
void |
thawOrder() |
java.lang.String |
toString() |
public SorterTableColumnModel(Sortables[] columnHeaders)
public SorterTableColumnModel(java.util.Collection<Sortables> columnHeaders)
public boolean isShown(Sortables s)
public java.lang.String toString()
toString
in class java.lang.Object
public void check()
public void createFrom(SorterTableColumnModel other)
public void addColumn(javax.swing.table.TableColumn arg0)
addColumn
in interface javax.swing.table.TableColumnModel
public void removeColumn(javax.swing.table.TableColumn arg0)
removeColumn
in interface javax.swing.table.TableColumnModel
public void setVisible(Sortables s, boolean on)
public void moveColumn(int fromIndex, int toIndex)
moveColumn
in interface javax.swing.table.TableColumnModel
public void setColumnMargin(int arg0)
setColumnMargin
in interface javax.swing.table.TableColumnModel
public int getColumnCount()
getColumnCount
in interface javax.swing.table.TableColumnModel
public java.util.Enumeration<javax.swing.table.TableColumn> getColumns()
getColumns
in interface javax.swing.table.TableColumnModel
public int getColumnIndex(java.lang.Object columnIdentifier)
getColumnIndex
in interface javax.swing.table.TableColumnModel
public javax.swing.table.TableColumn getColumn(int x)
getColumn
in interface javax.swing.table.TableColumnModel
public int getColumnMargin()
getColumnMargin
in interface javax.swing.table.TableColumnModel
public int getColumnIndexAtX(int XPosition)
getColumnIndexAtX
in interface javax.swing.table.TableColumnModel
public int getTotalColumnWidth()
getTotalColumnWidth
in interface javax.swing.table.TableColumnModel
public void setColumnSelectionAllowed(boolean arg0)
setColumnSelectionAllowed
in interface javax.swing.table.TableColumnModel
public boolean getColumnSelectionAllowed()
getColumnSelectionAllowed
in interface javax.swing.table.TableColumnModel
public int[] getSelectedColumns()
getSelectedColumns
in interface javax.swing.table.TableColumnModel
public int getSelectedColumnCount()
getSelectedColumnCount
in interface javax.swing.table.TableColumnModel
public void setSelectionModel(javax.swing.ListSelectionModel arg0)
setSelectionModel
in interface javax.swing.table.TableColumnModel
public javax.swing.ListSelectionModel getSelectionModel()
getSelectionModel
in interface javax.swing.table.TableColumnModel
public void addColumnModelListener(javax.swing.event.TableColumnModelListener listener)
addColumnModelListener
in interface javax.swing.table.TableColumnModel
public void removeColumnModelListener(javax.swing.event.TableColumnModelListener listener)
removeColumnModelListener
in interface javax.swing.table.TableColumnModel
public void columnSelectionChanged(javax.swing.event.ListSelectionEvent arg0)
public void freezeOrder()
public void thawOrder()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.