public class DefaultChartProperties extends Object implements Serializable, ChartInfoNotifier, ChartProperties
| Constructor and Description |
|---|
DefaultChartProperties() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllProperties(Map<String,String> config)
Add all properties.
|
void |
addChartDataListener(org.zkoss.zul.event.ChartDataListener l) |
ChartProperties |
addProperty(String key,
String value)
Add the value of the specified property.
|
void |
addPropertyListener(ChartInfoNotifier property) |
void |
clear()
Clear all properties.
|
protected void |
fireEvent(int type,
Comparable<Object> series,
Object data)
Fires a
ChartDataEvent for all registered listener (thru
addChartDataListener(org.zkoss.zul.event.ChartDataListener). |
protected void |
fireEvent(int type,
Object data) |
Map<String,String> |
getAllProperties()
Returns all properties.
|
String |
getProperty(String key)
Returns the specified property.
|
void |
removeChartDataListener(org.zkoss.zul.event.ChartDataListener l) |
ChartProperties |
removeProperty(String key)
Removes the specified property.
|
void |
removePropertyListener(ChartInfoNotifier property) |
protected void fireEvent(int type,
Comparable<Object> series,
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,
Object data)
public void addChartDataListener(org.zkoss.zul.event.ChartDataListener l)
addChartDataListener in interface ChartInfoNotifierpublic void removeChartDataListener(org.zkoss.zul.event.ChartDataListener l)
removeChartDataListener in interface ChartInfoNotifierpublic void addPropertyListener(ChartInfoNotifier property)
addPropertyListener in interface ChartInfoNotifierpublic void removePropertyListener(ChartInfoNotifier property)
removePropertyListener in interface ChartInfoNotifierpublic ChartProperties addProperty(String key, String value)
ChartPropertiesaddProperty in interface ChartPropertiespublic ChartProperties removeProperty(String key)
ChartPropertiesremoveProperty in interface ChartPropertiespublic String getProperty(String key)
ChartPropertiesgetProperty in interface ChartPropertiespublic Map<String,String> getAllProperties()
ChartPropertiesgetAllProperties in interface ChartPropertiespublic void clear()
ChartPropertiesclear in interface ChartPropertiespublic void addAllProperties(Map<String,String> config)
ChartPropertiesaddAllProperties in interface ChartPropertiesCopyright © 2026. All rights reserved.