com.tensegrity.gui.swing.control
Interface SwingActionComponent
- public interface SwingActionComponent
Every now and then it appears that users need to use non-standard components
for standard containers, such as Menu's, MenuBar's, ToolBar's, etc. If you still
want your custom Components to benefit from the built-in enable/disable
mechanism you need to provide an Action, which determines, whether the
component is enabled or disabled. This implementations of this interface will
be recognized during that process and their state set correctly. See the
SwingCommandRegistry.getAction(String)
method on how to obtain such an Action.
- Version:
- $Id: SwingActionComponent.java,v 1.2 2004/07/21 14:31:56 GillesIachelini Exp $
- Author:
- GillesIachelini
|
Method Summary |
javax.swing.Action |
getAction()
Returns an instance of Action which will be used to identify the state for this
Component. |
getAction
public javax.swing.Action getAction()
- Returns an instance of Action which will be used to identify the state for this
Component.
- Returns:
- the Action instance of this SwingComponent.
Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.