public class CToolbarGroupPerspective.Column extends Object
Modifier and Type | Method and Description |
---|---|
int |
getToolbarCount()
Gets the number of
toolbars in this column. |
CToolbarPerspective |
insert(int index)
Creates a new toolbar at
index . |
void |
remove(CToolbarPerspective toolbar)
Removes
toolbar from this column. |
void |
remove(int index)
Removes the toolbar at location
index from this column. |
CToolbarPerspective |
toolbar(int index)
Gets or creates the toolbar at
index . |
public int getToolbarCount()
toolbars
in this column.public CToolbarPerspective toolbar(int index)
index
.index
- the location of the toolbar, -1
or getToolbarCount()
null
. A value of null
is only returned
if the child has a wrong type, this happens only if the client changed the ToolbarStrategy
public CToolbarPerspective insert(int index)
index
.index
- the location of the new toolbarpublic void remove(int index)
index
from this column.index
- the index of the toolbar to removepublic void remove(CToolbarPerspective toolbar)
toolbar
from this column.toolbar
- the toolbar to remove