com.google.gwt.visualization.client.events
Class ReadyHandler

java.lang.Object
  extended by com.google.gwt.visualization.client.events.Handler
      extended by com.google.gwt.visualization.client.events.ReadyHandler

public abstract class ReadyHandler
extends Handler

A handler for ready events. Ready events are common events that are supported by many different visualizations.


Nested Class Summary
static class ReadyHandler.ReadyEvent
          The ready event is fired when visualization has finished rendering.
 
Constructor Summary
ReadyHandler()
           
 
Method Summary
protected  void onEvent(Properties properties)
          This method should be overridden by event-specific Handler subclasses.
abstract  void onReady(ReadyHandler.ReadyEvent event)
           
 
Methods inherited from class com.google.gwt.visualization.client.events.Handler
addHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadyHandler

public ReadyHandler()
Method Detail

onReady

public abstract void onReady(ReadyHandler.ReadyEvent event)

onEvent

protected void onEvent(Properties properties)
Description copied from class: Handler
This method should be overridden by event-specific Handler subclasses. The subclass should extract the event properties (if any), create a GWT Event bean object, and pass it to the event-specific callback.

Specified by:
onEvent in class Handler
Parameters:
properties - The JavaScriptObject containing data about the event.