|
WebObjects 5.2.3 | ||||||||||
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 |
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 manageMethod 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
.
true
public 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 EOAssociation
false
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 EOAssociation
index
- 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 EOAssociation
protected Class widgetPluginClass()
widgetPluginClass
in class EOWidgetAssociation
|
Last updated Thu Oct 21 15:04:16 PDT 2004. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |