|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.iastate.metnet.metaomgraph.chart.ChartAnnotator
public class ChartAnnotator
Class that handles clicking and mouse moving for a MetaOmChartPanel.
| Constructor Summary | |
|---|---|
ChartAnnotator(MetaOmChartPanel myChartPanel)
Constructor |
|
| Method Summary | |
|---|---|
void |
chartMouseClicked(org.jfree.chart.ChartMouseEvent arg0)
Adds an annotation when the user clicks the chart |
void |
chartMouseMoved(org.jfree.chart.ChartMouseEvent arg0)
Set the cursor based on what the mouse is hovering over |
void |
chartProgress(org.jfree.chart.event.ChartProgressEvent event)
|
void |
manageAnnotations()
Launches the annotation manager. |
void |
markSelected()
|
void |
redrawAnnotations()
Redraws the annotations on the chart |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChartAnnotator(MetaOmChartPanel myChartPanel)
myChart - The chart to annotate.myChartPanel - The ChartPanel that contains myChart.annotationField - The JTextField that contains the annotation text.| Method Detail |
|---|
public void markSelected()
public void manageAnnotations()
public void chartMouseMoved(org.jfree.chart.ChartMouseEvent arg0)
chartMouseMoved in interface org.jfree.chart.ChartMouseListenerpublic void chartMouseClicked(org.jfree.chart.ChartMouseEvent arg0)
chartMouseClicked in interface org.jfree.chart.ChartMouseListenerpublic void redrawAnnotations()
public void chartProgress(org.jfree.chart.event.ChartProgressEvent event)
chartProgress in interface org.jfree.chart.event.ChartProgressListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||