WebObjects 5.2.3

com.webobjects.eointerface
Class EOActionWidgetAssociation.ActionPlugin

java.lang.Object
  extended bycom.webobjects.eointerface.EOWidgetAssociation.WidgetPlugin
      extended bycom.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.


Nested Class Summary
 
Nested classes inherited from class com.webobjects.eointerface.EOWidgetAssociation.WidgetPlugin
EOWidgetAssociation.WidgetPlugin.Formatting
 
Constructor Summary
EOActionWidgetAssociation.ActionPlugin(EOWidgetAssociation association, Object widget)
          Subclasses should override this constructor to perform any additional setup and then invoke super's implementation.
 
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 com.webobjects.eointerface.EOWidgetAssociation.WidgetPlugin
association, breakConnection, dispose, establishConnection, unacceptableAspects, widget, widgetKeysTaken
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 with
widget - the UI widget that the plugin will communicate with
Method Detail

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

Last updated Thu Oct 21 15:04:16 PDT 2004.

Copyright © 2004 Apple Computer, Inc.