|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.common.intern.AbstractCDockable
bibliothek.gui.dock.common.intern.DefaultCDockable
bibliothek.gui.dock.common.DefaultMultipleCDockable
@ClientOnly public class DefaultMultipleCDockable
A MultipleCDockable that contains a content-pane
where the client might add or remove as many Components as
it wishes.
MultipleCDockable| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class bibliothek.gui.dock.common.intern.DefaultCDockable |
|---|
DefaultCDockable.Permissions |
| Field Summary |
|---|
| Fields inherited from class bibliothek.gui.dock.common.intern.AbstractCDockable |
|---|
listenerCollection |
| Fields inherited from interface bibliothek.gui.dock.common.intern.CDockable |
|---|
ACTION_KEY_CLOSE, ACTION_KEY_EXTERNALIZE, ACTION_KEY_MAXIMIZE, ACTION_KEY_MINIMIZE, ACTION_KEY_NORMALIZE, ACTION_KEY_UNEXTERNALIZE, ACTION_KEY_UNMAXIMIZE_EXTERNALIZED |
| Constructor Summary | |
|---|---|
DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory,
CAction... actions)
Creates a new dockable |
|
DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory,
Component content,
CAction... actions)
Creates a new dockable. |
|
DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory,
Icon icon,
CAction... actions)
Creates a new dockable. |
|
DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory,
Icon icon,
Component content,
CAction... actions)
Creates a new dockable. |
|
DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory,
Icon icon,
String title,
CAction... actions)
Creates a new dockable. |
|
DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory,
Icon icon,
String title,
Component content,
CAction... actions)
Creates a new dockable. |
|
DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory,
Icon icon,
String title,
Component content,
DefaultCDockable.Permissions permissions,
CAction... actions)
Creates a new dockable. |
|
DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory,
String title,
CAction... actions)
Creates a new dockable. |
|
DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory,
String title,
Component content,
CAction... actions)
Creates a new dockable. |
|
| Method Summary | |
|---|---|
MultipleCDockableFactory<?,?> |
getFactory()
Gets the factory that created this dockable. |
boolean |
isRemoveOnClose()
Tells whether this MultipleCDockable should be removed from the
CControl when it is made invisible. |
void |
setControl(CControlAccess control)
Sets the CControl which is responsible for this dockable. |
void |
setRemoveOnClose(boolean removeOnClose)
Sets whether this dockable will be removed from the CControl when
made invisible. |
| Methods inherited from class bibliothek.gui.dock.common.intern.DefaultCDockable |
|---|
add, add, addAction, addSeparator, createCommonDockable, getAction, getActionCount, getContentPane, getTitleIcon, getTitleText, getTitleToolTip, insertAction, insertSeparator, intern, isCloseable, isExternalizable, isMaximizable, isMinimizable, isStackable, remove, removeAction, removeAction, setCloseable, setExternalizable, setLayout, setMaximizable, setMinimizable, setStackable, setTitleIcon, setTitleText, setTitleToolTip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory,
CAction... actions)
factory - the factory which created or could create this
kind of dockable.actions - the actions shown in the title, can be null.
A separator is inserted for every entry that is null of this array.
public DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory,
Component content,
CAction... actions)
factory - the factory which created or could create this
kind of dockable.content - a Component which will be shown in the middle
of this dockable, can be null.actions - the actions shown in the title, can be null.
A separator is inserted for every entry that is null of this array.
public DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory,
String title,
Component content,
CAction... actions)
factory - the factory which created or could create this
kind of dockable.title - the text shown in the title, can be nullcontent - a Component which will be shown in the middle
of this dockable, can be null.actions - the actions shown in the title, can be null.
A separator is inserted for every entry that is null of this array.
public DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory,
Icon icon,
Component content,
CAction... actions)
factory - the factory which created or could create this
kind of dockable.icon - the icon shown in the title, can be nullcontent - a Component which will be shown in the middle
of this dockable, can be null.actions - the actions shown in the title, can be null.
A separator is inserted for every entry that is null of this array.
public DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory,
Icon icon,
String title,
Component content,
CAction... actions)
factory - the factory which created or could create this
kind of dockable.icon - the icon shown in the title, can be nulltitle - the text shown in the title, can be nullcontent - a Component which will be shown in the middle
of this dockable, can be null.actions - the actions shown in the title, can be null.
A separator is inserted for every entry that is null of this array.
public DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory,
String title,
CAction... actions)
factory - the factory which created or could create this
kind of dockable.title - the text shown in the title, can be nullactions - the actions shown in the title, can be null.
A separator is inserted for every entry that is null of this array.
public DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory,
Icon icon,
CAction... actions)
factory - the factory which created or could create this
kind of dockable.icon - the icon shown in the title, can be nullactions - the actions shown in the title, can be null.
A separator is inserted for every entry that is null of this array.
public DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory,
Icon icon,
String title,
CAction... actions)
factory - the factory which created or could create this
kind of dockable.icon - the icon shown in the title, can be nulltitle - the text shown in the title, can be nullactions - the actions shown in the title, can be null.
A separator is inserted for every entry that is null of this array.
public DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory,
Icon icon,
String title,
Component content,
DefaultCDockable.Permissions permissions,
CAction... actions)
factory - the factory which created or could create this
kind of dockable.icon - the icon shown in the title, can be nulltitle - the text shown in the title, can be nullcontent - a Component which will be shown in the middle
of this dockable, can be null.permissions - what actions the user is allowed to do, null will be
replaced by DefaultCDockable.Permissions#DEFAULT.actions - the actions shown in the title, can be null.
A separator is inserted for every entry that is null of this array.| Method Detail |
|---|
public MultipleCDockableFactory<?,?> getFactory()
getFactory in interface MultipleCDockablenullpublic void setControl(CControlAccess control)
AbstractCDockableCControl which is responsible for this dockable.
setControl in interface CDockablesetControl in class AbstractCDockablecontrol - the new controlpublic boolean isRemoveOnClose()
MultipleCDockableMultipleCDockable should be removed from the
CControl when it is made invisible. If in doubt, return
true.
isRemoveOnClose in interface MultipleCDockabletrue if this dockable should be removed from
the controller when made invisible.public void setRemoveOnClose(boolean removeOnClose)
CControl when
made invisible.
removeOnClose - true if this element should be removed
automatically.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||