public class ColorSelectedEvent extends BrowserEvent<ColorSelectedHandler>
GwtEvent.Type<H>jsObj| Constructor and Description |
|---|
ColorSelectedEvent(JavaScriptObject jsObj) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispatch(ColorSelectedHandler handler) |
static <S extends HasColorSelectedHandlers & HasHandlers> |
fire(S source,
JavaScriptObject jsObj)
Fires a open event on all registered handlers in the handler manager.If no
such handlers exist, this method will do nothing.
|
GwtEvent.Type<ColorSelectedHandler> |
getAssociatedType() |
java.lang.String |
getColor()
The color selected, in HTML format
|
int |
getOpacity()
The opacity selected, from 0-100.
|
static GwtEvent.Type<ColorSelectedHandler> |
getType()
Gets the type associated with this event.
|
getX, getY, isAltKeyDown, isCtrlKeyDown, isLeftButtonDown, isRightButtonDownassertLive, getSource, isLive, kill, revivesetSource, toDebugString, toStringpublic ColorSelectedEvent(JavaScriptObject jsObj)
public static <S extends HasColorSelectedHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S - The event sourcesource - the source of the handlersjsObj - the native eventpublic static GwtEvent.Type<ColorSelectedHandler> getType()
protected void dispatch(ColorSelectedHandler handler)
dispatch in class GwtEvent<ColorSelectedHandler>public final GwtEvent.Type<ColorSelectedHandler> getAssociatedType()
getAssociatedType in class GwtEvent<ColorSelectedHandler>public java.lang.String getColor()
public int getOpacity()