Class CGridPerspective.CommonSplitDockPerspective
java.lang.Object
bibliothek.gui.dock.station.split.SplitDockPerspective
bibliothek.gui.dock.common.perspective.CGridPerspective.CommonSplitDockPerspective
- All Implemented Interfaces:
CommonDockStationPerspective,CommonElementPerspective,PerspectiveDockable,PerspectiveElement,PerspectiveStation,PlaceholderListItem<PerspectiveDockable>
- Enclosing class:
CGridPerspective
public class CGridPerspective.CommonSplitDockPerspective
extends SplitDockPerspective
implements CommonDockStationPerspective
The type of object that is used by a
CGridPerspective as intern representation.- Author:
- Benjamin Sigg
-
Nested Class Summary
Nested classes/interfaces inherited from class bibliothek.gui.dock.station.split.SplitDockPerspective
SplitDockPerspective.Entry, SplitDockPerspective.EntryListener, SplitDockPerspective.Leaf, SplitDockPerspective.Node, SplitDockPerspective.Root -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PerspectiveDockablecombine(PerspectiveDockable[] dockables, PerspectiveDockable selection) Gets the unique identifier of theDockFactorythat is actually used to layout this perspective.getDockable(int index) intGets the element that is represented by thisPerspectiveElement.Gets the unique identifier of theDockFactorythat handles this perspective element, forCommonDockStationPerspectives the result should beCommonDockStationFactory.FACTORY_ID.getRoot()voidread(PerspectiveSplitDockTree tree, PerspectiveDockable fullscreen) Methods inherited from class bibliothek.gui.dock.station.split.SplitDockPerspective
addListener, addPlaceholder, asDockable, asStation, fireAdded, fireRemoved, getDockablePathProperty, getDockableProperty, getFullscreen, getLeaf, getParent, getPlaceholders, hasFullscreenAction, listeners, remove, removeListener, replace, setFullscreen, setHasFullscreenAction, setParent, setPlaceholdersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface bibliothek.gui.dock.perspective.PerspectiveElement
asDockable, asStation
-
Constructor Details
-
CommonSplitDockPerspective
public CommonSplitDockPerspective()
-
-
Method Details
-
getElement
Description copied from interface:CommonElementPerspectiveGets the element that is represented by thisPerspectiveElement.- Specified by:
getElementin interfaceCommonElementPerspective- Returns:
- the represented element, not
null
-
getFactoryID
Description copied from interface:CommonDockStationPerspectiveGets the unique identifier of theDockFactorythat handles this perspective element, forCommonDockStationPerspectives the result should beCommonDockStationFactory.FACTORY_ID.- Specified by:
getFactoryIDin interfaceCommonDockStationPerspective- Specified by:
getFactoryIDin interfacePerspectiveElement- Overrides:
getFactoryIDin classSplitDockPerspective
-
getConverterID
Description copied from interface:CommonDockStationPerspectiveGets the unique identifier of theDockFactorythat is actually used to layout this perspective.- Specified by:
getConverterIDin interfaceCommonDockStationPerspective- Returns:
- the identifier of the actual factory
- See Also:
-
read
- Overrides:
readin classSplitDockPerspective
-
combine
protected PerspectiveDockable combine(PerspectiveDockable[] dockables, PerspectiveDockable selection) - Overrides:
combinein classSplitDockPerspective
-
getPlaceholder
- Specified by:
getPlaceholderin interfacePerspectiveDockable- Overrides:
getPlaceholderin classSplitDockPerspective
-
getRoot
- Overrides:
getRootin classSplitDockPerspective
-
getDockableCount
public int getDockableCount()- Specified by:
getDockableCountin interfacePerspectiveStation- Overrides:
getDockableCountin classSplitDockPerspective
-
getDockable
- Specified by:
getDockablein interfacePerspectiveStation- Overrides:
getDockablein classSplitDockPerspective
-