|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.apache.cocoon.forms.event.WidgetEvent
org.apache.cocoon.forms.event.ValueChangedEvent
org.apache.cocoon.forms.event.DeferredValueChangedEvent
A ValueChangedEvent
that defers getting the new value from the widget
until it's actually requested.
This allows widget validity to be checked only if a listener actually uses the value, thus avoiding unnecessary validation warnings when a user clicks an action.
Field Summary |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
DeferredValueChangedEvent(Widget source,
Object oldValue)
|
Method Summary | |
Object |
getNewValue()
|
Methods inherited from class org.apache.cocoon.forms.event.ValueChangedEvent |
getOldValue |
Methods inherited from class org.apache.cocoon.forms.event.WidgetEvent |
getSourceWidget |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DeferredValueChangedEvent(Widget source, Object oldValue)
Method Detail |
public Object getNewValue()
getNewValue
in class ValueChangedEvent
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |