|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.themes.basic.action.BasicDropDownButtonHandler.Listener
private class BasicDropDownButtonHandler.Listener
A listener to the action that is handled by this handler
Constructor Summary | |
---|---|
private |
BasicDropDownButtonHandler.Listener()
|
Method Summary | |
---|---|
void |
actionDisabledIconChanged(StandardDockAction action,
java.util.Set<Dockable> dockables)
Invoked when the disabled icon of a StandardDockAction has been changed. |
void |
actionEnabledChanged(StandardDockAction action,
java.util.Set<Dockable> dockables)
Invoked when the enabled-state of a StandardDockAction has been changed. |
void |
actionIconChanged(StandardDockAction action,
java.util.Set<Dockable> dockables)
Invoked when the icon of a StandardDockAction has been changed. |
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 |
actionTextChanged(StandardDockAction action,
java.util.Set<Dockable> dockables)
Invoked when the text of a StandardDockAction has been changed. |
void |
actionTooltipTextChanged(StandardDockAction action,
java.util.Set<Dockable> dockables)
Invoked when the tooltip of a StandardDockAction has been changed. |
void |
selectionChanged(DropDownAction action,
java.util.Set<Dockable> dockables,
DockAction newSelection)
Called when the selection of action has changed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
private BasicDropDownButtonHandler.Listener()
Method Detail |
---|
public void actionEnabledChanged(StandardDockAction action, java.util.Set<Dockable> dockables)
StandardDockActionListener
StandardDockAction
has been changed.
actionEnabledChanged
in interface StandardDockActionListener
action
- The action whose state is changeddockables
- The Dockables
for which the state
was changedStandardDockAction.isEnabled(Dockable)
public void actionIconChanged(StandardDockAction action, java.util.Set<Dockable> dockables)
StandardDockActionListener
StandardDockAction
has been changed.
actionIconChanged
in interface StandardDockActionListener
action
- The action whose icon is changeddockables
- The Dockables
for which the icon
was changedStandardDockAction.getIcon(Dockable)
public void actionDisabledIconChanged(StandardDockAction action, java.util.Set<Dockable> dockables)
StandardDockActionListener
StandardDockAction
has been changed.
actionDisabledIconChanged
in interface StandardDockActionListener
action
- The action whose icon is changeddockables
- The Dockables
for which the icon
was changedStandardDockAction.getIcon(Dockable)
public void actionTextChanged(StandardDockAction action, java.util.Set<Dockable> dockables)
StandardDockActionListener
StandardDockAction
has been changed.
actionTextChanged
in interface StandardDockActionListener
action
- The action whose text is changeddockables
- The Dockables
for which the text
was changedStandardDockAction.getText(Dockable)
public void actionTooltipTextChanged(StandardDockAction action, java.util.Set<Dockable> dockables)
StandardDockActionListener
StandardDockAction
has been changed.
actionTooltipTextChanged
in interface StandardDockActionListener
action
- The action whose tooltip is changeddockables
- The Dockables
for which the tooltip
was changedStandardDockAction.getTooltipText(Dockable)
public void selectionChanged(DropDownAction action, java.util.Set<Dockable> dockables, DockAction newSelection)
DropDownActionListener
action
has changed.
selectionChanged
in interface DropDownActionListener
action
- the action whose selection is changeddockables
- the set of Dockables
for which
the selection has changednewSelection
- the new selected child, might be null
public 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
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |