|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for the data model that stores the layout of a set of columns. This interface is shared by the ColumnHeaders and the TreeTable to provide a common column layout for both.
Method Summary | |
void |
addColumn(Column aColumn)
Add a column to the model. |
void |
addColumnAt(Column aColumn,
int aIndex)
Add a column to the model at a specified index. |
void |
addColumnModelListener(ColumnModelListener aListener)
Adds a ColumnModelListener. |
Column |
getColumn(int aIndex)
|
Column |
getColumn(java.lang.Object aID)
|
int |
getColumnCount()
|
int |
getColumnIndex(Column aColumn)
|
int |
getColumnIndexAtX(int aX)
|
int |
getColumnMargin()
|
java.util.Enumeration |
getColumns()
|
java.lang.String |
getPrefString()
|
Column |
getSelectedColumn()
|
int |
getTotalColumnWidth()
|
void |
moveColumn(int aSource,
int aDest)
Moves a column at the source index to the destination index. |
void |
removeColumn(Column aColumn)
Removes a column from the model. |
void |
removeColumnModelListener(ColumnModelListener aListener)
Removes a ColumnModelListener. |
void |
setColumnMargin(int aMargin)
Sets the margin (gap) between columns. |
void |
setPrefString(java.lang.String aString)
Restores a column layout that was obtained from getPrefString(). |
void |
setSelectedColumn(Column aColumn)
Sets the currently selected column. |
Method Detail |
public void addColumn(Column aColumn)
public void addColumnAt(Column aColumn, int aIndex)
public void removeColumn(Column aColumn)
public void moveColumn(int aSource, int aDest)
public int getColumnCount()
public Column getColumn(int aIndex)
public Column getColumn(java.lang.Object aID)
public java.util.Enumeration getColumns()
public int getColumnIndex(Column aColumn)
public int getColumnIndexAtX(int aX)
public int getColumnMargin()
public void setColumnMargin(int aMargin)
public int getTotalColumnWidth()
public void addColumnModelListener(ColumnModelListener aListener)
public void removeColumnModelListener(ColumnModelListener aListener)
public Column getSelectedColumn()
public void setSelectedColumn(Column aColumn)
public java.lang.String getPrefString()
public void setPrefString(java.lang.String aString)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |