|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface GroupTableColumnModel
GroupTableColumnModel defines the requirements for a table column model
object suitable for use with a GroupTableHeader.
| Method Summary | |
|---|---|
void |
addGroupColumnModelListener(GroupTableColumnModelListener l)
Adds a GroupTableColumnModelListener that is notified each time a group column is added or removed from the model. |
TableColumn |
getChildColumn(GroupTableColumn parent,
int index)
Returns the child column of a group column at the specified location. |
int |
getChildColumnCount(GroupTableColumn parent)
Returns the number of children columns in a group column. |
GroupTableColumn |
getGroupColumn(TableColumn column)
Returns the parent group column of the specified column. |
int |
getIndexOfChildColumn(GroupTableColumn parent,
TableColumn child)
Returns the index of a child column in its parent group column. |
GroupTableColumn |
getRootGroupColumn()
Returns the root group column. |
void |
insertColumnInto(TableColumn child,
GroupTableColumn parent,
int index)
Inserts a column as child of a group column at the specified index. |
void |
removeColumnFromParent(TableColumn aColumn)
Removes a column from the model. |
void |
removeGroupColumnModelListener(GroupTableColumnModelListener l)
Removes a GroupTableColumnModelListener from the list that is notified each time a group column is added or removed from the model. |
| Method Detail |
|---|
void addGroupColumnModelListener(GroupTableColumnModelListener l)
l - the GroupTableColumnModelListener to add
TableColumn getChildColumn(GroupTableColumn parent,
int index)
parent - a group columnindex - the location of the child column
parent at indexint getChildColumnCount(GroupTableColumn parent)
parent - a group column
GroupTableColumn getGroupColumn(TableColumn column)
column - the column being part of a group column
int getIndexOfChildColumn(GroupTableColumn parent,
TableColumn child)
parent - a group column in the modelchild - the child column
GroupTableColumn getRootGroupColumn()
void insertColumnInto(TableColumn child,
GroupTableColumn parent,
int index)
child - the column to addparent - the group column to add the child column toindex - the location of the added child columnvoid removeColumnFromParent(TableColumn aColumn)
aColumn - the column to removevoid removeGroupColumnModelListener(GroupTableColumnModelListener l)
l - the GroupTableColumnModelListener to remove
|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||