|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JLayeredPane bibliothek.gui.dock.station.OverpaintablePanel bibliothek.gui.dock.security.SecureContainer bibliothek.gui.dock.SplitDockStation bibliothek.gui.dock.common.intern.station.CSplitDockStation
@FrameworkOnly public class CSplitDockStation
An implementation of SplitDockStation
that also satisfies the CommonDockStation
interface.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class bibliothek.gui.dock.SplitDockStation |
---|
SplitDockStation.Access, 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.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class bibliothek.gui.dock.SplitDockStation |
---|
DISPLAYER_ID, DIVIDER_STRATEGY, 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<CSplitDockStation> delegate)
|
Method Summary | |
---|---|
CommonDockable |
asDockable()
Returns this if this is an instance of
Dockable . |
CSplitDockStation |
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. |
String |
getConverterID()
Gets the unique identifier of the DockFactory that should be used by the CommonDockStationFactory
to actually write or read the layout. |
CDockable |
getDockable()
Gets the model of this dockable. |
SplitDockStation |
getDockStation()
Gets this as S . |
String |
getFactoryID()
Gets the unique name of the DockFactory which can read
and write elements of this type. |
DockActionSource[] |
getSources()
Gets a set of DockActionSource s which are to be displayed
on this CommonDockable . |
CStation<CSplitDockStation> |
getStation()
Gets the model of this station. |
void |
requestDockTitle(DockTitleRequest request)
Invoked to get a graphical representation of a title for this Dockable . |
void |
setFrontDockable(Dockable dockable)
Sets the most important child. |
void |
setNextFullScreen()
Switches the child which is in fullscreen-mode. |
Methods inherited from class bibliothek.gui.dock.security.SecureContainer |
---|
createGlassPane, install, isUseGlassPane, setUseGlassPane, uninstall |
Methods inherited from class bibliothek.gui.dock.station.OverpaintablePanel |
---|
doLayout, getBasePane, getContentPane, getMaximumSize, isSolid, setBasePane, setContentPane, setSolid |
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.DockStation |
---|
accept, addDockStationListener, aside, canDrag, canReplace, changed, drag, drop, drop, getController, getDirectActionOffers, getDockable, getDockableCount, getDockableProperty, getFrontDockable, getIndirectActionOffers, getLayers, getPlaceholderMapping, getPlaceholders, getTheme, isChildShowing, isStationShowing, isStationVisible, isVisible, move, prepareDrag, prepareDrop, removeDockStationListener, replace, replace, requestChildDisplayer, requestChildDockTitle, setController, setPlaceholders, updateTheme |
Methods inherited from interface bibliothek.gui.dock.DockElementRepresentative |
---|
getElement, getPopupLocation, isUsedAsTitle, shouldFocus, shouldTransfersFocus |
Methods inherited from interface bibliothek.gui.dock.component.DockComponentRoot |
---|
getComponentConfiguration, setComponentConfiguration |
Constructor Detail |
---|
public CSplitDockStation(CommonStationDelegate<CSplitDockStation> delegate)
Method Detail |
---|
public String getFactoryID()
DockElement
DockFactory
which can read
and write elements of this type.
getFactoryID
in interface CommonDockable
getFactoryID
in interface CommonDockStation<SplitDockStation,CSplitDockStation>
getFactoryID
in interface DockElement
getFactoryID
in class SplitDockStation
CommonDockStation.getConverterID()
public String getConverterID()
CommonDockStation
DockFactory
that should be used by the CommonDockStationFactory
to actually write or read the layout. Usually the result of this method is the same result
as DockElement.getFactoryID()
(note: the factory id from the super class).
getConverterID
in interface CommonDockStation<SplitDockStation,CSplitDockStation>
DockFactory
. Can be null
if
CommonDockStation.getFactoryID()
does not return CommonDockStationFactory.FACTORY_ID
public CDockable getDockable()
CommonDockable
getDockable
in interface CommonDockable
public CStation<CSplitDockStation> getStation()
CommonDockStation
getStation
in interface CommonDockable
getStation
in interface CommonDockStation<SplitDockStation,CSplitDockStation>
null
public SplitDockStation getDockStation()
CommonDockStation
this
as S
.
getDockStation
in interface CommonDockStation<SplitDockStation,CSplitDockStation>
this
public CSplitDockStation asDockStation()
DockElement
this
if this
is an instance of
DockStation
. Otherwise null
is returned.
asDockStation
in interface CommonElement
asDockStation
in interface CommonDockStation<SplitDockStation,CSplitDockStation>
asDockStation
in interface DockElement
asDockStation
in class SplitDockStation
this
or null
. Must not return null
if DockElement.asDockable()
already returns null
public CommonDockable asDockable()
DockElement
this
if this
is an instance of
Dockable
. Otherwise null
is returned.
asDockable
in interface CommonElement
asDockable
in interface DockElement
asDockable
in interface PlaceholderListItem<Dockable>
asDockable
in class SplitDockStation
this
or null
. Must not return null
if DockElement.asDockable()
already returns 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 setNextFullScreen()
SplitDockStation
setNextFullScreen
in class SplitDockStation
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
. 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 void requestDockTitle(DockTitleRequest request)
Dockable
Dockable
. This method is
called either when a title first is required, or when this Dockable
invoked the DockableListener.titleExchanged(Dockable, DockTitle)
method of its
current observers. Dockable
might decide to answer the request by calling
DockTitleRequest.answer(DockTitle)
, any title, including null
are
valid answers. If this Dockable
does not answer the request the associated
DockTitleFactory
(as described by DockTitleVersion.getFactory()
) is
asked to answer the request.target
must be this Dockable
.
requestDockTitle
in interface Dockable
requestDockTitle
in class SplitDockStation
request
- which title is required. If this Dockable does not have
a special rule for the given request it just ignores the call
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |