|
WUI : API |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.westofj.wui.table.WTableColumnModel
Specifies a column definition.
Constructor Summary | |
WTableColumnModel()
Constructs an empty column model. |
Method Summary | |
void |
addColumn(WTableColumn column)
Adds a column specification to the column model. |
void |
clear()
Removes all column specifications from the column model. |
WTableColumn |
getColumn(int i)
Returns the column specification at the specified index. |
int |
getColumnCount()
Returns the number of column specifications in the column model. |
List |
getColumns()
Returns an unmodifiable list of the column specifications in the column model. |
void |
removeColumn(int i)
Removes the column specification at the specified index. |
void |
removeColumn(WTableColumn column)
Removes the specified column specification from the column model. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WTableColumnModel()
Method Detail |
public void addColumn(WTableColumn column)
column
- the column to add to the model.public void clear()
public WTableColumn getColumn(int i)
i
- the index of the column specification.
public int getColumnCount()
public List getColumns()
public void removeColumn(int i)
i
- the index of the column specification to remove.public void removeColumn(WTableColumn column)
column
- the column specification to remove from the column model.
|
Copyright (c) 2003 West of J - All rights reserved. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |