| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.common.location.DefaultExpandStrategy
public class DefaultExpandStrategy
The default implementation of CLocationExpandStrategy. This strategy
 just contains a list for all known DockablePropertys and can react
 to each property accordingly
| Field Summary | |
|---|---|
| static String | EXTENSION_PARAMName of a parameter pointing to thisin anExtensionName | 
| static Path | STRATEGY_EXTENSIONUnique id of an extension of CLocationExpandStrategys that are utilizied before this strategy
 is used. | 
| Constructor Summary | |
|---|---|
| DefaultExpandStrategy(DockController controller)Creates a new expand strategy loading extensions if available. | |
| Method Summary | |
|---|---|
|  CLocation | expand(CLocation location,
       DockableProperty property)Expands locationby creating a new location that representsproperty. | 
| protected  CLocation | expand(CLocation location,
       FlapDockProperty property)Creates a new location by creating the child location of locationusingpropertyfor that step. | 
| protected  CLocation | expand(CLocation location,
       ScreenDockProperty property)Creates a new location by creating the child location of locationusingpropertyfor that step. | 
| protected  CLocation | expand(CLocation location,
       SplitDockFullScreenProperty property)Creates a new location by creating the child location of locationusingpropertyfor that step. | 
| protected  CLocation | expand(CLocation location,
       SplitDockPathProperty property)Creates a new location by creating the child location of locationusingpropertyfor that step. | 
| protected  CLocation | expand(CLocation location,
       SplitDockPlaceholderProperty property)Creates a new location by creating the child location of locationusingpropertyfor that step. | 
| protected  CLocation | expand(CLocation location,
       SplitDockProperty property)Creates a new location by creating the child location of locationusingpropertyfor that step. | 
| protected  CLocation | expand(CLocation location,
       StackDockProperty property)Creates a new location by creating the child location of locationusingpropertyfor that step. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final Path STRATEGY_EXTENSION
CLocationExpandStrategys that are utilizied before this strategy
 is used.
public static final String EXTENSION_PARAM
this in an ExtensionName
| Constructor Detail | 
|---|
public DefaultExpandStrategy(DockController controller)
controller - the controller in whose realm this strategy is used| Method Detail | 
|---|
public 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 understood
protected 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 location
null if no conversion is possible
protected 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 location
null if no conversion is possible
protected 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 location
null if no conversion is possible
protected 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 location
null if no conversion is possible
protected 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 location
null if no conversion is possible
protected 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 location
null if no conversion is possible
protected 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 location
null if no conversion is possible| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||