public class FlapSpanStrategy extends ListSpanStrategy
Spans of a FlapDockStation.| Constructor and Description |
|---|
FlapSpanStrategy(FlapDockStation station,
ButtonPane buttons)
Creates a new strategy.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
getNumberOfDockables()
Gets the number of
Dockables that are actually shown on the station. |
protected boolean |
isHorizontal()
Tells whether the orientation of the underlying
DockStation currently is horizontal. |
protected void |
spanResized()
Called if at least one
Span changed its size |
getGap, getTeasing, reset, setController, size, tease, unteasepublic FlapSpanStrategy(FlapDockStation station, ButtonPane buttons)
station - the owner of this strategybuttons - the panel showing all buttonsprotected int getNumberOfDockables()
ListSpanStrategyDockables that are actually shown on the station.getNumberOfDockables in class ListSpanStrategyDockablesprotected boolean isHorizontal()
ListSpanStrategyDockStation currently is horizontal.
A station is horizontal if the Dockables are ordered in a list going from the left side
of the station to the right side.isHorizontal in class ListSpanStrategyprotected void spanResized()
ListSpanStrategySpan changed its sizespanResized in class ListSpanStrategyCopyright © 2017 Docking Frames. All rights reserved.