|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.station.OrientationObserver
public abstract class OrientationObserver
The OrientationObserver adds itself as OrientingDockStationListener to the first
OrientingDockStation that is found as parent of a specific Dockable.
| Constructor Summary | |
|---|---|
OrientationObserver(bibliothek.gui.Dockable dockable)
Creates a new observer |
|
| Method Summary | |
|---|---|
void |
changed(OrientingDockStationEvent event)
Called if the Orientation of one or many children of some
OrientingDockStation has changed. |
void |
destroy()
Destroyes this observer, all resources are prepared for garbage collection. |
bibliothek.gui.Dockable |
getDockable()
Gets the Dockable which is monitored by this OrientationObserver. |
Orientation |
getOrientation()
Gets the Orientation that should currently be applied to the dockable, |
protected abstract void |
orientationChanged(Orientation current)
Called if the orientation of the dockable changed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OrientationObserver(bibliothek.gui.Dockable dockable)
dockable - the element whose parent OrientingDockStation should be observed| Method Detail |
|---|
public void destroy()
public bibliothek.gui.Dockable getDockable()
Dockable which is monitored by this OrientationObserver.
nullprotected abstract void orientationChanged(Orientation current)
the dockable changed. This method may be called several
times with the same argument.
current - the new orientation, can null if the dockable does not have
an OrientingDockStation as parentpublic Orientation getOrientation()
Orientation that should currently be applied to the dockable,
null if the dockable does not have an OrientingDockStation
as parent.public void changed(OrientingDockStationEvent event)
OrientingDockStationListenerOrientation of one or many children of some
OrientingDockStation has changed.
changed in interface OrientingDockStationListenerevent - detailed information about the event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||