de.matthiasmann.twl.model
Interface TableColumnHeaderModel

All Known Subinterfaces:
TableModel, TreeTableModel
All Known Implementing Classes:
AbstractTableColumnHeaderModel, AbstractTableModel, AbstractTreeTableModel, FileSystemTreeModel, SimpleTableModel

public interface TableColumnHeaderModel


Nested Class Summary
static interface TableColumnHeaderModel.ColumnHeaderChangeListener
           
 
Method Summary
 boolean getColumnHeaderState(int column, int stateIdx)
          Returns the value of the specified column header and state.
 AnimationState.StateKey[] getColumnHeaderStates()
          A array of state keys for column headers.
 java.lang.String getColumnHeaderText(int column)
          The text of the specified column header.
 int getNumColumns()
           
 

Method Detail

getNumColumns

int getNumColumns()

getColumnHeaderStates

AnimationState.StateKey[] getColumnHeaderStates()
A array of state keys for column headers. This array should not change.

Returns:
A StateKey array specifying column header states.
See Also:
AnimationState

getColumnHeaderText

java.lang.String getColumnHeaderText(int column)
The text of the specified column header.

Parameters:
column - the column index
Returns:
the column header test

getColumnHeaderState

boolean getColumnHeaderState(int column,
                             int stateIdx)
Returns the value of the specified column header and state.

Parameters:
column - the column index
stateIdx - the state index into the getColumnHeaderStates() array.
Returns:
the value of the state
See Also:
getColumnHeaderStates()