|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JLayeredPane
bibliothek.gui.dock.station.OverpaintablePanel
bibliothek.gui.dock.SplitDockStation
bibliothek.gui.dock.common.intern.station.CSplitDockStation
public class CSplitDockStation
An implementation of SplitDockStation
that also satisfies the
CommonDockable
interface.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class bibliothek.gui.dock.SplitDockStation |
---|
SplitDockStation.Orientation |
Nested classes/interfaces inherited from class javax.swing.JLayeredPane |
---|
JLayeredPane.AccessibleJLayeredPane |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class bibliothek.gui.dock.SplitDockStation |
---|
dockStationListeners, LAYOUT_MANAGER, MAXIMIZE_ACCELERATOR, TITLE_ID |
Fields inherited from class javax.swing.JLayeredPane |
---|
DEFAULT_LAYER, DRAG_LAYER, FRAME_CONTENT_LAYER, LAYER_PROPERTY, MODAL_LAYER, PALETTE_LAYER, POPUP_LAYER |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
CSplitDockStation(CommonStationDelegate delegate)
|
Method Summary | |
---|---|
SplitDockStation |
asDockStation()
Returns this if this is an instance of
DockStation . |
protected ListeningDockAction |
createFullScreenAction()
Creates an action which is added to all children
of this station. |
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. |
void |
setFrontDockable(Dockable dockable)
Sets the most important child. |
Methods inherited from class bibliothek.gui.dock.station.OverpaintablePanel |
---|
doLayout, getBasePane, getContentPane, setBasePane, setContentPane |
Methods inherited from class javax.swing.JLayeredPane |
---|
addImpl, getAccessibleContext, getComponentCountInLayer, getComponentsInLayer, getComponentToLayer, getIndexOf, getLayer, getLayer, getLayeredPaneAbove, getObjectForLayer, getPosition, highestLayer, insertIndexForLayer, isOptimizedDrawingEnabled, lowestLayer, moveToBack, moveToFront, paint, paramString, putLayer, remove, removeAll, setLayer, setLayer, setPosition |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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 |
Methods inherited from interface bibliothek.gui.dock.DockElementRepresentative |
---|
getElement, getPopupLocation, isUsedAsTitle |
Constructor Detail |
---|
public CSplitDockStation(CommonStationDelegate delegate)
Method Detail |
---|
public CDockable getDockable()
CommonDockable
getDockable
in interface CommonDockable
public CStation<?> getStation()
CommonDockable
getStation
in interface CommonDockable
null
public SplitDockStation asDockStation()
DockElement
this
if this
is an instance of
DockStation
. Otherwise null
is returned.
asDockStation
in interface CommonStation<SplitDockStation>
asDockStation
in interface DockElement
asDockStation
in class SplitDockStation
this
or null
protected ListeningDockAction createFullScreenAction()
SplitDockStation
action
which is added to all children
of this station. The action allows the user to expand a child to
fullscreen. The action is also added to subchildren, but the effect
does only affect direct children of this station.
createFullScreenAction
in class SplitDockStation
null
if this feature should be
disabled, or the action is set later
public void setFrontDockable(Dockable dockable)
DockStation
DockStation.getFrontDockable()
how stations can change
this property.
setFrontDockable
in interface DockStation
setFrontDockable
in class SplitDockStation
dockable
- the new favorite child, can be null
DockStation.getFrontDockable()
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 SplitDockStation
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 |