bibliothek.gui.dock.themes.basic.action
Class BasicHandler.Listener

java.lang.Object
  extended by bibliothek.gui.dock.themes.basic.action.BasicHandler.Listener
All Implemented Interfaces:
StandardDockActionListener
Enclosing class:
BasicHandler<D extends StandardDockAction>

protected class BasicHandler.Listener
extends Object
implements StandardDockActionListener

A listener to the action of the enclosing handler. This listener forwards every change in the action to the model.

Author:
Benjamin Sigg

Constructor Summary
protected BasicHandler.Listener()
           
 
Method Summary
 void actionDisabledIconChanged(StandardDockAction action, Set<Dockable> dockables)
          Invoked when the disabled icon of a StandardDockAction has been changed.
 void actionEnabledChanged(StandardDockAction action, Set<Dockable> dockables)
          Invoked when the enabled-state of a StandardDockAction has been changed.
 void actionIconChanged(StandardDockAction action, Set<Dockable> dockables)
          Invoked when the icon of a StandardDockAction has been changed.
 void actionTextChanged(StandardDockAction action, Set<Dockable> dockables)
          Invoked when the text of a StandardDockAction has been changed.
 void actionTooltipTextChanged(StandardDockAction action, Set<Dockable> dockables)
          Invoked when the tooltip of a StandardDockAction has been changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicHandler.Listener

protected BasicHandler.Listener()
Method Detail

actionDisabledIconChanged

public void actionDisabledIconChanged(StandardDockAction action,
                                      Set<Dockable> dockables)
Description copied from interface: StandardDockActionListener
Invoked when the disabled icon of a StandardDockAction has been changed.

Specified by:
actionDisabledIconChanged in interface StandardDockActionListener
Parameters:
action - The action whose icon is changed
dockables - The Dockables for which the icon was changed
See Also:
StandardDockAction.getIcon(Dockable)

actionEnabledChanged

public void actionEnabledChanged(StandardDockAction action,
                                 Set<Dockable> dockables)
Description copied from interface: StandardDockActionListener
Invoked when the enabled-state of a StandardDockAction has been changed.

Specified by:
actionEnabledChanged in interface StandardDockActionListener
Parameters:
action - The action whose state is changed
dockables - The Dockables for which the state was changed
See Also:
StandardDockAction.isEnabled(Dockable)

actionIconChanged

public void actionIconChanged(StandardDockAction action,
                              Set<Dockable> dockables)
Description copied from interface: StandardDockActionListener
Invoked when the icon of a StandardDockAction has been changed.

Specified by:
actionIconChanged in interface StandardDockActionListener
Parameters:
action - The action whose icon is changed
dockables - The Dockables for which the icon was changed
See Also:
StandardDockAction.getIcon(Dockable)

actionTextChanged

public void actionTextChanged(StandardDockAction action,
                              Set<Dockable> dockables)
Description copied from interface: StandardDockActionListener
Invoked when the text of a StandardDockAction has been changed.

Specified by:
actionTextChanged in interface StandardDockActionListener
Parameters:
action - The action whose text is changed
dockables - The Dockables for which the text was changed
See Also:
StandardDockAction.getText(Dockable)

actionTooltipTextChanged

public void actionTooltipTextChanged(StandardDockAction action,
                                     Set<Dockable> dockables)
Description copied from interface: StandardDockActionListener
Invoked when the tooltip of a StandardDockAction has been changed.

Specified by:
actionTooltipTextChanged in interface StandardDockActionListener
Parameters:
action - The action whose tooltip is changed
dockables - The Dockables for which the tooltip was changed
See Also:
StandardDockAction.getTooltipText(Dockable)