bibliothek.gui.dock.common.location
Interface CLocationExpandStrategy

All Known Implementing Classes:
DefaultExpandStrategy

public interface CLocationExpandStrategy

This strategy tells a CLocation how to represents a DockableProperty.

Author:
Benjamin Sigg

Method Summary
 CLocation expand(CLocation location, DockableProperty property)
          Expands location by creating a new location that represents property.
 

Method Detail

expand

CLocation expand(CLocation location,
                 DockableProperty property)
Expands location by creating a new location that represents property.

Parameters:
location - the location to expand, not null
property - the property to expand, not null, the successor can be ignored by this method.
Returns:
the expanded location, can be null to indicate that property could not be understood