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

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

public abstract class CollapseHandler
extends Handler

This class handles collapse events for visualizations such as the OrgChart.


Nested Class Summary
static class CollapseHandler.CollapseEvent
          The collapsed event is fired when the mouse is out of data displayed in the visualization.
 
Constructor Summary
CollapseHandler()
           
 
Method Summary
abstract  void onCollapseEvent(CollapseHandler.CollapseEvent event)
           
protected  void onEvent(Properties properties)
          This method should be overridden by event-specific Handler subclasses.
 
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

CollapseHandler

public CollapseHandler()
Method Detail

onCollapseEvent

public abstract void onCollapseEvent(CollapseHandler.CollapseEvent event)

onEvent

protected void onEvent(Properties properties)
                throws Properties.TypeException
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.
Throws:
Properties.TypeException - If some property of the event has an unexpected type.