protected class BasicHandler.Listener extends java.lang.Object implements StandardDockActionListener
Modifier | Constructor and Description |
---|---|
protected |
Listener() |
Modifier and Type | Method and Description |
---|---|
void |
actionEnabledChanged(StandardDockAction action,
java.util.Set<Dockable> dockables)
Invoked when the enabled-state of a
StandardDockAction has been changed. |
void |
actionIconChanged(StandardDockAction action,
ActionContentModifier modifier,
java.util.Set<Dockable> dockables)
Invoked when the icon of a
StandardDockAction has been changed. |
void |
actionRepresentativeChanged(StandardDockAction action,
java.util.Set<Dockable> dockables)
Invoked when the representative-property of a
StandardDockAction has been changed. |
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. |
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, ActionContentModifier modifier, java.util.Set<Dockable> dockables)
StandardDockActionListener
StandardDockAction
has been changed.actionIconChanged
in interface StandardDockActionListener
action
- The action whose icon is changedmodifier
- the context in which the icon is used, can be null
to indicate that all icons changeddockables
- The Dockables
for which the icon
was changedStandardDockAction.getIcon(Dockable, ActionContentModifier)
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 actionRepresentativeChanged(StandardDockAction action, java.util.Set<Dockable> dockables)
StandardDockActionListener
StandardDockAction
has been changed.actionRepresentativeChanged
in interface StandardDockActionListener
action
- the action whose property changeddockables
- all the affected Dockable
s.