|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.title.AbstractDockTitle.Listener
private class AbstractDockTitle.Listener
A listener to the Dockable
and the DockActionSource
of this title.
Constructor Summary | |
---|---|
private |
AbstractDockTitle.Listener()
|
Method Summary | |
---|---|
void |
actionsAdded(DockActionSource source,
int firstIndex,
int lastIndex)
Invoked when one or more actions are added to the source . |
void |
actionsRemoved(DockActionSource source,
int firstIndex,
int lastIndex)
Invoked if one or more actions are removed from the source . |
void |
titleBinded(Dockable dockable,
DockTitle title)
Will be invoked when a DockTitle was binded
to a Dockable . |
void |
titleIconChanged(Dockable dockable,
javax.swing.Icon oldIcon,
javax.swing.Icon newIcon)
Invoked when the title-icon of a Dockable has changed |
void |
titleTextChanged(Dockable dockable,
java.lang.String oldTitle,
java.lang.String newTitle)
Invoked when the title of a Dockable has changed. |
void |
titleUnbinded(Dockable dockable,
DockTitle title)
Will be invoked when a DockTitle was unbinded
from a Dockable . |
private void |
update()
Ensures that all mini buttons are visible, and the layout is up to date. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
private AbstractDockTitle.Listener()
Method Detail |
---|
public void titleIconChanged(Dockable dockable, javax.swing.Icon oldIcon, javax.swing.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
public void titleTextChanged(Dockable dockable, java.lang.String oldTitle, java.lang.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 titleUnbinded(Dockable dockable, DockTitle title)
DockableListener
DockTitle
was unbinded
from a Dockable
.
titleUnbinded
in interface DockableListener
dockable
- the Dockable
whose title was removedtitle
- the remove titlepublic void titleBinded(Dockable dockable, DockTitle title)
DockableListener
DockTitle
was binded
to a Dockable
.
titleBinded
in interface DockableListener
dockable
- the Dockable
whose title is settitle
- the new titlepublic void actionsAdded(DockActionSource source, int firstIndex, int lastIndex)
DockActionSourceListener
source
.
actionsAdded
in interface DockActionSourceListener
source
- the origin of the eventfirstIndex
- the index of the first new actionlastIndex
- the index of the last new action. This value
must be greater or equal to firstIndex
.public void actionsRemoved(DockActionSource source, int firstIndex, int lastIndex)
DockActionSourceListener
source
.
actionsRemoved
in interface DockActionSourceListener
source
- the origin of the event.firstIndex
- the index of the first action that was removedlastIndex
- the index of the last action that was removed. This
argument is greater or equal to firstIndex
.private void update()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |