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

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

public class MilestonePropertiesList
extends DefaultChartProperties

Since:
6.0.1
Author:
jimmy
See Also:
Serialized Form

Constructor Summary
MilestonePropertiesList()
           
 
Method Summary
 void clearAllMilestone()
          Clear all of trend lines.
protected  void clearAllProperties()
          Clear all of chart properties.
 ChartProperties createMilestone(java.util.Date date, GanttModel.GanttTask task, java.lang.String color)
          Add a trend lines on the chart.
protected  ChartProperties createProperties(ChartProperties defProps)
          Create the chart properties.
 ChartProperties getMilestone(int index)
          Return the trend line.
protected  ChartProperties getProperties(int index)
          Returns the chart properties in the specified position.
 void removeMilestone(ChartProperties milestone)
          Remove the trend line on the chart.
 void removeMilestone(int index)
          Remove the trend line on the chart in the specified position.
protected  void removeProperties(ChartProperties properties)
          Remove the chart properties.
protected  void removeProperties(int index)
          Remove the chart properties 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

MilestonePropertiesList

public MilestonePropertiesList()
Method Detail

createMilestone

public ChartProperties createMilestone(java.util.Date date,
                                       GanttModel.GanttTask task,
                                       java.lang.String color)
Add a trend lines on the chart.

Returns:
Trend

getMilestone

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

Parameters:
index -
Returns:
Trend

removeMilestone

public void removeMilestone(ChartProperties milestone)
Remove the trend line on the chart.

Parameters:
milestone -

removeMilestone

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

Parameters:
index -

clearAllMilestone

public void clearAllMilestone()
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