java.lang.Object | ||
↳ | com.google.gwt.event.shared.GwtEvent<H extends com.google.gwt.event.shared.EventHandler> | |
↳ | com.google.gwt.event.logical.shared.ValueChangeEvent<T> |
Represents a value change event.
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a value change event.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Fires a value change event on all registered handlers in the handler
manager.
| |||||||||||
Fires value change event if the old value is not equal to the new value.
| |||||||||||
Returns the type used to register this event.
| |||||||||||
Gets the type associated with this event.
| |||||||||||
Gets the value.
| |||||||||||
This is a method used primarily for debugging.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Should only be called by
HandlerManager . | |||||||||||
Convenience method to allow subtypes to know when they should fire a value
change event in a null-safe manner.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class com.google.gwt.event.shared.GwtEvent | |||||||||||
From class
java.lang.Object
|
Creates a value change event.
value | the value |
---|
Fires a value change event on all registered handlers in the handler manager. If no such handlers exist, this method will do nothing.
source | the source of the handlers |
---|---|
value | the value |
Fires value change event if the old value is not equal to the new value. Use this call rather than making the decision to short circuit yourself for safe handling of null.
source | the source of the handlers |
---|---|
oldValue | the oldValue, may be null |
newValue | the newValue, may be null |
Returns the type used to register this event. Used by handler manager to dispatch events to the correct handlers.
Gets the type associated with this event.
Gets the value.
This is a method used primarily for debugging. It gives a string representation of the event details. This does not override the toString method because the compiler cannot always optimize toString out correctly. Event types should override as desired.
Should only be called by HandlerManager
. In other words, do not use
or call.
handler | handler |
---|
Convenience method to allow subtypes to know when they should fire a value change event in a null-safe manner.
source | the source |
---|---|
oldValue | the old value |
newValue | the new value |