public class DefaultChartProperties extends java.lang.Object implements java.io.Serializable, ChartInfoNotifier, ChartProperties
Constructor and Description |
---|
DefaultChartProperties() |
Modifier and Type | Method and Description |
---|---|
void |
addAllProperties(java.util.Map<java.lang.String,java.lang.String> config)
Add all properties.
|
void |
addChartDataListener(ChartDataListener l) |
ChartProperties |
addProperty(java.lang.String key,
java.lang.String value)
Add the value of the specified property.
|
void |
addPropertyListener(ChartInfoNotifier property) |
void |
clear()
Clear all properties.
|
protected void |
fireEvent(int type,
java.lang.Comparable<java.lang.Object> series,
java.lang.Object data)
Fires a
ChartDataEvent for all registered listener (thru
addChartDataListener(org.zkoss.zul.event.ChartDataListener) . |
protected void |
fireEvent(int type,
java.lang.Object data) |
java.util.Map<java.lang.String,java.lang.String> |
getAllProperties()
Returns all properties.
|
java.lang.String |
getProperty(java.lang.String key)
Returns the specified property.
|
void |
removeChartDataListener(ChartDataListener l) |
ChartProperties |
removeProperty(java.lang.String key)
Removes the specified property.
|
void |
removePropertyListener(ChartInfoNotifier property) |
protected void fireEvent(int type, java.lang.Comparable<java.lang.Object> series, java.lang.Object data)
ChartDataEvent
for all registered listener (thru
addChartDataListener(org.zkoss.zul.event.ChartDataListener)
.
Note: you can invoke this method only in an event listener.
protected void fireEvent(int type, java.lang.Object data)
public void addChartDataListener(ChartDataListener l)
addChartDataListener
in interface ChartInfoNotifier
public void removeChartDataListener(ChartDataListener l)
removeChartDataListener
in interface ChartInfoNotifier
public void addPropertyListener(ChartInfoNotifier property)
addPropertyListener
in interface ChartInfoNotifier
public void removePropertyListener(ChartInfoNotifier property)
removePropertyListener
in interface ChartInfoNotifier
public ChartProperties addProperty(java.lang.String key, java.lang.String value)
ChartProperties
addProperty
in interface ChartProperties
public ChartProperties removeProperty(java.lang.String key)
ChartProperties
removeProperty
in interface ChartProperties
public java.lang.String getProperty(java.lang.String key)
ChartProperties
getProperty
in interface ChartProperties
public java.util.Map<java.lang.String,java.lang.String> getAllProperties()
ChartProperties
getAllProperties
in interface ChartProperties
public void clear()
ChartProperties
clear
in interface ChartProperties
public void addAllProperties(java.util.Map<java.lang.String,java.lang.String> config)
ChartProperties
addAllProperties
in interface ChartProperties
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.