|
Jadex 0.96-beta1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IVisibilityTableColumnModel
User: Ruediger Leppin Date: 26.11.2003 Time: 01:52:25
Method Summary | |
---|---|
TableColumn |
getAllColumn(int columnIndex)
Returns the TableColumn object for the column at
columnIndex . |
int |
getAllColumnCount()
Returns the number of columns in the model. |
int |
getAllColumnIndex(Object identifier)
Returns the index of the first column in the table whose identifier is equal to identifier ,
when compared using equals . |
Enumeration |
getAllColumns()
Returns an Enumeration of all the columns in the model. |
boolean |
isColumnChangeable(TableColumn column)
Checks whether the specified column can change visibility. |
boolean |
isColumnVisible(TableColumn aColumn)
Checks whether the specified column is currently visible. |
void |
setAllColumnsVisible()
Makes all columns in this model visible |
void |
setColumnChangeable(TableColumn column,
boolean changeable)
Sets whether this column can change visibility. |
void |
setColumnVisible(TableColumn column,
boolean visible)
Sets the visibility of the specified TableColumn. |
Method Detail |
---|
void setColumnVisible(TableColumn column, boolean visible)
columnAdded
or columnRemoved
event to its listeners.
column
- the TableColumn
visible
- its new visibility statusvoid setAllColumnsVisible()
isColumnVisible(javax.swing.table.TableColumn)
,
setColumnVisible(javax.swing.table.TableColumn, boolean)
boolean isColumnVisible(TableColumn aColumn)
aColumn
- column to check
setAllColumnsVisible()
,
setColumnVisible(javax.swing.table.TableColumn, boolean)
Enumeration getAllColumns()
Enumeration
of all the columns in the model.
Enumeration
of all the columns in the modelint getAllColumnCount()
int getAllColumnIndex(Object identifier)
identifier
,
when compared using equals
.
identifier
- the identifier object
identifier
IllegalArgumentException
- if identifier
is null
, or no
TableColumn
has this
identifier
getAllColumn(int)
TableColumn getAllColumn(int columnIndex)
TableColumn
object for the column at
columnIndex
.
columnIndex
- the index of the desired column
TableColumn
object for
the column at columnIndex
void setColumnChangeable(TableColumn column, boolean changeable)
column
- the TableColumn
changeable
- if true, changing visibility is allowed;
otherwise falseboolean isColumnChangeable(TableColumn column)
column
- column to check
|
Jadex 0.96-beta1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.