|
WebObjects 5.4.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.webobjects.eocontrol.EODelayedObserver
com.webobjects.eointerface.EOAssociation
com.webobjects.eointerface.EOWidgetAssociation
com.webobjects.eointerface.EOActionWidgetAssociation
public abstract class 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/interfaces inherited from class com.webobjects.eointerface.EOWidgetAssociation |
|---|
EOWidgetAssociation.WidgetPlugin |
| Field Summary |
|---|
| Fields inherited from class com.webobjects.eocontrol.EODelayedObserver |
|---|
ObserverNumberOfPriorities, ObserverPriorityFifth, ObserverPriorityFirst, ObserverPriorityFourth, ObserverPriorityImmediate, ObserverPriorityLater, ObserverPrioritySecond, ObserverPrioritySixth, ObserverPriorityThird |
| Constructor Summary | |
|---|---|
EOActionWidgetAssociation(Object aDisplayObject)
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 aDisplayObject)
aDisplayObject - display object for this association to manage| Method Detail |
|---|
protected Class widgetPluginClass()
widgetPluginClass in class EOWidgetAssociationpublic abstract void invokeAction()
insertion action.
public void subjectChanged()
subjectChanged in class EOAssociationprotected boolean displayGroupSelectionsAllowEnabled()
false, calls to isEnabled for the association
will return false. Subclasses can override this method
to alter the behavior of isEnabled.
trueprotected 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 otherwiseprotected 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 otherwise
|
Last updated June 2008 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||