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