|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.steema.teechart.TeeBase
com.steema.teechart.tools.Tool
com.steema.teechart.tools.ToolSeries
com.steema.teechart.tools.NearestPoint
public class NearestPoint
Title: NearestPoint class
Description: Nearest tool, use it to display a graphical signal when the mouse is moving near a series point.
Copyright (c) 2005-2008 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Field Summary | |
---|---|
int |
point
|
Fields inherited from class com.steema.teechart.tools.ToolSeries |
---|
iSeries |
Fields inherited from class com.steema.teechart.tools.Tool |
---|
bBrush, clickTolerance, listenerList, pPen |
Fields inherited from class com.steema.teechart.TeeBase |
---|
chart |
Constructor Summary | |
---|---|
NearestPoint()
|
|
NearestPoint(IBaseChart c)
|
|
NearestPoint(Series s)
|
Method Summary | |
---|---|
void |
addChangeListener(javax.swing.event.ChangeListener l)
|
void |
chartEvent(ChartDrawEvent e)
|
ChartBrush |
getBrush()
Element Brush characteristics. |
java.lang.String |
getDescription()
Gets descriptive text. |
boolean |
getDrawLine()
Draws a temporary line from the mouse coordinates to the nearest point. Default value: true |
boolean |
getFullRepaint()
Allows the whole Parent Chart to repainted when true. Default value: true |
ChartPen |
getPen()
Element Pen characteristics. |
int |
getSize()
Defines the Size of the NearestTool shape. Default value: 20 |
NearestPointStyle |
getStyle()
The shape of the NearestTool. Default value: NearestPointStyle.Circle |
java.lang.String |
getSummary()
Gets detailed descriptive text. |
java.awt.Cursor |
mouseEvent(FrameworkMouseEvent e,
java.awt.Cursor c)
|
void |
removeChangeListener(javax.swing.event.ChangeListener l)
|
void |
setDrawLine(boolean value)
Draws a temporary line from the mouse coordinates to the nearest point. Default value: true |
void |
setFullRepaint(boolean value)
Allows the whole Parent Chart to repainted when true. Default value: true |
void |
setSize(int value)
Defines the Size of the NearestTool shape. Default value: 20 |
void |
setStyle(NearestPointStyle value)
Sets the shape of the NearestTool. Default value: NearestPointStyle.Circle |
Methods inherited from class com.steema.teechart.tools.ToolSeries |
---|
getHorizAxis, getSeries, getVertAxis, setSeries |
Methods inherited from class com.steema.teechart.tools.Tool |
---|
addMouseMotionListener, fireChanged, fireClicked, fireDragged, fireDragging, fireMouse, fireResized, getActive, getBitmapEditor, readResolve, removeMouseMotionListener, setActive, setChart, toString |
Methods inherited from class com.steema.teechart.TeeBase |
---|
getChart, invalidate, setBooleanProperty, setColorProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int point
Constructor Detail |
---|
public NearestPoint(Series s)
public NearestPoint()
public NearestPoint(IBaseChart c)
Method Detail |
---|
public void addChangeListener(javax.swing.event.ChangeListener l)
public void removeChangeListener(javax.swing.event.ChangeListener l)
public int getSize()
public void setSize(int value)
value
- intpublic NearestPointStyle getStyle()
public void setStyle(NearestPointStyle value)
value
- NearestPointStylepublic java.lang.String getDescription()
getDescription
in class Tool
public java.lang.String getSummary()
getSummary
in class Tool
public boolean getDrawLine()
public void setDrawLine(boolean value)
value
- booleanpublic boolean getFullRepaint()
public void setFullRepaint(boolean value)
value
- booleanpublic ChartPen getPen()
public ChartBrush getBrush()
public void chartEvent(ChartDrawEvent e)
chartEvent
in class Tool
public java.awt.Cursor mouseEvent(FrameworkMouseEvent e, java.awt.Cursor c)
mouseEvent
in class Tool
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |