|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.visualization.client.events.Handler
public abstract class Handler
The base class for visualization event handlers.
Constructor Summary | |
---|---|
Handler()
|
Method Summary | |
---|---|
static void |
addHandler(Visualization<?> viz,
java.lang.String eventName,
Handler handler)
Add a Handler to a visualization. |
protected abstract void |
onEvent(Properties properties)
This method should be overridden by event-specific Handler subclasses. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Handler()
Method Detail |
---|
public static void addHandler(Visualization<?> viz, java.lang.String eventName, Handler handler)
viz
- a Visualization supporting the given event.eventName
- The name of the event.handler
- A Handler to add.protected abstract void onEvent(Properties properties) throws Properties.TypeException
properties
- The JavaScriptObject containing data about the event.
Properties.TypeException
- If some property of the event has an unexpected type.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |