|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DockableListener
A listener which is added to a Dockable
. These listeners are manly
used to update the titles of a Dockable
whenever necessary.
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 . |
Method Detail |
---|
void titleBound(Dockable dockable, DockTitle title)
DockTitle
was bound
to a Dockable
.
dockable
- the Dockable
whose title is settitle
- the new titlevoid titleUnbound(Dockable dockable, DockTitle title)
DockTitle
was unbound
from a Dockable
.
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 changed
dockable
- 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |