|
||||||||||
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 |
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 |
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)
DockableListener
DockTitle
was bound
to a Dockable
.
titleBound
in interface DockableListener
dockable
- the Dockable
whose title is settitle
- the new titlepublic void titleUnbound(Dockable dockable, DockTitle title)
DockableListener
DockTitle
was unbound
from a Dockable
.
titleUnbound
in interface DockableListener
dockable
- the Dockable
whose title was removedtitle
- the remove titlepublic void titleTextChanged(Dockable dockable, String oldTitle, String newTitle)
DockableListener
Dockable
has changed.
titleTextChanged
in interface DockableListener
dockable
- the Dockable
whose title is changedoldTitle
- the title before the changenewTitle
- the title after the changepublic void titleIconChanged(Dockable dockable, Icon oldIcon, Icon newIcon)
DockableListener
Dockable
has changed
titleIconChanged
in interface DockableListener
dockable
- the Dockable
whose title is changedoldIcon
- the old icon, may be null
newIcon
- the new icon, may be null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |