|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.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 Component
s 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,
java.awt.Component content,
CAction... actions)
Creates a new dockable. |
|
DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory,
javax.swing.Icon icon,
CAction... actions)
Creates a new dockable. |
|
DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory,
javax.swing.Icon icon,
java.awt.Component content,
CAction... actions)
Creates a new dockable. |
|
DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory,
javax.swing.Icon icon,
java.lang.String title,
CAction... actions)
Creates a new dockable. |
|
DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory,
javax.swing.Icon icon,
java.lang.String title,
java.awt.Component content,
CAction... actions)
Creates a new dockable. |
|
DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory,
javax.swing.Icon icon,
java.lang.String title,
java.awt.Component content,
DefaultCDockable.Permissions permissions,
CAction... actions)
Creates a new dockable. |
|
DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory,
java.lang.String title,
CAction... actions)
Creates a new dockable. |
|
DefaultMultipleCDockable(MultipleCDockableFactory<?,?> factory,
java.lang.String title,
java.awt.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, asStation, 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, java.awt.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, java.lang.String title, java.awt.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 null
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, javax.swing.Icon icon, java.awt.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 null
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, javax.swing.Icon icon, java.lang.String title, java.awt.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 null
title
- the text shown in the title, can be null
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, java.lang.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 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, javax.swing.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 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, javax.swing.Icon icon, java.lang.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 null
title
- the text shown in the title, 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, javax.swing.Icon icon, java.lang.String title, java.awt.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 null
title
- the text shown in the title, can be null
content
- 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 MultipleCDockable
null
public void setControl(CControlAccess control)
AbstractCDockable
CControl
which is responsible for this dockable.
setControl
in interface CDockable
setControl
in class AbstractCDockable
control
- the new controlpublic boolean isRemoveOnClose()
MultipleCDockable
MultipleCDockable
should be removed from the
CControl
when it is made invisible. If in doubt, return
true
.
isRemoveOnClose
in interface MultipleCDockable
true
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 |