|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.toolbar.perspective.CToolbarPerspective
public class CToolbarPerspective
A wrapper around a ToolbarDockPerspective
, represents a single toolbar.
Constructor Summary | |
---|---|
CToolbarPerspective(ToolbarDockPerspective delegate)
Creates a new perspective wrapping around delegate . |
Method Summary | |
---|---|
void |
add(bibliothek.gui.dock.common.perspective.CDockablePerspective item)
Adds item at the end of this toolbar. |
void |
add(int index,
bibliothek.gui.dock.common.perspective.CDockablePerspective item)
Inserts item at location index in this toolbar. |
void |
add(int index,
String id)
Creates and adds a new SingleCDockablePerspective at location index
in this toolbar. |
void |
add(String id)
Creates and adds a new SingleCDockablePerspective at the end of this toolbar. |
ToolbarDockPerspective |
getDelegate()
Allows access to the internal representation of this perspective. |
bibliothek.gui.dock.common.perspective.CDockablePerspective |
getItem(int index)
Gets the item at location index . |
int |
getItemCount()
Gets the number of children of this toolbar. |
void |
remove(bibliothek.gui.dock.common.perspective.CDockablePerspective item)
Removes item from this toolbar |
void |
remove(int index)
Removes the index 'th child of this toolbar. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CToolbarPerspective(ToolbarDockPerspective delegate)
delegate
.
delegate
- the internal representation, not null
Method Detail |
---|
public ToolbarDockPerspective getDelegate()
null
public int getItemCount()
public bibliothek.gui.dock.common.perspective.CDockablePerspective getItem(int index)
index
.
index
- the location of the item
null
if the item has the wrong type, the item
usually is of type SingleCDockablePerspective
public void add(String id)
SingleCDockablePerspective
at the end of this toolbar.
id
- the unique identifier of the itempublic void add(int index, String id)
SingleCDockablePerspective
at location index
in this toolbar.
index
- the location of the new itemid
- the unique identifier of the itempublic void add(bibliothek.gui.dock.common.perspective.CDockablePerspective item)
item
at the end of this toolbar.
item
- the item to add, not null
public void add(int index, bibliothek.gui.dock.common.perspective.CDockablePerspective item)
item
at location index
in this toolbar.
index
- the location of the new itemitem
- the new itempublic void remove(int index)
index
'th child of this toolbar.
index
- the location of the item to removepublic void remove(bibliothek.gui.dock.common.perspective.CDockablePerspective item)
item
from this toolbar
item
- the item to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |