bibliothek.extension.gui.dock.station.split
Interface SizeManager

All Known Implementing Classes:
DockFrontendSizeManager

Deprecated. Due to the new placeholder mechanism this class/interface has become obsolete, it is no longer used anywhere. Clients should now use a PlaceholderStrategy to assign identifiers to the Dockables, with these identifiers the location and size of a Dockable is stored in a much more consistent way than using the LbSplitLayoutManager. This class/interface will be removed in a future release.

@Deprecated
@Todo(compatibility=BREAK_MINOR,
      priority=ENHANCEMENT,
      target=VERSION_1_1_1,
      description="remove this class")
public interface SizeManager

This manager knows the preferred size of some Dockables, compared to the size of their parent node in a SplitDockStation.

Author:
Parag Shah, Benjamin Sigg

Method Summary
 double getSize(Dockable dockable)
          Deprecated. Gets the size that dockable should have compared to the size of its parent Node in a SplitDockStation.
 

Method Detail

getSize

double getSize(Dockable dockable)
Deprecated. 
Gets the size that dockable should have compared to the size of its parent Node in a SplitDockStation. The result of this method is multiplied with the size of the node in order to get the final size of dockable.

Parameters:
dockable - some element whose size is requested
Returns:
a value between 0 and 1, or below 0 to indicate that no size is available