|
||||||||||
| 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_MINIMIZE_HOLD, 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,
IconHandling iconHandling,
String title,
Component content,
DefaultCDockable.Permissions permissions,
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 |
setControlAccess(CControlAccess control)
Sets the CControl which is responsible for this CDockable. |
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, asStation, createCommonDockable, getAction, getActionCount, getContentPane, getTitleIcon, getTitleIconHandling, getTitleText, getTitleToolTip, insertAction, insertSeparator, intern, isCloseable, isExternalizable, isMaximizable, isMinimizable, isStackable, remove, removeAction, removeAction, setCloseable, setExternalizable, setLayout, setMaximizable, setMinimizable, setStackable, setTitleIcon, setTitleIconHandling, setTitleText, setTitleToolTip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory,
CAction... actions)
factory - the factory which created or could create this
kind of dockable. A value of null will default ot the NullMultipleCDockableFactory.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. A value of null will default ot the NullMultipleCDockableFactory.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. A value of null will default ot the NullMultipleCDockableFactory.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. A value of null will default ot the NullMultipleCDockableFactory.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. A value of null will default ot the NullMultipleCDockableFactory.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. A value of null will default ot the NullMultipleCDockableFactory.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. A value of null will default ot the NullMultipleCDockableFactory.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. A value of null will default ot the NullMultipleCDockableFactory.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. A value of null will default ot the NullMultipleCDockableFactory.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.
public DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory,
Icon icon,
IconHandling iconHandling,
String title,
Component content,
DefaultCDockable.Permissions permissions,
CAction... actions)
factory - the factory which created or could create this
kind of dockable. A value of null will default ot the NullMultipleCDockableFactory.icon - the icon shown in the title, can be nulliconHandling - what to do if icon is 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 setControlAccess(CControlAccess control)
CDockableCControl which is responsible for this CDockable. Subclasses
must call CControlAccess.link(CDockable, CDockableAccess) to grant
the CControl access to the internal properties of this
CDockable. link can also be used to revoke access.
setControlAccess in interface CDockablesetControlAccess in class AbstractCDockablecontrol - the new control or nullpublic 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 | |||||||||