Uses of Class
bibliothek.gui.dock.common.mode.ExtendedMode
Packages that use ExtendedMode
Package
Description
A set of classes that can be used to create basic applications.
Contains the
CGroupBehavior and its implementations,
this interface allows to group Dockables together.Classes and interfaces used internally.
CActions and supporting classes that are not intended for clients
to be used directly.Various implementations of
CLocation.The perspective API offers clients the possibility to define or modify the layout
of an application without actually creating any
CDockables.This module of the perspective API allows clients to access and modify
CDockables that are in different modes like "maximized" or "minimized".Contains an implementation of
ModeManager that links a mode to the location
of a Dockable.Strategies helping a
LocationModeManager to decide which modes are
available for a Dockable.-
Uses of ExtendedMode in bibliothek.gui.dock.common
Methods in bibliothek.gui.dock.common that return ExtendedModeModifier and TypeMethodDescriptionabstract ExtendedModeCLocation.findMode()Gets the mode this location represents.Methods in bibliothek.gui.dock.common with parameters of type ExtendedModeModifier and TypeMethodDescriptionCStation<?>CContentArea.getDefaultStation(ExtendedMode mode) CStation<?>CStationContainer.getDefaultStation(ExtendedMode mode) Gets the preferred defaultCStationof this container for children in modemode.CControlRegister.listDockablesInMode(ExtendedMode mode) Gets a list of all visibleCDockables in the given mode. -
Uses of ExtendedMode in bibliothek.gui.dock.common.event
Methods in bibliothek.gui.dock.common.event with parameters of type ExtendedModeModifier and TypeMethodDescriptionvoidCDockableAdapter.extendedModeChanged(CDockable dockable, ExtendedMode mode) voidCDockableStateListener.extendedModeChanged(CDockable dockable, ExtendedMode mode) Called if theextended modeofdockablechanged.voidCDockableAdapter.modeChanged(CDockable dockable, ExtendedMode mode) Called byCDockableAdapter.extendedModeChanged(CDockable, ExtendedMode)if none of the default modes was selected -
Uses of ExtendedMode in bibliothek.gui.dock.common.group
Methods in bibliothek.gui.dock.common.group with parameters of type ExtendedModeModifier and TypeMethodDescriptionCGroupBehavior.getGroupElement(LocationModeManager<? extends LocationMode> manager, Dockable dockable, ExtendedMode mode) Gets the element whose location or mode must be changed in order to applymodetodockable.StackGroupBehavior.getGroupElement(LocationModeManager<? extends LocationMode> manager, Dockable dockable, ExtendedMode mode) TopMostGroupBehavior.getGroupElement(LocationModeManager<? extends LocationMode> manager, Dockable dockable, ExtendedMode mode) CGroupBehavior.getReplaceElement(LocationModeManager<? extends LocationMode> manager, Dockable old, Dockable dockable, ExtendedMode mode) Gets the element which would replaceoldifoldis currently inmode, anddockableis or will not be inmode.StackGroupBehavior.getReplaceElement(LocationModeManager<? extends LocationMode> manager, Dockable old, Dockable dockable, ExtendedMode mode) TopMostGroupBehavior.getReplaceElement(LocationModeManager<? extends LocationMode> manager, Dockable old, Dockable dockable, ExtendedMode mode) CGroupBehavior.prepare(LocationModeManager<? extends LocationMode> manager, Dockable dockable, ExtendedMode target) Calculates how the mode ofdockablehas to be changed such that it matchestarget.StackGroupBehavior.prepare(LocationModeManager<? extends LocationMode> manager, Dockable dockable, ExtendedMode target) TopMostGroupBehavior.prepare(LocationModeManager<? extends LocationMode> manager, Dockable dockable, ExtendedMode target) voidCGroupBehaviorCallback.setMode(Dockable dockable, ExtendedMode mode) Sets theExtendedModeofdockableusing all available history information.
Note:LocationModes may decide that more than oneDockablemust be moved in order to accomplish the goal, any cached location information aboutDockables should be considered invalid once this method has been executed.booleanCGroupBehavior.shouldForwardActions(LocationModeManager<? extends LocationMode> manager, DockStation station, Dockable dockable, ExtendedMode mode) Tells whether the actions ofdockablefor modemodeshould be shown onstationtoo.booleanStackGroupBehavior.shouldForwardActions(LocationModeManager<? extends LocationMode> manager, DockStation station, Dockable dockable, ExtendedMode mode) booleanTopMostGroupBehavior.shouldForwardActions(LocationModeManager<? extends LocationMode> manager, DockStation station, Dockable dockable, ExtendedMode mode) Constructors in bibliothek.gui.dock.common.group with parameters of type ExtendedModeModifierConstructorDescriptionSingleGroupMovement(Dockable dockable, ExtendedMode target) Creates a new movement object.StackGroupMovement(StackDockStation dockParent, Dockable dockable, ExtendedMode target) Creates a new movement object. -
Uses of ExtendedMode in bibliothek.gui.dock.common.grouping
Methods in bibliothek.gui.dock.common.grouping that return ExtendedModeModifier and TypeMethodDescriptionDockableGrouping.getInitialMode(Dockable dockable) Tries to find out how to displaydockableinitially.PlaceholderGrouping.getInitialMode(Dockable dockable) -
Uses of ExtendedMode in bibliothek.gui.dock.common.intern
Methods in bibliothek.gui.dock.common.intern that return ExtendedModeModifier and TypeMethodDescriptionAbstractCDockable.getExtendedMode()CDockable.getExtendedMode()Gets the size and location of thisCDockable.Methods in bibliothek.gui.dock.common.intern with parameters of type ExtendedModeModifier and TypeMethodDescriptionAbstractCDockable.getDefaultLocation(ExtendedMode mode) Gets an earlier set value ofAbstractCDockable.setDefaultLocation(ExtendedMode, CLocation).voidCDockableAccess.informMode(ExtendedMode mode) Called after the mode of theCDockablemay have changed.DefaultCControlRegister.listDockablesInMode(ExtendedMode mode) Gets a list of all visibleCDockables in the given mode.voidAbstractCDockable.setDefaultLocation(ExtendedMode mode, CLocation location) Sets the default location for modemodefor this dockable.voidAbstractCDockable.setExtendedMode(ExtendedMode extendedMode) voidCDockable.setExtendedMode(ExtendedMode extendedMode) Sets how and where thisCDockableshould be shown. -
Uses of ExtendedMode in bibliothek.gui.dock.common.intern.action
Methods in bibliothek.gui.dock.common.intern.action with parameters of type ExtendedModeModifier and TypeMethodDescriptionprotected voidCExtendedModeAction.init(CControl control, ExtendedMode mode, String iconKey, String textKey, String tooltipKey, PropertyKey<KeyStroke> gotoStroke) Creates a new action, this method must be called only once.Constructors in bibliothek.gui.dock.common.intern.action with parameters of type ExtendedModeModifierConstructorDescriptionprotectedCExtendedModeAction(CControl control, ExtendedMode mode, String iconKey, String textKey, String tooltipKey, PropertyKey<KeyStroke> gotoStroke) Creates a new action. -
Uses of ExtendedMode in bibliothek.gui.dock.common.location
Methods in bibliothek.gui.dock.common.location that return ExtendedModeModifier and TypeMethodDescriptionAbstractTreeLocation.findMode()CBaseLocation.findMode()CExtendedModeLocation.findMode()CExternalizedLocation.findMode()CFlapIndexLocation.findMode()CFlapLocation.findMode()CMaximalExternalizedLocation.findMode()CMaximizedLocation.findMode()CMinimizedLocation.findMode()CRectangleLocation.findMode()CSplitLocation.findMode()CStackLocation.findMode()CWorkingAreaLocation.findMode()TreeLocationLeaf.findMode()Constructors in bibliothek.gui.dock.common.location with parameters of type ExtendedMode -
Uses of ExtendedMode in bibliothek.gui.dock.common.mode
Fields in bibliothek.gui.dock.common.mode declared as ExtendedModeModifier and TypeFieldDescriptionstatic final ExtendedModeExtendedMode.EXTERNALIZEDthe dockable is floating in a dialog, see alsoExternalizedModestatic final ExtendedModeExtendedMode.MAXIMIZEDthe dockable is as big as possible, see alsoMaximizedModestatic final ExtendedModeExtendedMode.MINIMIZEDthe dockable is as small as possible, see alsoMinimizedModestatic final ExtendedModeExtendedMode.NORMALIZEDthe dockable has the normal size, see alsoNormalModeMethods in bibliothek.gui.dock.common.mode that return ExtendedModeModifier and TypeMethodDescriptionCLocationModeManager.childsExtendedMode(DockStation parent) Guesses the result ofLocationModeManager.getCurrentMode(Dockable)once aDockableis dropped ontoDockStation.PreviousModeDoubleClickStrategy.handleDoubleClick(Dockable dockable, ExtendedMode current, ExtendedModeEnablement enablement) Methods in bibliothek.gui.dock.common.mode with parameters of type ExtendedModeModifier and TypeMethodDescriptionCLocationModeManager.getLocation(Dockable dockable, ExtendedMode mode) Assuming thatdockableis currently not in modemode, then this method searches for the previously stored location ofdockable.protected CStation<?>CStationContainerHistoryRewriter.getMatchingStation(Dockable dockable, ExtendedMode mode) PreviousModeDoubleClickStrategy.handleDoubleClick(Dockable dockable, ExtendedMode current, ExtendedModeEnablement enablement) voidCLocationModeManager.setLocation(Dockable dockable, ExtendedMode mode, CLocation location) Sets the default location ofdockablewhen going intomode. -
Uses of ExtendedMode in bibliothek.gui.dock.common.perspective
Methods in bibliothek.gui.dock.common.perspective that return ExtendedModeModifier and TypeMethodDescriptionLocationHistory.getLastMode()Gets the newest entry of this history.LocationHistory.getMode(int index) Gets theindex'th entry of this history, where an index of 0 represents the oldest entry.Methods in bibliothek.gui.dock.common.perspective with parameters of type ExtendedModeModifier and TypeMethodDescriptionvoidLocationHistory.add(ExtendedMode mode, Location location) Sets thelocationthat is to be used formode.LocationHistory.get(ExtendedMode mode) Gets the location that is to be used formode.voidLocationHistory.insert(int index, ExtendedMode mode, Location location) Sets thelocationthat is to be used formode.voidLocationHistory.remove(ExtendedMode mode) Removes any entries related tomode. -
Uses of ExtendedMode in bibliothek.gui.dock.common.perspective.mode
Methods in bibliothek.gui.dock.common.perspective.mode that return ExtendedModeModifier and TypeMethodDescriptionCExternalizedModePerspective.getIdentifier()CMaximizedModePerspective.getIdentifier()CMinimizedModePerspective.getIdentifier()CNormalModePerspective.getIdentifier()LocationModePerspective.getIdentifier()Gets the unique identifier for this mode.LocationModeManagerPerspective.getMode(PerspectiveDockable dockable) Gets the current mode ofdockable.Gets theExtendedModewhose identifier is equal toidentifier.LocationModeManagerPerspective.getMode(String root, DockableProperty location) Gets the mode which could have a child in the given location.LocationModeManagerPerspective.getModes()Gets an array containing all the modes known to this manager.Methods in bibliothek.gui.dock.common.perspective.mode with parameters of type ExtendedModeModifier and TypeMethodDescriptionLocationModeManagerPerspective.getMode(ExtendedMode mode) Gets the location-mode with the identifiermode. -
Uses of ExtendedMode in bibliothek.gui.dock.facile.mode
Methods in bibliothek.gui.dock.facile.mode that return ExtendedModeModifier and TypeMethodDescriptionExternalizedMode.getExtendedMode()LocationMode.getExtendedMode()Gets the unique identifier of this mode.MaximizedMode.getExtendedMode()MinimizedMode.getExtendedMode()NormalMode.getExtendedMode()Gets the current mode ofdockable.DoubleClickLocationStrategy.handleDoubleClick(Dockable dockable, ExtendedMode current, ExtendedModeEnablement enablement) Called if the user double-clicked ondockable.Methods in bibliothek.gui.dock.facile.mode that return types with arguments of type ExtendedModeModifier and TypeMethodDescriptionLocationModeManager.getRepresentations(String id) Checks allLocationModes of this manager and returns allDockStations that were registered with the given id.Methods in bibliothek.gui.dock.facile.mode with parameters of type ExtendedModeModifier and TypeMethodDescriptionvoidLocationModeManager.apply(Dockable dockable, ExtendedMode extendedMode, CGroupMovement action) Executesactionin a transaction assuming that the result of this action will lead todockablehaving the new modeextendedMode.DoubleClickLocationStrategy.handleDoubleClick(Dockable dockable, ExtendedMode current, ExtendedModeEnablement enablement) Called if the user double-clicked ondockable.booleanLocationModeManager.isModeAvailable(Dockable dockable, ExtendedMode mode) Using the currentExtendedModeEnablementthis method tells whether modemodecan be applied todockable.booleanLocationModeManager.isModeHidden(Dockable dockable, ExtendedMode mode) Using the currentExtendedModeEnablementthis method tells whether modemodeis hidden from the user when looking atdockable.voidLocationModeManager.setMode(Dockable dockable, ExtendedMode extendedMode) Sets the current mode ofdockable. -
Uses of ExtendedMode in bibliothek.gui.dock.facile.mode.status
Methods in bibliothek.gui.dock.facile.mode.status with parameters of type ExtendedModeModifier and TypeMethodDescriptionvoidExtendedModeEnablementListener.availabilityChanged(Dockable dockable, ExtendedMode mode, boolean available) Called if the state changed.protected voidAbstractExtendedModeEnablement.fire(Dockable dockable, ExtendedMode mode, boolean available) CallsExtendedModeEnablementListener.availabilityChanged(Dockable, ExtendedMode, boolean)for all listeners that are registered.DefaultExtendedModeEnablement.isAvailable(Dockable dockable, ExtendedMode mode) ExtendedModeEnablement.isAvailable(Dockable dockable, ExtendedMode mode) Tells whethermodeis available fordockable.
Note: forNORMALIZEDthe result should always betrue.DefaultExtendedModeEnablement.isHidden(Dockable dockable, ExtendedMode mode) ExtendedModeEnablement.isHidden(Dockable dockable, ExtendedMode mode) Tells whethermodeis hidden from the user fordockable.protected ExtendedModeEnablement.AvailabilityDefaultExtendedModeEnablement.isModeAvailable(Dockable dockable, ExtendedMode mode) The actual implementation ofExtendedModeEnablement.isAvailable(Dockable, ExtendedMode)