|
||||||||||
| 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.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 DockActionSources 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()
DockElementDockFactory which can read
and write elements of this type.
getFactoryID in interface CommonDockablegetFactoryID in interface CommonDockStation<SplitDockStation,CSplitDockStation>getFactoryID in interface DockElementgetFactoryID in class SplitDockStationCommonDockStation.getConverterID()public String getConverterID()
CommonDockStationDockFactory 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_IDpublic CDockable getDockable()
CommonDockable
getDockable in interface CommonDockablepublic CStation<CSplitDockStation> getStation()
CommonDockStation
getStation in interface CommonDockablegetStation in interface CommonDockStation<SplitDockStation,CSplitDockStation>nullpublic SplitDockStation getDockStation()
CommonDockStationthis as S.
getDockStation in interface CommonDockStation<SplitDockStation,CSplitDockStation>thispublic CSplitDockStation asDockStation()
DockElementthis if this is an instance of
DockStation. Otherwise null is returned.
asDockStation in interface CommonElementasDockStation in interface CommonDockStation<SplitDockStation,CSplitDockStation>asDockStation in interface DockElementasDockStation in class SplitDockStationthis or null. Must not return null if DockElement.asDockable()
already returns nullpublic CommonDockable asDockable()
DockElementthis if this is an instance of
Dockable. Otherwise null is returned.
asDockable in interface CommonElementasDockable in interface DockElementasDockable in interface PlaceholderListItem<Dockable>asDockable in class SplitDockStationthis or null. Must not return null if DockElement.asDockable()
already returns null.protected ListeningDockAction createFullScreenAction()
SplitDockStationaction 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 SplitDockStationnull if this feature should be
disabled, or the action is set laterpublic void setNextFullScreen()
SplitDockStation
setNextFullScreen in class SplitDockStationpublic void setFrontDockable(Dockable dockable)
DockStationDockStation.getFrontDockable() how stations can change
this property.
setFrontDockable in interface DockStationsetFrontDockable in class SplitDockStationdockable - the new favorite child, can be nullDockStation.getFrontDockable()public DockActionSource[] getSources()
CommonDockableDockActionSources 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 CommonDockablepublic void requestDockTitle(DockTitleRequest request)
DockableDockable. 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 DockablerequestDockTitle in class SplitDockStationrequest - 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 | |||||||||