|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.plugins.AbstractChartPlugin<Chart2D>
lt.monarch.chart.plugins.PointLineValue
public class PointLineValue extends AbstractChartPlugin<Chart2D> implements java.awt.event.MouseListener
Plug-in for showing line value if selected on it.
| Constructor and Description |
|---|
PointLineValue(Axis2D axisX,
Axis2D axisY)
PointLineValue constructor |
PointLineValue(Axis2D axisX,
Axis2D axisY,
LineSeries[] series)
PointLineValue constructor |
PointLineValue(AxisMapper xMapper,
AxisMapper yMapper)
PointLineValue constructor |
PointLineValue(AxisMapper xMapper,
AxisMapper yMapper,
LineSeries[] series)
PointLineValue constructor |
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Prepares the plug-in, when it is installed. |
void |
addLineSeries(LineSeries series)
Adding series to ArrayList |
void |
deactivate()
Cleanups the plug-in, when it is uninstalled. |
void |
mouseClicked(java.awt.event.MouseEvent e)
|
void |
mouseEntered(java.awt.event.MouseEvent e)
|
void |
mouseExited(java.awt.event.MouseEvent e)
|
void |
mousePressed(java.awt.event.MouseEvent e)
|
void |
mouseReleased(java.awt.event.MouseEvent e)
|
void |
paint(AbstractGraphics g)
Does nothing- must be overridden in extending classes. |
void |
setFaultTolerance(int tolerance)
Set tolerance value |
| Methods inherited from class lt.monarch.chart.plugins.AbstractChartPlugin |
|---|
adjustChart, chart, getChart, install, isActivated, uninstall |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PointLineValue(Axis2D axisX,
Axis2D axisY)
axisX - X axisaxisY - Y axis
public PointLineValue(AxisMapper xMapper,
AxisMapper yMapper)
xMapper - X mapperyMapper - Y mapper
public PointLineValue(Axis2D axisX,
Axis2D axisY,
LineSeries[] series)
axisX - X axisaxisY - Y axisseries - Array of series type
public PointLineValue(AxisMapper xMapper,
AxisMapper yMapper,
LineSeries[] series)
xMapper - X mapperyMapper - Y mapperseries - Array of series type| Method Detail |
|---|
public void addLineSeries(LineSeries series)
series - added seriespublic void setFaultTolerance(int tolerance)
tolerance - value of integer typepublic void activate()
AbstractChartPlugin
activate in class AbstractChartPlugin<Chart2D>public void deactivate()
AbstractChartPlugin
deactivate in class AbstractChartPlugin<Chart2D>public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked in interface java.awt.event.MouseListenerpublic void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered in interface java.awt.event.MouseListenerpublic void mouseExited(java.awt.event.MouseEvent e)
mouseExited in interface java.awt.event.MouseListenerpublic void mousePressed(java.awt.event.MouseEvent e)
mousePressed in interface java.awt.event.MouseListenerpublic void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased in interface java.awt.event.MouseListenerpublic void paint(AbstractGraphics g)
AbstractChartPlugin
paint in interface ChartPlugin<Chart2D>paint in class AbstractChartPlugin<Chart2D>g - the Graphics context in which chart is paintedChartPlugin.paint(lt.monarch.chart.engine.AbstractGraphics)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||