public class GradientChangedEvent extends BrowserEvent<GradientChangedHandler>
jsObj
Constructor and Description |
---|
GradientChangedEvent(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(GradientChangedHandler handler) |
static <S extends HasGradientChangedHandlers & com.google.gwt.event.shared.HasHandlers> |
fire(S source,
com.google.gwt.core.client.JavaScriptObject jsObj)
Fires a open event on all registered handlers in the handler manager.If no
such handlers exist, this method will do nothing.
|
com.google.gwt.event.shared.GwtEvent.Type<GradientChangedHandler> |
getAssociatedType() |
Canvas |
getFiringCanvas()
Returns the
Canvas firing the event. |
java.lang.String |
getGradient()
the current
gradient CSS |
static com.google.gwt.event.shared.GwtEvent.Type<GradientChangedHandler> |
getType()
Gets the type associated with this event.
|
getX, getY, isAltKeyDown, isCtrlKeyDown, isLeftButtonDown, isRightButtonDown
getFiringInstanceAsJavaScriptObject
assertLive, getSource, isLive, kill, revive
public GradientChangedEvent(com.google.gwt.core.client.JavaScriptObject jsObj)
public Canvas getFiringCanvas()
Canvas
firing the event.public static <S extends HasGradientChangedHandlers & com.google.gwt.event.shared.HasHandlers> void fire(S source, com.google.gwt.core.client.JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static com.google.gwt.event.shared.GwtEvent.Type<GradientChangedHandler> getType()
protected void dispatch(GradientChangedHandler handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<GradientChangedHandler>
public final com.google.gwt.event.shared.GwtEvent.Type<GradientChangedHandler> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<GradientChangedHandler>
public java.lang.String getGradient()
gradient CSS
gradient CSS