uic.action
Class WindowRepresenterToolBarRemovedAction
java.lang.Object
uic.model.UICSimpleAction
uic.action.SwingAction
uic.action.WindowRepresenterToolBarAddedAction
uic.action.WindowRepresenterToolBarRemovedAction
- All Implemented Interfaces:
- ToolBarListener
public class WindowRepresenterToolBarRemovedAction
- extends WindowRepresenterToolBarAddedAction
An event to respond to ToolBar events.
Notice that the default version uses the OnlyLastPolicy.
Using this class is easy; just call:
new WindowRepresenterToolBarRemovedAction(this, "firedSlot").add(WindowRepresenter.getInstance(myWindow));
This has the result that when the a new toolbar is added to the Window the
'firedSlot' on object 'this' will be called.
- Default target signatures
- (ARGUMENT_TOOLBAR)
()
- All Targets
WindowRepresenterToolBarAddedAction.ARGUMENT_TOOLBAR
- Since:
- 2.0
| Methods inherited from class uic.model.UICSimpleAction |
createArguments, equals, execute, execute, execute, execute, isEnabled, setDirect, setExecutionPolicy, setTarget, setTarget |
WindowRepresenterToolBarRemovedAction
public WindowRepresenterToolBarRemovedAction(Object targetObject,
String targetMethod)
- Create a new WindowRepresenterToolBarRemovedAction.
- Parameters:
targetObject - on which object should the target method be invokedtargetMethod - wich method on the targetObject should be invoked
WindowRepresenterToolBarRemovedAction
public WindowRepresenterToolBarRemovedAction(Object targetObject,
String targetMethod,
UICSimpleAction.Arguments arguments)
- Create a new WindowRepresenterToolBarRemovedAction.
- Parameters:
targetObject - on which object should the target method be invokedtargetMethod - wich method on the targetObject should be invokedarguments - to be used in finding the targetMethod signature- See Also:
UICSimpleAction.setTarget(Object,String,uic.model.UICSimpleAction.Arguments)
toolBarAdded
public void toolBarAdded(ToolBarEvent evt)
- Specified by:
toolBarAdded in interface ToolBarListener- Overrides:
toolBarAdded in class WindowRepresenterToolBarAddedAction
toolBarMoved
public void toolBarMoved(ToolBarEvent evt)
- Specified by:
toolBarMoved in interface ToolBarListener- Overrides:
toolBarMoved in class WindowRepresenterToolBarAddedAction
Copyright © 2002-2004 Thomas Zander Available under the Free Apache licence