bibliothek.extension.gui.dock.station.split
Class LbSplitLayoutManager
java.lang.Object
bibliothek.gui.dock.station.split.DefaultSplitLayoutManager
bibliothek.extension.gui.dock.station.split.LbSplitLayoutManager
- All Implemented Interfaces:
- SplitLayoutManager
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 Dockable
s, 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 class LbSplitLayoutManager
- extends DefaultSplitLayoutManager
This SplitLayoutManager
uses a SizeManager
to find the size
a Dockable
should get when dropping onto the SplitDockStation
.
- Author:
- Parag Shah, Benjamin Sigg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LbSplitLayoutManager
public LbSplitLayoutManager(SizeManager sizeManager)
- Deprecated.
- Creates a new manager.
- Parameters:
sizeManager
- information about the size of new Dockable
s
calculateDivider
public void calculateDivider(SplitDockStation station,
PutInfo putInfo,
Leaf origin)
- Deprecated.
- Description copied from interface:
SplitLayoutManager
- Calculates the value a divider should have if the
Dockable
of putInfo
is added alongside of origin
. The
result has to be stored directly in putInfo
.
- Specified by:
calculateDivider
in interface SplitLayoutManager
- Overrides:
calculateDivider
in class DefaultSplitLayoutManager
- Parameters:
station
- the station for which the calculation has to be doneputInfo
- the new child of the stationorigin
- a leaf of this station or null