|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.table.DefaultTableColumnModel | +--dyntable.ProxyColumnModel | +--dyntable.RowHeaderColumnModel
$Id: RowHeaderColumnModel.java,v 1.0 2005/09/25 jDynTable@gmx.de $
The RowHeaderColumnModel is used by the Jdyntable to store all the
columns that correspond to the row header of the table. The row header
of the table contains all those columns that are both visible and locked. A locked
column is displayed even when the user pans across the other columns.
The EntityTableColumnModel that is provided to some of the
methods in this class, is used to retrieve the visible and
locked columns that will be stored in this RowHeaderColumnModel.
A virtual column is an extra column that appears to the left of all
columns. It can be used to select rows, if row selection is enabled, and
to display useful information about the row, such as the row number
or the row index.
Constructor Summary | |
---|---|
RowHeaderColumnModel()
Constructs a new RowHeaderColumnModel. |
|
RowHeaderColumnModel(EntityTableColumnModel m)
Constructs a new RowHeaderColumnModel with the given EntityTableColumnModel. |
Method Summary | |
---|---|
boolean |
isVirtualColumnEnabled()
Returns true if the virtual column is enabled, false otherwise. |
void |
setModel(EntityTableColumnModel m)
Sets the EntityTableColumnModel that is used to define the columns of the table and their properties. |
void |
setVirtualColumnEnabled(boolean v)
Enables or disables the virtual column. |
Methods inherited from class dyntable.ProxyColumnModel |
---|
columnAdded, columnMarginChanged, columnMoved, columnRemoved, columnSelectionChanged, getModel, revalidate |
Methods inherited from class javax.swing.table.DefaultTableColumnModel |
---|
addColumn, addColumnModelListener, getColumn, getColumnCount, getColumnIndex, getColumnIndexAtX, getColumnMargin, getColumnModelListeners, getColumns, getColumnSelectionAllowed, getListeners, getSelectedColumnCount, getSelectedColumns, getSelectionModel, getTotalColumnWidth, moveColumn, propertyChange, removeColumn, removeColumnModelListener, setColumnMargin, setColumnSelectionAllowed, setSelectionModel, valueChanged |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.swing.table.TableColumnModel |
---|
addColumn, addColumnModelListener, getColumn, getColumnCount, getColumnIndex, getColumnIndexAtX, getColumnMargin, getColumns, getColumnSelectionAllowed, getSelectedColumnCount, getSelectedColumns, getSelectionModel, getTotalColumnWidth, moveColumn, removeColumn, removeColumnModelListener, setColumnMargin, setColumnSelectionAllowed, setSelectionModel |
Methods inherited from interface javax.swing.event.TableColumnModelListener |
---|
columnAdded, columnMarginChanged, columnMoved, columnRemoved, columnSelectionChanged |
Constructor Detail |
public RowHeaderColumnModel()
public RowHeaderColumnModel(EntityTableColumnModel m)
m
- the EntityTableColumnModel which holds the columns for
the tableMethod Detail |
public void setModel(EntityTableColumnModel m)
setModel
in class ProxyColumnModel
m
- the EntityTableColumnModel representing all the columns
in the tablepublic boolean isVirtualColumnEnabled()
public void setVirtualColumnEnabled(boolean v)
v
- enabled if true, disabled otherwise
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |