| java.lang.Object java.util.EventObject org.jfree.chart.event.ChartProgressEvent
ChartProgressEvent | public class ChartProgressEvent extends java.util.EventObject (Code) | | An event that contains information about the drawing progress of a chart.
|
Method Summary | |
public JFreeChart | getChart() Returns the chart that generated the change event. | public int | getPercent() Returns the percentage complete. | public int | getType() Returns the event type. | public void | setChart(JFreeChart chart) Sets the chart that generated the change event. | public void | setPercent(int percent) Sets the percentage complete. | public void | setType(int type) Sets the event type. |
DRAWING_FINISHED | final public static int DRAWING_FINISHED(Code) | | Indicates drawing has finished.
|
DRAWING_STARTED | final public static int DRAWING_STARTED(Code) | | Indicates drawing has started.
|
ChartProgressEvent | public ChartProgressEvent(Object source, JFreeChart chart, int type, int percent)(Code) | | Creates a new chart change event.
Parameters: source - the source of the event (could be the chart, a title, an axis etc.) Parameters: chart - the chart that generated the event. Parameters: type - the type of event. Parameters: percent - the percentage of completion. |
getChart | public JFreeChart getChart()(Code) | | Returns the chart that generated the change event.
The chart that generated the change event. |
getPercent | public int getPercent()(Code) | | Returns the percentage complete.
The percentage complete. |
getType | public int getType()(Code) | | Returns the event type.
The event type. |
setChart | public void setChart(JFreeChart chart)(Code) | | Sets the chart that generated the change event.
Parameters: chart - the chart that generated the event. |
setPercent | public void setPercent(int percent)(Code) | | Sets the percentage complete.
Parameters: percent - the percentage. |
setType | public void setType(int type)(Code) | | Sets the event type.
Parameters: type - the event type. |
|
|