com.webobjects.eointerface
Class EOActionWidgetAssociation.ActionPlugin
java.lang.Object
com.webobjects.eointerface.EOWidgetAssociation.WidgetPlugin
com.webobjects.eointerface.EOActionWidgetAssociation.ActionPlugin
- All Implemented Interfaces:
- NSDisposable
- Direct Known Subclasses:
- EOCocoaButtonPlugin, EOSwingButtonPlugin
- Enclosing class:
- EOActionWidgetAssociation
- public abstract static class EOActionWidgetAssociation.ActionPlugin
- extends EOWidgetAssociation.WidgetPlugin
ActionPlugin is an abstract superclass for plugins that provide
a layer of abstraction between user interface widgets and
EOActionWidgetAssociation subclasses. When a user interface element (like a button)
connected to an EOActionWidgetAssociation subclass is manipulated (pressed),
the plugin calls the invokeAction method of its association.
Method Summary |
abstract void |
setEnabled(boolean flag)
Set whether or not the user should be able to manipulate the
association's User Interface widget. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EOActionWidgetAssociation.ActionPlugin
public EOActionWidgetAssociation.ActionPlugin(EOWidgetAssociation association,
Object widget)
- Subclasses should override this constructor to perform any additional setup and then
invoke super's implementation.
- Parameters:
association
- EOActionWidgetAssociation that the plugin will communicate withwidget
- the UI widget that the plugin will communicate with
setEnabled
public abstract void setEnabled(boolean flag)
- Set whether or not the user should be able to manipulate the
association's User Interface widget.
- Parameters:
flag
- true
if the user should be able to use the widget
false
otherwise
Copyright © 2004 Apple Computer, Inc.