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

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

public abstract class SortHandler
extends Handler

This class handles sort events for visualizations such as Table.


Nested Class Summary
 class SortHandler.SortEvent
          This event is triggered when the user clicks on a column heading.
 
Constructor Summary
SortHandler()
           
 
Method Summary
protected  void onEvent(Properties event)
          This method should be overridden by event-specific Handler subclasses.
abstract  void onSort(SortHandler.SortEvent 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

SortHandler

public SortHandler()
Method Detail

onSort

public abstract void onSort(SortHandler.SortEvent event)

onEvent

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