com.primix.tapestry.form
Class FormEventType

java.lang.Object
  |
  +--com.primix.tapestry.util.Enum
        |
        +--com.primix.tapestry.form.FormEventType
All Implemented Interfaces:
java.io.Serializable

public class FormEventType
extends Enum

Class FormEventType

Since:
1.0.2
Version:
$Id: FormEventType.java,v 1.1 2001/06/15 14:50:47 hship Exp $
Author:
Howard Ship
See Also:
Serialized Form

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 getCombineWithAnd()
          Returns true if multiple functions should be combined with the && operator.
 java.lang.String getPropertyName()
          Returns the DOM property corresponding to event type.
 
Methods inherited from class com.primix.tapestry.util.Enum
getEnumerationId, getSingleton, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SUBMIT

public static final FormEventType SUBMIT
Form event triggered when the form is submitted. Allows an event handler to perform any final changes before the results are posted to the server.

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 (&&).


RESET

public static final FormEventType RESET
Form event triggered when the form is reset; this allows an event handler to deal with any special cases related to resetting.
Method Detail

getPropertyName

public java.lang.String getPropertyName()
Returns the DOM property corresponding to event type.

getCombineWithAnd

public boolean getCombineWithAnd()
Returns true if multiple functions should be combined with the && operator. Otherwise, the event handler functions are simply invoked in sequentially.