public class DefaultExpandStrategy extends Object implements CLocationExpandStrategy
CLocationExpandStrategy. This strategy
just contains a list for all known DockablePropertys and can react
to each property accordingly| Modifier and Type | Field and Description |
|---|---|
static String |
EXTENSION_PARAM
Name of a parameter pointing to
this in an ExtensionName |
static Path |
STRATEGY_EXTENSION
Unique id of an extension of
CLocationExpandStrategys that are utilized before this strategy
is used. |
| Constructor and Description |
|---|
DefaultExpandStrategy(DockController controller)
Creates a new expand strategy loading extensions if available.
|
| Modifier and Type | Method and Description |
|---|---|
CLocation |
expand(CLocation location,
DockableProperty property)
Expands
location by creating a new location that represents
property. |
protected CLocation |
expand(CLocation location,
FlapDockProperty property)
Creates a new location by creating the child location of
location using
property for that step. |
protected CLocation |
expand(CLocation location,
ScreenDockProperty property)
Creates a new location by creating the child location of
location using
property for that step. |
protected CLocation |
expand(CLocation location,
SplitDockFullScreenProperty property)
Creates a new location by creating the child location of
location using
property for that step. |
protected CLocation |
expand(CLocation location,
SplitDockPathProperty property)
Creates a new location by creating the child location of
location using
property for that step. |
protected CLocation |
expand(CLocation location,
SplitDockPlaceholderProperty property)
Creates a new location by creating the child location of
location using
property for that step. |
protected CLocation |
expand(CLocation location,
SplitDockProperty property)
Creates a new location by creating the child location of
location using
property for that step. |
protected CLocation |
expand(CLocation location,
StackDockProperty property)
Creates a new location by creating the child location of
location using
property for that step. |
public static final Path STRATEGY_EXTENSION
CLocationExpandStrategys that are utilized before this strategy
is used.public static final String EXTENSION_PARAM
this in an ExtensionNamepublic DefaultExpandStrategy(DockController controller)
controller - the controller in whose realm this strategy is usedpublic CLocation expand(CLocation location, DockableProperty property)
CLocationExpandStrategylocation by creating a new location that represents
property.expand in interface CLocationExpandStrategylocation - the location to expand, not nullproperty - the property to expand, not null, the
successor can be ignored by this method.null to indicate that
property could not be understoodprotected CLocation expand(CLocation location, FlapDockProperty property)
location using
property for that step.location - the location to expandproperty - the property that is the source of the next locationnull if no conversion is possibleprotected CLocation expand(CLocation location, ScreenDockProperty property)
location using
property for that step.location - the location to expandproperty - the property that is the source of the next locationnull if no conversion is possibleprotected CLocation expand(CLocation location, SplitDockFullScreenProperty property)
location using
property for that step.location - the location to expandproperty - the property that is the source of the next locationnull if no conversion is possibleprotected CLocation expand(CLocation location, SplitDockPathProperty property)
location using
property for that step.location - the location to expandproperty - the property that is the source of the next locationnull if no conversion is possibleprotected CLocation expand(CLocation location, SplitDockPlaceholderProperty property)
location using
property for that step.location - the location to expandproperty - the property that is the source of the next locationnull if no conversion is possibleprotected CLocation expand(CLocation location, SplitDockProperty property)
location using
property for that step.location - the location to expandproperty - the property that is the source of the next locationnull if no conversion is possibleprotected CLocation expand(CLocation location, StackDockProperty property)
location using
property for that step.location - the location to expandproperty - the property that is the source of the next locationnull if no conversion is possibleCopyright © 2018. All rights reserved.