|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.event.shared.GwtEvent<ValueChangeHandler<I>>
com.google.gwt.event.logical.shared.ValueChangeEvent<I>
I - the value about to be changedpublic class ValueChangeEvent<I>
Represents a value change event.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
|---|
GwtEvent.Type<H> |
| Method Summary | ||
|---|---|---|
static
|
fire(HasValueChangeHandlers<I> source,
I value)
Fires a value change event on all registered handlers in the handler manager.If no such handlers exist, this method will do nothing. |
|
static
|
fireIfNotEqual(HasValueChangeHandlers<I> source,
I oldValue,
I newValue)
Fires value change event if the old value is not equal to the new value. |
|
GwtEvent.Type<ValueChangeHandler<I>> |
getAssociatedType()
Returns the type used to register this event. |
|
static GwtEvent.Type<ValueChangeHandler<?>> |
getType()
Gets the type associated with this event. |
|
I |
getValue()
Gets the value. |
|
java.lang.String |
toDebugString()
This is a method used primarily for debugging. |
|
| Methods inherited from class com.google.gwt.event.shared.GwtEvent |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static <I> void fire(HasValueChangeHandlers<I> source,
I value)
I - the old value typesource - the source of the handlersvalue - the value
public static <I> void fireIfNotEqual(HasValueChangeHandlers<I> source,
I oldValue,
I newValue)
I - the old value typesource - the source of the handlersoldValue - the oldValue, may be nullnewValue - the newValue, may be nullpublic static GwtEvent.Type<ValueChangeHandler<?>> getType()
public final GwtEvent.Type<ValueChangeHandler<I>> getAssociatedType()
GwtEvent
getAssociatedType in class GwtEvent<ValueChangeHandler<I>>public I getValue()
public java.lang.String toDebugString()
GwtEvent
toDebugString in class GwtEvent<ValueChangeHandler<I>>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||