| 
WebObjects 5.2.2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
  |
  +--com.webobjects.eocontrol.EODelayedObserver
        |
        +--com.webobjects.eointerface.EOAssociation
              |
              +--com.webobjects.eointerface.EOWidgetAssociation
                    |
                    +--com.webobjects.eointerface.EOActionWidgetAssociation
EOActionWidgetAssociation is an abstract superclass for associations that invoke methods on objects in response to an action in a user interface widget
| Nested Class Summary | |
static class | 
EOActionWidgetAssociation.ActionPlugin
ActionPlugin is an abstract superclass for plugins that provide a layer of abstraction between user interface widgets and EOActionWidgetAssociation subclasses.  | 
| Nested classes inherited from class com.webobjects.eointerface.EOWidgetAssociation | 
 | 
| Field Summary | 
| Fields inherited from class com.webobjects.eocontrol.EODelayedObserver | 
ObserverNumberOfPriorities, ObserverPriorityFifth, ObserverPriorityFirst, ObserverPriorityFourth, ObserverPriorityImmediate, ObserverPriorityLater, ObserverPrioritySecond, ObserverPrioritySixth, ObserverPriorityThird | 
| Constructor Summary | |
EOActionWidgetAssociation(Object object)
Subclasses should override this contructor to do any custom instance initialization and invoke super's implementation.  | 
|
| Method Summary | |
protected  boolean | 
displayGroupSelectionsAllowEnabled()
Evaluates whether the state of the association's display groups should allow the association to be enabled.  | 
abstract  void | 
invokeAction()
Tells the action widget association to perform it's action.  | 
protected  boolean | 
isEnabled()
If true, this association is enabled. | 
protected  boolean | 
isEnabledAtIndex(int index)
If true, this association is enabled for the object at index index
 in the display group's displayed objects array. | 
 void | 
subjectChanged()
See the subjectChanged method description in the superclass EOAssociation.  | 
protected  Class | 
widgetPluginClass()
Specifies the widget plugin class this association can work wth.  | 
| Methods inherited from class com.webobjects.eointerface.EOWidgetAssociation | 
canSupportValueFormatter, defaultPrefersContinuousChangeNotification, dispose, isUsableWithObject, objectKeysTaken, prefersContinuousChangeNotification, setDefaultPrefersContinuousChangeNotification, setObject, setPrefersContinuousChangeNotification, setValueFormatter, valueFormatter, widgetPlugin | 
| Methods inherited from class com.webobjects.eocontrol.EODelayedObserver | 
discardPendingNotification, objectWillChange, observerQueue | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public EOActionWidgetAssociation(Object object)
| Method Detail | 
protected boolean displayGroupSelectionsAllowEnabled()
false, calls to isEnabled for the association
 will return false. Subclasses can override this method
 to alter the behavior of isEnabled.
truepublic abstract void invokeAction()
insertion action.
protected boolean isEnabled()
true, this association is enabled. If false, this association's invokeAction
 method has no effect.
isEnabled in class EOAssociationfalse if super.isEnabled() returns false or
          displayGroupSelectionsAllowEnabled returns false; true otherwiseprotected boolean isEnabledAtIndex(int index)
true, this association is enabled for the object at index index
 in the display group's displayed objects array. If false, this association's invokeAction
 method has no effect.
isEnabledAtIndex in class EOAssociationindex - index of object in the association's EODisplayGroup bound to
		the enabled aspect
false if super's isEnabledAtIndex method returns false or
 		displayGroupSelectionsAllowEnabled returns false; true otherwisepublic void subjectChanged()
subjectChanged in class EOAssociationprotected Class widgetPluginClass()
widgetPluginClass in class EOWidgetAssociation
  | 
Last updated Mon Oct 13 15:42:52 PDT 2003. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||