de.matthiasmann.twl.model
Class AbstractTableColumnHeaderModel

java.lang.Object
  extended by de.matthiasmann.twl.model.AbstractTableColumnHeaderModel
All Implemented Interfaces:
TableColumnHeaderModel
Direct Known Subclasses:
AbstractTableModel, AbstractTreeTableModel

public abstract class AbstractTableColumnHeaderModel
extends java.lang.Object
implements TableColumnHeaderModel


Nested Class Summary
 
Nested classes/interfaces inherited from interface de.matthiasmann.twl.model.TableColumnHeaderModel
TableColumnHeaderModel.ColumnHeaderChangeListener
 
Constructor Summary
AbstractTableColumnHeaderModel()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.matthiasmann.twl.model.TableColumnHeaderModel
getColumnHeaderText, getNumColumns
 

Constructor Detail

AbstractTableColumnHeaderModel

public AbstractTableColumnHeaderModel()
Method Detail

getColumnHeaderStates

public AnimationState.StateKey[] getColumnHeaderStates()
Description copied from interface: TableColumnHeaderModel
A array of state keys for column headers. This array should not change.

Specified by:
getColumnHeaderStates in interface TableColumnHeaderModel
Returns:
A StateKey array specifying column header states.
See Also:
AnimationState

getColumnHeaderState

public boolean getColumnHeaderState(int column,
                                    int stateIdx)
Description copied from interface: TableColumnHeaderModel
Returns the value of the specified column header and state.

Specified by:
getColumnHeaderState in interface TableColumnHeaderModel
Parameters:
column - the column index
stateIdx - the state index into the getColumnHeaderStates() array.
Returns:
the value of the state
See Also:
TableColumnHeaderModel.getColumnHeaderStates()