T - type of value edited by the source FormFieldpublic class FormFieldEvent<T>
extends java.util.EventObject
Whenever a user changes the value in the graphical component of a FormField, a change event is emitted. If the user does something generally considered to be an "action" (e.g. hitting return, pressing a button, etc.) an event is emitted with the "action" flag set. These are combined into a single object to simplify listener implementation.
Copyright 2009 Partner Software, Inc.
| Modifier and Type | Method and Description |
|---|---|
static <T> FormFieldEvent<T> |
forAction(FormField<T> field,
T value) |
static <T> FormFieldEvent<T> |
forChange(FormField<T> field,
T value)
Factory method to create a FormFieldEvent correspondign
|
FormField<T> |
getField() |
T |
getValue() |
boolean |
isAction() |
boolean |
isValueChange() |
public static <T> FormFieldEvent<T> forChange(FormField<T> field, T value)
public static <T> FormFieldEvent<T> forAction(FormField<T> field, T value)
public T getValue()
public boolean isAction()
public boolean isValueChange()