public interface DockableListener
Dockable
. These listeners are manly
used to update the titles of a Dockable
whenever necessary.Modifier and Type | Method and Description |
---|---|
void |
titleBound(Dockable dockable,
DockTitle title)
|
void |
titleExchanged(Dockable dockable,
DockTitle title)
|
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)
|
void titleBound(Dockable dockable, DockTitle title)
dockable
- the Dockable
whose title is settitle
- the new titlevoid titleUnbound(Dockable dockable, DockTitle title)
dockable
- the Dockable
whose title was removedtitle
- the remove titlevoid titleTextChanged(Dockable dockable, String oldTitle, String newTitle)
Dockable
has changed.dockable
- the Dockable
whose title is changedoldTitle
- the title before the changenewTitle
- the title after the changevoid titleIconChanged(Dockable dockable, Icon oldIcon, Icon newIcon)
Dockable
has changeddockable
- the Dockable
whose title is changedoldIcon
- the old icon, may be null
newIcon
- the new icon, may be null
void titleToolTipChanged(Dockable dockable, String oldToolTip, String newToolTip)
Dockable
changed.dockable
- the dockable whose tooltip changedoldToolTip
- the old valuenewToolTip
- the new valuevoid titleExchanged(Dockable dockable, DockTitle title)
Dockable
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.dockable
- the source of the eventtitle
- the title that should be discarded, can be null
to alert elements which do show the null
-title