public class PickerColorSelectedEvent extends AbstractSmartEvent<PickerColorSelectedHandler>
GwtEvent.Type<H>jsObj| Constructor and Description |
|---|
PickerColorSelectedEvent(JavaScriptObject jsObj) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispatch(PickerColorSelectedHandler handler) |
static <S extends HasPickerColorSelectedHandlers & 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<PickerColorSelectedHandler> |
getAssociatedType() |
java.lang.String |
getColor()
the selected color as a string
|
int |
getOpacity()
the selected opacity, from 0 (transparent) to 100 (opaque).
|
static GwtEvent.Type<PickerColorSelectedHandler> |
getType()
Gets the type associated with this event.
|
assertLive, getSource, isLive, kill, revivesetSource, toDebugString, toStringpublic PickerColorSelectedEvent(JavaScriptObject jsObj)
public static <S extends HasPickerColorSelectedHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S - The event sourcesource - the source of the handlersjsObj - the native eventpublic static GwtEvent.Type<PickerColorSelectedHandler> getType()
protected void dispatch(PickerColorSelectedHandler handler)
dispatch in class GwtEvent<PickerColorSelectedHandler>public final GwtEvent.Type<PickerColorSelectedHandler> getAssociatedType()
getAssociatedType in class GwtEvent<PickerColorSelectedHandler>public java.lang.String getColor()
public int getOpacity()
supportsTransparency is true.