public class DefaultSplitDividerStrategy extends Object implements SplitDividerStrategy
SplitDividerStrategy| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultSplitDividerStrategy.Handler
A
DefaultSplitDividerStrategy.Handler is responsible for handling the needs of one SplitDockStation. |
| Constructor and Description |
|---|
DefaultSplitDividerStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected DefaultSplitDividerStrategy.Handler |
createHandlerFor(SplitDockStation station)
Creates a new
DefaultSplitDividerStrategy.Handler for station. |
void |
install(SplitDockStation station,
Component container)
Informs this strategy that
station is going to use it and that container must
be monitored in order to receive MouseEvents. |
void |
paint(SplitDockStation station,
Graphics g)
Allows this strategy to paint onto the
SplitDockStation. |
void |
uninstall(SplitDockStation station)
Informs this strategy that it will no longer be used by
station. |
public void install(SplitDockStation station, Component container)
SplitDividerStrategystation is going to use it and that container must
be monitored in order to receive MouseEvents.install in interface SplitDividerStrategystation - the station whose children are resized by this strategycontainer - the component to monitorpublic void uninstall(SplitDockStation station)
SplitDividerStrategystation.uninstall in interface SplitDividerStrategystation - the station that is no longer using thispublic void paint(SplitDockStation station, Graphics g)
SplitDividerStrategySplitDockStation.paint in interface SplitDividerStrategystation - the station which is paintedg - the graphics context to useprotected DefaultSplitDividerStrategy.Handler createHandlerFor(SplitDockStation station)
DefaultSplitDividerStrategy.Handler for station.station - the station which is to be monitorednullCopyright © 2017 Docking Frames. All rights reserved.