org.zkoss.zkmax.zul.fusionchart.config
Class TrendLinePropertiesList

java.lang.Object
  extended by org.zkoss.zkmax.zul.fusionchart.config.DefaultChartProperties
      extended by org.zkoss.zkmax.zul.fusionchart.config.TrendLinePropertiesList
All Implemented Interfaces:
java.io.Serializable, ChartProperties, ChartInfoNotifier

public class TrendLinePropertiesList
extends DefaultChartProperties

Since:
6.0.1
Author:
tony
See Also:
Serialized Form

Constructor Summary
TrendLinePropertiesList()
           
 
Method Summary
protected  void clearAllProperties()
          Clear all of chart properties.
 void clearAllTrendLine()
          Clear all of trend lines.
protected  ChartProperties createProperties(ChartProperties defProps)
          Create the chart properties.
 ChartProperties createTrendLine(java.lang.Number startValue, java.lang.Number endValue, java.lang.String displayValue, java.lang.String color)
          Add a trend lines on the chart.
protected  ChartProperties getProperties(int index)
          Returns the chart properties in the specified position.
 ChartProperties getTrendLine(int index)
          Return the trend line.
protected  void removeProperties(ChartProperties properties)
          Remove the chart properties.
protected  void removeProperties(int index)
          Remove the chart properties in the specified position.
 void removeTrendLine(ChartProperties point)
          Remove the trend line on the chart.
 void removeTrendLine(int index)
          Remove the trend line on the chart in the specified position.
 int size()
          Return the count of properties.
 
Methods inherited from class org.zkoss.zkmax.zul.fusionchart.config.DefaultChartProperties
addAllProperties, addChartDataListener, addProperty, addPropertyListener, clear, fireEvent, fireEvent, getAllProperties, getProperty, removeChartDataListener, removeProperty, removePropertyListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrendLinePropertiesList

public TrendLinePropertiesList()
Method Detail

createTrendLine

public ChartProperties createTrendLine(java.lang.Number startValue,
                                       java.lang.Number endValue,
                                       java.lang.String displayValue,
                                       java.lang.String color)
Add a trend lines on the chart.

Returns:
Trend

getTrendLine

public ChartProperties getTrendLine(int index)
Return the trend line.

Parameters:
index -
Returns:
Trend

removeTrendLine

public void removeTrendLine(ChartProperties point)
Remove the trend line on the chart.

Parameters:
point -

removeTrendLine

public void removeTrendLine(int index)
Remove the trend line on the chart in the specified position.

Parameters:
index -

clearAllTrendLine

public void clearAllTrendLine()
Clear all of trend lines.


createProperties

protected ChartProperties createProperties(ChartProperties defProps)
Create the chart properties.

Parameters:
defProps -
Returns:
ChartProperties

getProperties

protected ChartProperties getProperties(int index)
Returns the chart properties in the specified position.

Parameters:
index -
Returns:
ChartProperties

removeProperties

protected void removeProperties(ChartProperties properties)
Remove the chart properties.

Parameters:
properties -

removeProperties

protected void removeProperties(int index)
Remove the chart properties in the specified position.

Parameters:
index -

size

public int size()
Return the count of properties.

Returns:
int

clearAllProperties

protected void clearAllProperties()
Clear all of chart properties.



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