|
||||||||||
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.DefaultSingleCDockable
@ClientOnly public class DefaultSingleCDockable
A DefaultSingleCDockable
is an element which has a
content-pane
where clients can add or remove as many
Component
s as they whish.
SingleCDockable
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 | |
---|---|
DefaultSingleCDockable(String id,
CAction... actions)
Creates a new dockable |
|
DefaultSingleCDockable(String id,
Component content,
CAction... actions)
Creates a new dockable. |
|
DefaultSingleCDockable(String id,
Icon icon,
CAction... actions)
Creates a new dockable. |
|
DefaultSingleCDockable(String id,
Icon icon,
Component content,
CAction... actions)
Creates a new dockable. |
|
DefaultSingleCDockable(String id,
Icon icon,
String title,
CAction... actions)
Creates a new dockable. |
|
DefaultSingleCDockable(String id,
Icon icon,
String title,
Component content,
CAction... actions)
Creates a new dockable. |
|
DefaultSingleCDockable(String id,
Icon icon,
String title,
Component content,
DefaultCDockable.Permissions permissions,
CAction... actions)
Creates a new dockable. |
|
DefaultSingleCDockable(String id,
String title,
CAction... actions)
Creates a new dockable. |
|
DefaultSingleCDockable(String id,
String title,
Component content,
CAction... actions)
Creates a new dockable. |
Method Summary | |
---|---|
String |
getUniqueId()
Gets the id of this dockable. |
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 DefaultSingleCDockable(String id, CAction... actions)
id
- a unique id, not 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 DefaultSingleCDockable(String id, Component content, CAction... actions)
id
- the unique id, must not 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 DefaultSingleCDockable(String id, String title, Component content, CAction... actions)
id
- the unique id, must not 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 DefaultSingleCDockable(String id, Icon icon, Component content, CAction... actions)
id
- the unique id, must not be null
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 DefaultSingleCDockable(String id, Icon icon, String title, Component content, CAction... actions)
id
- the unique id, must not be null
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 DefaultSingleCDockable(String id, String title, CAction... actions)
id
- the unique id, must not 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 DefaultSingleCDockable(String id, Icon icon, CAction... actions)
id
- the unique id, must not be null
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 DefaultSingleCDockable(String id, Icon icon, String title, CAction... actions)
id
- the unique id, must not be null
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 DefaultSingleCDockable(String id, Icon icon, String title, Component content, DefaultCDockable.Permissions permissions, CAction... actions)
id
- the unique id, must not be null
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 String getUniqueId()
CControl
.
getUniqueId
in interface SingleCDockable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |