public class DefaultSplitDividerStrategy extends java.lang.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,
java.awt.Component container)
Informs this strategy that
station is going to use it and that container must
be monitored in order to receive MouseEvent s. |
void |
paint(SplitDockStation station,
java.awt.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, java.awt.Component container)
SplitDividerStrategy
station
is going to use it and that container
must
be monitored in order to receive MouseEvent
s.install
in interface SplitDividerStrategy
station
- the station whose children are resized by this strategycontainer
- the component to monitorpublic void uninstall(SplitDockStation station)
SplitDividerStrategy
station
.uninstall
in interface SplitDividerStrategy
station
- the station that is no longer using this
public void paint(SplitDockStation station, java.awt.Graphics g)
SplitDividerStrategy
SplitDockStation
.paint
in interface SplitDividerStrategy
station
- 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 monitorednull