|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.station.split.DefaultSplitDividerStrategy
public class DefaultSplitDividerStrategy
The default implementation of SplitDividerStrategy
Nested Class Summary | |
---|---|
static class |
DefaultSplitDividerStrategy.Handler
A DefaultSplitDividerStrategy.Handler is responsible for handling the needs of one SplitDockStation . |
Constructor Summary | |
---|---|
DefaultSplitDividerStrategy()
|
Method Summary | |
---|---|
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 MouseEvent s. |
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 lonver be used by station . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultSplitDividerStrategy()
Method Detail |
---|
public void install(SplitDockStation station, 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, 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 monitored
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |