|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.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 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 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)
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 this
public 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 monitored
null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||