org.zkoss.zul.event
Class ChartDataEvent

java.lang.Object
  extended by org.zkoss.zul.event.ChartDataEvent

public class ChartDataEvent
extends java.lang.Object

Defines an event that encapsulates changes to a chart's data model.

Author:
henrichen

Field Summary
static int ADDED
          Identifies the addition of one or more contiguous items to the list.
static int CHANGED
          Identifies one or more changes in the lists contents.
static int REMOVED
          Identifies the removal of one or more contiguous items from the list.
 
Constructor Summary
ChartDataEvent(ChartModel model, int type, java.lang.Comparable series, java.lang.Object data)
           
 
Method Summary
 java.lang.Object getData()
          Returns customed data.
 ChartModel getModel()
          Returns the chart model that fires this event.
 java.lang.Comparable getSeries()
          Returns the series index of the chart data model.
 int getType()
          Returns the event type: CHANGED, ADDED, REMOVED.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHANGED

public static final int CHANGED
Identifies one or more changes in the lists contents.

See Also:
Constant Field Values

ADDED

public static final int ADDED
Identifies the addition of one or more contiguous items to the list.

See Also:
Constant Field Values

REMOVED

public static final int REMOVED
Identifies the removal of one or more contiguous items from the list.

See Also:
Constant Field Values
Constructor Detail

ChartDataEvent

public ChartDataEvent(ChartModel model,
                      int type,
                      java.lang.Comparable series,
                      java.lang.Object data)
Method Detail

getModel

public ChartModel getModel()
Returns the chart model that fires this event.


getType

public int getType()
Returns the event type: CHANGED, ADDED, REMOVED.


getSeries

public java.lang.Comparable getSeries()
Returns the series index of the chart data model.


getData

public java.lang.Object getData()
Returns customed data. Depends on the implementation.



Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo