|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.event.DockableAdapter
public abstract class DockableAdapter
An abstract class implementing the DockableListener. All
methods in this class are empty. The class can be used instead of
DockableListener, and only a few selected methods have to
be implemented again.
| Constructor Summary | |
|---|---|
DockableAdapter()
|
|
| Method Summary | |
|---|---|
void |
titleBound(Dockable dockable,
DockTitle title)
Will be invoked when a DockTitle was bound
to a Dockable. |
void |
titleExchanged(Dockable dockable,
DockTitle title)
Invoked when the properties of a Dockable have a so dramatically
changed, that the DockTitle title is no longer
considered a good title and should be replaced. |
void |
titleIconChanged(Dockable dockable,
Icon oldIcon,
Icon newIcon)
Invoked when the title-icon of a Dockable has changed |
void |
titleTextChanged(Dockable dockable,
String oldTitle,
String newTitle)
Invoked when the title of a Dockable has changed. |
void |
titleToolTipChanged(Dockable dockable,
String oldTooltip,
String newTooltip)
Called when the tooltip of a Dockable changed. |
void |
titleUnbound(Dockable dockable,
DockTitle title)
Will be invoked when a DockTitle was unbound
from a Dockable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DockableAdapter()
| Method Detail |
|---|
public void titleBound(Dockable dockable,
DockTitle title)
DockableListenerDockTitle was bound
to a Dockable.
titleBound in interface DockableListenerdockable - the Dockable whose title is settitle - the new title
public void titleUnbound(Dockable dockable,
DockTitle title)
DockableListenerDockTitle was unbound
from a Dockable.
titleUnbound in interface DockableListenerdockable - the Dockable whose title was removedtitle - the remove title
public void titleTextChanged(Dockable dockable,
String oldTitle,
String newTitle)
DockableListenerDockable has changed.
titleTextChanged in interface DockableListenerdockable - the Dockable whose title is changedoldTitle - the title before the changenewTitle - the title after the change
public void titleToolTipChanged(Dockable dockable,
String oldTooltip,
String newTooltip)
DockableListenerDockable changed.
titleToolTipChanged in interface DockableListenerdockable - the dockable whose tooltip changedoldTooltip - the old valuenewTooltip - the new value
public void titleIconChanged(Dockable dockable,
Icon oldIcon,
Icon newIcon)
DockableListenerDockable has changed
titleIconChanged in interface DockableListenerdockable - the Dockable whose title is changedoldIcon - the old icon, may be nullnewIcon - the new icon, may be null
public void titleExchanged(Dockable dockable,
DockTitle title)
DockableListenerDockable have a so dramatically
changed, that the DockTitle title is no longer
considered a good title and should be replaced. The one element which shows
title should unbind it, and request a new title.
titleExchanged in interface DockableListenerdockable - the source of the eventtitle - the title that should be discarded, can be null
to alert elements which do show the null-title
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||