|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.lang.enum.Enum org.apache.tapestry.form.FormEventType
public class FormEventType
Lists different types of JavaScript events that can be associated
with a Form
via Form.addEventHandler(FormEventType, String)
.
Field Summary | |
---|---|
static FormEventType |
RESET
Form event triggered when the form is reset; this allows an event handler to deal with any special cases related to resetting. |
static FormEventType |
SUBMIT
Form event triggered when the form is submitted. |
Method Summary | |
---|---|
boolean |
getCombineUsingAnd()
Returns true if multiple functions should be combined with the && operator. |
String |
getPropertyName()
Returns the DOM property corresponding to event type (used when generating client-side scripting). |
Methods inherited from class org.apache.commons.lang.enum.Enum |
---|
compareTo, equals, getEnum, getEnumList, getEnumMap, getName, hashCode, iterator, readResolve, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final FormEventType SUBMIT
The JavaScript method should return true
or
false
. If there are multiple event handlers for the form
they will be combined using the binary and operator (&&
).
public static final FormEventType RESET
Method Detail |
---|
public String getPropertyName()
public boolean getCombineUsingAnd()
&&
operator. Otherwise,
the event handler functions are simply invoked
sequentially (as a series of JavaScript statements).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |