Class DefaultExpandStrategy
java.lang.Object
bibliothek.gui.dock.common.location.DefaultExpandStrategy
- All Implemented Interfaces:
CLocationExpandStrategy
The default implementation of
CLocationExpandStrategy. This strategy
just contains a list for all known DockablePropertys and can react
to each property accordingly- Author:
- Benjamin Sigg
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringName of a parameter pointing tothisin anExtensionNamestatic final PathUnique id of an extension ofCLocationExpandStrategys that are utilized before this strategy is used. -
Constructor Summary
ConstructorsConstructorDescriptionDefaultExpandStrategy(DockController controller) Creates a new expand strategy loading extensions if available. -
Method Summary
Modifier and TypeMethodDescriptionexpand(CLocation location, DockableProperty property) Expandslocationby creating a new location that representsproperty.protected CLocationexpand(CLocation location, FlapDockProperty property) Creates a new location by creating the child location oflocationusingpropertyfor that step.protected CLocationexpand(CLocation location, ScreenDockProperty property) Creates a new location by creating the child location oflocationusingpropertyfor that step.protected CLocationexpand(CLocation location, SplitDockFullScreenProperty property) Creates a new location by creating the child location oflocationusingpropertyfor that step.protected CLocationexpand(CLocation location, SplitDockPathProperty property) Creates a new location by creating the child location oflocationusingpropertyfor that step.protected CLocationexpand(CLocation location, SplitDockPlaceholderProperty property) Creates a new location by creating the child location oflocationusingpropertyfor that step.protected CLocationexpand(CLocation location, SplitDockProperty property) Creates a new location by creating the child location oflocationusingpropertyfor that step.protected CLocationexpand(CLocation location, StackDockProperty property) Creates a new location by creating the child location oflocationusingpropertyfor that step.
-
Field Details
-
STRATEGY_EXTENSION
Unique id of an extension ofCLocationExpandStrategys that are utilized before this strategy is used. -
EXTENSION_PARAM
Name of a parameter pointing tothisin anExtensionName- See Also:
-
-
Constructor Details
-
DefaultExpandStrategy
Creates a new expand strategy loading extensions if available.- Parameters:
controller- the controller in whose realm this strategy is used
-
-
Method Details
-
expand
Description copied from interface:CLocationExpandStrategyExpandslocationby creating a new location that representsproperty.- Specified by:
expandin interfaceCLocationExpandStrategy- Parameters:
location- the location to expand, notnullproperty- the property to expand, notnull, thesuccessorcan be ignored by this method.- Returns:
- the expanded location, can be
nullto indicate thatpropertycould not be understood
-
expand
Creates a new location by creating the child location oflocationusingpropertyfor that step.- Parameters:
location- the location to expandproperty- the property that is the source of the next location- Returns:
- the new location or
nullif no conversion is possible
-
expand
Creates a new location by creating the child location oflocationusingpropertyfor that step.- Parameters:
location- the location to expandproperty- the property that is the source of the next location- Returns:
- the new location or
nullif no conversion is possible
-
expand
Creates a new location by creating the child location oflocationusingpropertyfor that step.- Parameters:
location- the location to expandproperty- the property that is the source of the next location- Returns:
- the new location or
nullif no conversion is possible
-
expand
Creates a new location by creating the child location oflocationusingpropertyfor that step.- Parameters:
location- the location to expandproperty- the property that is the source of the next location- Returns:
- the new location or
nullif no conversion is possible
-
expand
Creates a new location by creating the child location oflocationusingpropertyfor that step.- Parameters:
location- the location to expandproperty- the property that is the source of the next location- Returns:
- the new location or
nullif no conversion is possible
-
expand
Creates a new location by creating the child location oflocationusingpropertyfor that step.- Parameters:
location- the location to expandproperty- the property that is the source of the next location- Returns:
- the new location or
nullif no conversion is possible
-
expand
Creates a new location by creating the child location oflocationusingpropertyfor that step.- Parameters:
location- the location to expandproperty- the property that is the source of the next location- Returns:
- the new location or
nullif no conversion is possible
-