|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.dockable.AbstractDockable
bibliothek.gui.dock.DefaultDockable
bibliothek.gui.dock.common.intern.DefaultCommonDockable
public class DefaultCommonDockable
A default implementation of CommonDockable
, based on a DefaultDockable
.
Constructor Summary | |
---|---|
DefaultCommonDockable(CDockable dockable,
DockActionSource... sources)
Creates a new dockable |
Method Summary | |
---|---|
CActionSource |
getActions()
Gets the action source for actions that are added by the client. |
CDockable |
getDockable()
Gets the model of this dockable. |
DockTitle |
getDockTitle(DockTitleVersion version)
Invoked to get a graphical representation of a title for this Dockable. |
DockActionSource[] |
getSources()
Gets a set of DockActionSource s which are to be displayed
on this CommonDockable as well. |
CStation<?> |
getStation()
Gets the model of this dockable as station. |
Methods inherited from class bibliothek.gui.dock.DefaultDockable |
---|
add, add, asDockStation, getComponent, getContentPane, getFactoryID, remove, setFactoryID, setLayout |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface bibliothek.gui.dock.common.intern.CommonDockable |
---|
getFactoryID |
Methods inherited from interface bibliothek.gui.Dockable |
---|
accept, accept, addDockableListener, addDockHierarchyListener, addMouseInputListener, bind, configureDisplayerHints, getComponent, getController, getDockParent, getGlobalActionOffers, getLocalActionOffers, getTitleIcon, getTitleText, getTitleToolTip, listBoundTitles, removeDockableListener, removeDockHierarchyListener, removeMouseInputListener, setController, setDockParent, unbind |
Methods inherited from interface bibliothek.gui.dock.DockElement |
---|
asDockable, asDockStation |
Methods inherited from interface bibliothek.gui.dock.DockElementRepresentative |
---|
getElement, getPopupLocation, isUsedAsTitle |
Constructor Detail |
---|
public DefaultCommonDockable(CDockable dockable, DockActionSource... sources)
dockable
- the model of this elementsources
- action source which shows the close actionMethod Detail |
---|
public CActionSource getActions()
null
public CDockable getDockable()
CommonDockable
getDockable
in interface CommonDockable
public CStation<?> getStation()
CommonDockable
getStation
in interface CommonDockable
null
public DockActionSource[] getSources()
CommonDockable
DockActionSource
s which are to be displayed
on this CommonDockable
as well. Note that every call to this
method should return the same array of sources. Callers should not
modify the result.
getSources
in interface CommonDockable
public DockTitle getDockTitle(DockTitleVersion version)
Dockable
owner
of the title must be this Dockable.origin
of the title must be version
.Dockable.bind(DockTitle)
-method of this Dockable
before using the title. Note that a client must not call the
bind-method of DockTitleDockable.unbind(DockTitle)
-method when he no
longer needs the title. Note that the client must not call the
unbind-method of the DockTitle
getDockTitle
in interface Dockable
getDockTitle
in class AbstractDockable
version
- which title is required. If this Dockable does not have
a special rule for the given version, it can return the result of
DockTitleVersion.createDockable(Dockable)
.
null
if no title should be shown.
Note that not all clients can handle a null
-title, if in
doubt, return a title.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |