WebObjects 5.4.2

com.webobjects.eointerface
Class EOActionWidgetAssociation.ActionPlugin

java.lang.Object
  extended by com.webobjects.eointerface.EOWidgetAssociation.WidgetPlugin
      extended by com.webobjects.eointerface.EOActionWidgetAssociation.ActionPlugin
All Implemented Interfaces:
NSDisposable
Direct Known Subclasses:
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/interfaces 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 June 2008

Copyright © 2000-2008 Apple Inc.