com.rednels.ofcgwt.client
Interface IChartData

All Known Implementing Classes:
ChartWidget

public interface IChartData

An interface that ChartWidgets should implement


Method Summary
 java.lang.String addOnClickListener(IOnClickListener listener)
          Add an IOnClickListener to this chart events and return the function signature for JSON
 java.lang.String getJsonData()
          Get the currently set JSON data
 java.lang.String getSwfId()
          Get the currently set swf ID of this chart widget
 void notifyOnClick(java.lang.String evtid)
          Notify that the chart onclick listeners
 void notifyReady()
          Notify that the chart widget is ready to go
 

Method Detail

addOnClickListener

java.lang.String addOnClickListener(IOnClickListener listener)
Add an IOnClickListener to this chart events and return the function signature for JSON

Parameters:
listener - an IChartListener
Returns:
function signature String

getJsonData

java.lang.String getJsonData()
Get the currently set JSON data

Returns:
json String

getSwfId

java.lang.String getSwfId()
Get the currently set swf ID of this chart widget

Returns:
swf id String

notifyOnClick

void notifyOnClick(java.lang.String evtid)
Notify that the chart onclick listeners

Parameters:
evtid - the event id String

notifyReady

void notifyReady()
Notify that the chart widget is ready to go