bibliothek.gui.dock.toolbar.location
Class ToolbarExpandStrategy

java.lang.Object
  extended by bibliothek.gui.dock.toolbar.location.ToolbarExpandStrategy
All Implemented Interfaces:
bibliothek.gui.dock.common.location.CLocationExpandStrategy

public class ToolbarExpandStrategy
extends Object
implements bibliothek.gui.dock.common.location.CLocationExpandStrategy

A CLocationExpandStrategy that handles properties related to toolbars.

Author:
Benjamin Sigg

Constructor Summary
ToolbarExpandStrategy()
           
 
Method Summary
 bibliothek.gui.dock.common.CLocation expand(bibliothek.gui.dock.common.CLocation location, bibliothek.gui.dock.layout.DockableProperty property)
           
protected  bibliothek.gui.dock.common.CLocation expand(bibliothek.gui.dock.common.CLocation location, ToolbarContainerProperty property)
          Creates a new location by creating the child location of location using property for that step.
protected  bibliothek.gui.dock.common.CLocation expand(bibliothek.gui.dock.common.CLocation location, ToolbarGroupProperty property)
          Creates a new location by creating the child location of location using property for that step.
protected  bibliothek.gui.dock.common.CLocation expand(bibliothek.gui.dock.common.CLocation location, ToolbarProperty property)
          Creates a new location by creating the child location of location using property for that step.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolbarExpandStrategy

public ToolbarExpandStrategy()
Method Detail

expand

public bibliothek.gui.dock.common.CLocation expand(bibliothek.gui.dock.common.CLocation location,
                                                   bibliothek.gui.dock.layout.DockableProperty property)
Specified by:
expand in interface bibliothek.gui.dock.common.location.CLocationExpandStrategy

expand

protected bibliothek.gui.dock.common.CLocation expand(bibliothek.gui.dock.common.CLocation location,
                                                      ToolbarProperty property)
Creates a new location by creating the child location of location using property for that step.

Parameters:
location - the location to expand
property - the property that is the source of the next location
Returns:
the new location or null if no conversion is possible

expand

protected bibliothek.gui.dock.common.CLocation expand(bibliothek.gui.dock.common.CLocation location,
                                                      ToolbarGroupProperty property)
Creates a new location by creating the child location of location using property for that step.

Parameters:
location - the location to expand
property - the property that is the source of the next location
Returns:
the new location or null if no conversion is possible

expand

protected bibliothek.gui.dock.common.CLocation expand(bibliothek.gui.dock.common.CLocation location,
                                                      ToolbarContainerProperty property)
Creates a new location by creating the child location of location using property for that step.

Parameters:
location - the location to expand
property - the property that is the source of the next location
Returns:
the new location or null if no conversion is possible