|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--org.jfree.chart.event.ChartProgressEvent
An event that contains information about the drawing progress of a chart.
Field Summary | |
static int |
DRAWING_FINISHED
Indicates drawing has finished. |
static int |
DRAWING_STARTED
Indicates drawing has started. |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
ChartProgressEvent(java.lang.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()
|
int |
getType()
Returns the event type. |
void |
setChart(JFreeChart chart)
Sets the chart that generated the change event. |
void |
setPercent(int percent)
|
void |
setType(int type)
Sets the event type. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int DRAWING_STARTED
public static final int DRAWING_FINISHED
Constructor Detail |
public ChartProgressEvent(java.lang.Object source, JFreeChart chart, int type, int percent)
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.Method Detail |
public JFreeChart getChart()
public void setChart(JFreeChart chart)
chart
- the chart that generated the event.public int getType()
public void setType(int type)
type
- the event type.public int getPercent()
public void setPercent(int percent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |