Uses of Class
bibliothek.gui.dock.facile.mode.Location
Packages that use Location
Package
Description
Contains the
CGroupBehavior and its implementations,
this interface allows to group Dockables together.Classes and interfaces used internally.
Contains wrapper classes for various
DockStations, implementing the interface
CLocationMode.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.-
Uses of Location in bibliothek.gui.dock.common.group
Methods in bibliothek.gui.dock.common.group that return LocationModifier and TypeMethodDescriptionCGroupBehaviorCallback.getLocation(Dockable dockable) Gets the current location ofdockable.Methods in bibliothek.gui.dock.common.group with parameters of type LocationModifier and TypeMethodDescriptionvoidCGroupBehaviorCallback.setLocation(Dockable dockable, Location location) Sets the location ofdockable.
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. -
Uses of Location in bibliothek.gui.dock.common.grouping
Methods in bibliothek.gui.dock.common.grouping that return LocationModifier and TypeMethodDescriptionprotected LocationPlaceholderGrouping.findLocationFor(Dockable dockable, CLocationMode mode) Searches a location fordockable.protected LocationPlaceholderGrouping.findLocationFor(Dockable dockable, CLocationMode mode, Location validatedHistory) Called byPlaceholderGrouping.getValidatedLocation(Dockable, CLocationMode, Location), this method tries to find a location on the root station designated byvalidatedHistory.DockableGrouping.getStoredLocation(Dockable dockable, CLocationMode mode, Location history) Called right after an old location ofdockableformodewas read.PlaceholderGrouping.getStoredLocation(Dockable dockable, CLocationMode mode, Location history) DockableGrouping.getValidatedLocation(Dockable dockable, CLocationMode mode, Location validatedHistory) Called right beforedockableis moved to a new location.PlaceholderGrouping.getValidatedLocation(Dockable dockable, CLocationMode mode, Location validatedHistory) GroupingHistoryRewriter.rewrite(Dockable dockable, CLocationMode mode, Location history) Methods in bibliothek.gui.dock.common.grouping with parameters of type LocationModifier and TypeMethodDescriptionprotected LocationPlaceholderGrouping.findLocationFor(Dockable dockable, CLocationMode mode, Location validatedHistory) Called byPlaceholderGrouping.getValidatedLocation(Dockable, CLocationMode, Location), this method tries to find a location on the root station designated byvalidatedHistory.DockableGrouping.getStoredLocation(Dockable dockable, CLocationMode mode, Location history) Called right after an old location ofdockableformodewas read.PlaceholderGrouping.getStoredLocation(Dockable dockable, CLocationMode mode, Location history) DockableGrouping.getValidatedLocation(Dockable dockable, CLocationMode mode, Location validatedHistory) Called right beforedockableis moved to a new location.PlaceholderGrouping.getValidatedLocation(Dockable dockable, CLocationMode mode, Location validatedHistory) GroupingHistoryRewriter.rewrite(Dockable dockable, CLocationMode mode, Location history) Constructor parameters in bibliothek.gui.dock.common.grouping with type arguments of type LocationModifierConstructorDescriptionGroupingHistoryRewriter(CControl control, HistoryRewriter<Location, CLocationMode> validation) Creates a newGroupingHistoryRewriter. -
Uses of Location in bibliothek.gui.dock.common.intern
Methods in bibliothek.gui.dock.common.intern that return types with arguments of type LocationModifier and TypeMethodDescriptionCSetting.getModes()Gets the set of modes.CSetting.getModes()Gets the set of modes.Method parameters in bibliothek.gui.dock.common.intern with type arguments of type LocationModifier and TypeMethodDescriptionvoidCSetting.setModes(ModeSettings<Location, Location> modes) Sets the set of modes.voidCSetting.setModes(ModeSettings<Location, Location> modes) Sets the set of modes. -
Uses of Location in bibliothek.gui.dock.common.mode
Methods in bibliothek.gui.dock.common.mode that return LocationModifier and TypeMethodDescriptionCStationContainerHistoryRewriter.rewrite(Dockable dockable, CLocationMode mode, Location history) Methods in bibliothek.gui.dock.common.mode that return types with arguments of type LocationModifier and TypeMethodDescription<B> ModeSettings<Location,B> CLocationModeManager.createModeSettings(ModeSettingsConverter<Location, B> converter) Methods in bibliothek.gui.dock.common.mode with parameters of type LocationModifier and TypeMethodDescriptionCExternalizedMode.getCLocation(Dockable dockable, Location location) CLocationMode.getCLocation(Dockable dockable, Location location) Gets the location ofdockablewhich might or might not be a child of this mode.CMaximizedMode.getCLocation(Dockable dockable, Location location) CMinimizedMode.getCLocation(Dockable dockable, Location location) CModeArea.getCLocation(Dockable dockable, Location location) Assumingdockablewould be at locationlocationif it would be a child of this station, returns theCLocationthat matcheslocation.CNormalMode.getCLocation(Dockable dockable, Location location) CMaximizedMode.getMaximizeArea(Dockable dockable, Location history) CStationContainerHistoryRewriter.rewrite(Dockable dockable, CLocationMode mode, Location history) Method parameters in bibliothek.gui.dock.common.mode with type arguments of type LocationModifier and TypeMethodDescription<B> ModeSettings<Location,B> CLocationModeManager.createModeSettings(ModeSettingsConverter<Location, B> converter) KeyedLocationModeActionProvider.getActions(Dockable dockable, Mode<Location> currentMode, DockActionSource currentSource) voidCLocationModeManager.readSettings(ModeSettings<Location, ?> settings) CLocationModeManager.readSettings(ModeSettings<Location, ?> settings, UndoableModeSettings pending) -
Uses of Location in bibliothek.gui.dock.common.mode.station
Methods in bibliothek.gui.dock.common.mode.station with parameters of type LocationModifier and TypeMethodDescriptionCFlapDockStationHandle.getCLocation(Dockable dockable, Location location) CScreenDockStationHandle.External.getCLocation(Dockable dockable, Location location) CScreenDockStationHandle.getCLocation(Dockable dockable, Location location) Assuming dockable would be at locationlocationif it would be a child of this station, returns the CLocation that matcheslocation.CScreenDockStationHandle.Maximal.getCLocation(Dockable dockable, Location location) CSplitDockStationHandle.Maximal.getCLocation(Dockable dockable, Location location) CSplitDockStationHandle.Normal.getCLocation(Dockable dockable, Location location) ExternalizedCSplitDockStationHandler.Externalized.getCLocation(Dockable dockable, Location location) voidCScreenDockStationHandle.Maximal.prepareApply(Dockable dockable, Location history, AffectedSet set) voidCSplitDockStationHandle.Maximal.prepareApply(Dockable dockable, Location history, AffectedSet set) voidCScreenDockStationHandle.Maximal.setMaximized(Dockable dockable, boolean maximized, Location history, AffectedSet set) voidCSplitDockStationHandle.Maximal.setMaximized(Dockable dockable, boolean maximized, Location location, AffectedSet set) -
Uses of Location in bibliothek.gui.dock.common.perspective
Methods in bibliothek.gui.dock.common.perspective that return LocationModifier and TypeMethodDescriptionLocationHistory.get(ExtendedMode mode) Gets the location that is to be used formode.CPerspective.storeLocation(CDockablePerspective dockable) Determines the current location ofdockableand stores that location in a map using theExtendedModeof theLocationas key.Methods in bibliothek.gui.dock.common.perspective that return types with arguments of type LocationModifier and TypeMethodDescriptionLocationHistory.getLocations()Gets all the locations that are stored in this history.Methods in bibliothek.gui.dock.common.perspective with parameters of type LocationModifier and TypeMethodDescriptionvoidLocationHistory.add(ExtendedMode mode, Location location) Sets thelocationthat is to be used formode.voidLocationHistory.insert(int index, ExtendedMode mode, Location location) Sets thelocationthat is to be used formode. -
Uses of Location in bibliothek.gui.dock.common.perspective.mode
Methods in bibliothek.gui.dock.common.perspective.mode that return LocationModifier and TypeMethodDescriptionLocationModeManagerPerspective.getLocation(CDockablePerspective dockable) Gets the current location ofdockable.LocationModeManagerPerspective.getLocation(PerspectiveDockable dockable) Gets the current location ofdockable.CMaximizedModeAreaPerspective.getUnmaximizeLocation()Gets the location the currently maximized item should use when unmaximized.Methods in bibliothek.gui.dock.common.perspective.mode that return types with arguments of type LocationModifier and TypeMethodDescriptionLocationModeManagerPerspective.writeModes(CControlAccess control) Writes the contents of thisLocationModeManagerPerspectiveinto a newModeSettings.LocationModeManagerPerspective.writeModes(CControlAccess control) Writes the contents of thisLocationModeManagerPerspectiveinto a newModeSettings.Methods in bibliothek.gui.dock.common.perspective.mode with parameters of type LocationModifier and TypeMethodDescriptionvoidCMaximizedModeAreaPerspective.setUnmaximize(Path mode, Location location) Sets the origin of the currently maximized child of this area.Method parameters in bibliothek.gui.dock.common.perspective.mode with type arguments of type LocationModifier and TypeMethodDescriptionvoidLocationModeManagerPerspective.readModes(ModeSettings<Location, ?> modes, CPerspective cperspective, CControlAccess control) Reads the contents ofmodesand applies it to the dockables ofcperspective.voidAbstractModePerspective.readSetting(ModeSetting<Location> setting) voidCMaximizedModePerspective.readSetting(ModeSetting<Location> setting) voidLocationModePerspective.readSetting(ModeSetting<Location> setting) Reads settings belonging to this mode fromsetting.voidAbstractModePerspective.writeSetting(ModeSetting<Location> setting) voidCMaximizedModePerspective.writeSetting(ModeSetting<Location> setting) voidLocationModePerspective.writeSetting(ModeSetting<Location> setting) Writes settings that belong to this mode tosetting. -
Uses of Location in bibliothek.gui.dock.facile.mode
Fields in bibliothek.gui.dock.facile.mode with type parameters of type LocationModifier and TypeFieldDescriptionstatic ModeSettingFactory<Location>MaximizedModeSetting.FACTORYfactory creating newMaximizedModeSettingsMethods in bibliothek.gui.dock.facile.mode that return LocationModifier and TypeMethodDescriptionAbstractLocationMode.aside(AsideRequest request, Location location) LocationMode.aside(AsideRequest request, Location location) CallsDockStation.aside(AsideRequest)on a station that matcheslocation.LocationSettingConverter.convertToSetting(Location a) LocationSettingConverter.convertToWorld(Location b) This default implementation just returns the location ofdockablebut does not change any properties.LocationModeEvent.getLocation()Gets the location whichdockableshould have afterapply.LocationSettingConverter.readProperty(DataInputStream in) LocationSettingConverter.readPropertyXML(XElement element) Methods in bibliothek.gui.dock.facile.mode that return types with arguments of type LocationModifier and TypeMethodDescriptionMaximizedModeSetting.getLastMaximizedLocation()Gets the location ofDockables that are currently maximized.ExternalizedMode.getSettingFactory()MaximizedMode.getSettingFactory()MinimizedMode.getSettingFactory()NormalMode.getSettingFactory()Methods in bibliothek.gui.dock.facile.mode with parameters of type LocationModifier and TypeMethodDescriptionbooleanAbstractLocationMode.apply(Dockable dockable, Location history, AffectedSet set) voidLocationModeManager.apply(Dockable dockable, M mode, Location history, AffectedSet set) AbstractLocationMode.aside(AsideRequest request, Location location) LocationMode.aside(AsideRequest request, Location location) CallsDockStation.aside(AsideRequest)on a station that matcheslocation.LocationSettingConverter.convertToSetting(Location a) LocationSettingConverter.convertToWorld(Location b) MaximizedMode.getMaximizeArea(Dockable dockable, Location history) Gets the area to whichdockableshould be maximized.booleanMaximizedMode.maximize(MaximizedModeArea area, Dockable dockable, Location history, AffectedSet set) Ensures thatdockableis maximized.voidMaximizedModeArea.prepareApply(Dockable dockable, Location history, AffectedSet set) This method is called byMaximizedModejust before the mode is applied todockable.protected abstract booleanAbstractLocationMode.runApply(Dockable dockable, Location history, AffectedSet set) Called byAbstractLocationMode.apply(Dockable, Location, AffectedSet)after theLocationModeListeners are informed.booleanDefaultLocationMode.runApply(Dockable dockable, Location history, AffectedSet set) This default implementation uses theDockStation.move(Dockable, DockableProperty)andDockStation.drop(Dockable, DockableProperty)methods to putdockableat its location.booleanExternalizedMode.runApply(Dockable dockable, Location history, AffectedSet set) booleanMaximizedMode.runApply(Dockable dockable, Location history, AffectedSet set) voidMaximizedModeArea.setMaximized(Dockable dockable, boolean maximized, Location location, AffectedSet set) Tells this parent to change the maximization state ofdockable.voidLocationSettingConverter.writeProperty(Location element, DataOutputStream out) voidLocationSettingConverter.writePropertyXML(Location b, XElement element) Method parameters in bibliothek.gui.dock.facile.mode with type arguments of type LocationModifier and TypeMethodDescriptionAbstractLocationMode.DockableHandle.getActions(Mode<Location> mode) Called byAbstractLocationMode.getActionsFor(Dockable, Mode)to the actions related to this dockable.DefaultLocationModeActionProvider.getActions(Dockable dockable, Mode<Location> mode, DockActionSource source) LocationModeActionProvider.getActions(Dockable dockable, Mode<Location> currentMode, DockActionSource currentSource) Called if the elementdockable, which is currently in modemode, should have some additionalDockActions related to the owner of thisLocationModeActionProvider.MappingLocationModeActionProvider.getActions(Dockable dockable, Mode<Location> currentMode, DockActionSource currentSource) AbstractLocationMode.getActionsFor(Dockable dockable, Mode<Location> mode) protected abstract LocationModeActionProviderMappingLocationModeActionProvider.getProvider(Dockable dockable, Mode<Location> currentMode, DockActionSource currentSource) Gets theLocationModeActionProviderwhich fits the key generated by the arguments of this method.<B> voidMaximizedModeSetting.read(XElement element, ModeSettingsConverter<Location, B> converter) <B> voidMaximizedModeSetting.read(DataInputStream in, ModeSettingsConverter<Location, B> converter) voidExternalizedMode.readSetting(ModeSetting<Location> setting) voidMaximizedMode.readSetting(ModeSetting<Location> setting) voidMinimizedMode.readSetting(ModeSetting<Location> setting) voidNormalMode.readSetting(ModeSetting<Location> setting) voidMaximizedModeSetting.setLastMaximizedLocation(Map<String, Location> lastMaximizedLocation) Sets the location ofDockables that are maximized.<B> voidMaximizedModeSetting.write(XElement element, ModeSettingsConverter<Location, B> converter) <B> voidMaximizedModeSetting.write(DataOutputStream out, ModeSettingsConverter<Location, B> converter) voidExternalizedMode.writeSetting(ModeSetting<Location> setting) voidMaximizedMode.writeSetting(ModeSetting<Location> setting) voidMinimizedMode.writeSetting(ModeSetting<Location> setting) voidNormalMode.writeSetting(ModeSetting<Location> setting) Constructors in bibliothek.gui.dock.facile.mode with parameters of type LocationModifierConstructorDescriptionLocationModeEvent(LocationMode mode, Location location, Dockable dockable, AffectedSet affected) Creates a new event.Constructor parameters in bibliothek.gui.dock.facile.mode with type arguments of type LocationModifierConstructorDescriptionCLocationModeSettings(ModeSettingsConverter<Location, B> converter) Creates a new setting.