|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.extension.gui.dock.theme.eclipse.displayer.TitleBarObserver
public abstract class TitleBarObserver
This class adds an EclipseThemeConnectorListener
automatically
to the current EclipseThemeConnector
and calls invalidated()
if the current EclipseThemeConnector.TitleBar
for some Dockable
does not fit
a previously given description.
Constructor Summary | |
---|---|
TitleBarObserver(DockStation station,
Dockable dockable,
EclipseThemeConnector.TitleBar titleBar)
Creates a new observer. |
Method Summary | |
---|---|
void |
destroy()
Disposes this observer, this observer will neither receive nor send events after this method has been called. |
protected abstract void |
invalidated()
Called if an invalid EclipseThemeConnector.TitleBar has been chosen, this
method is called only once. |
void |
setController(DockController controller)
Sets the controller to read the current EclipseThemeConnector . |
void |
setDockable(Dockable dockable)
Exchanges the checked dockable, does not trigger invalidated() . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TitleBarObserver(DockStation station, Dockable dockable, EclipseThemeConnector.TitleBar titleBar)
station
- the current or future parent of dockable
dockable
- the dockable whose EclipseThemeConnector.TitleBar
is checkedtitleBar
- the value that is validMethod Detail |
---|
public void setDockable(Dockable dockable)
invalidated()
.
dockable
- the new dockable, may be null
public void setController(DockController controller)
EclipseThemeConnector
.
controller
- the controller, null
is allowed
and will not trigger invalidated()
public void destroy()
protected abstract void invalidated()
EclipseThemeConnector.TitleBar
has been chosen, this
method is called only once. This observer is destroy()
ed
before this method is called.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |