|
||||||||||
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-2007 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, InternalUse |
Constructor Summary | |
---|---|
NearestPoint()
|
|
NearestPoint(IBaseChart c)
|
|
NearestPoint(Series s)
|
Method Summary | |
---|---|
void |
addChangeListener(ChangeListener l)
|
void |
chartEvent(ChartDrawEvent e)
|
ChartBrush |
getBrush()
Element Brush characteristics. |
java.lang.String |
getDescription()
Gets descriptive text. |
NearestPointDirection |
getDirection()
|
boolean |
getDrawLine()
Draws a temporary line from the mouse coordinates to the nearest point. |
boolean |
getFullRepaint()
Allows the whole Parent Chart to repainted when true. |
ChartPen |
getPen()
Element Pen characteristics. |
int |
getSize()
Defines the Size of the NearestTool shape. |
NearestPointStyle |
getStyle()
The shape of the NearestTool. |
java.lang.String |
getSummary()
Gets detailed descriptive text. |
Cursor |
mouseEvent(FrameworkMouseEvent e,
Cursor c)
|
void |
removeChangeListener(ChangeListener l)
|
void |
setDirection(NearestPointDirection value)
|
void |
setDrawLine(boolean value)
Draws a temporary line from the mouse coordinates to the nearest point. |
void |
setFullRepaint(boolean value)
Allows the whole Parent Chart to repainted when true. |
void |
setSize(int value)
Defines the Size of the NearestTool shape. |
void |
setStyle(NearestPointStyle value)
Sets the shape of the NearestTool. |
Methods inherited from class com.steema.teechart.tools.ToolSeries |
---|
getHorizAxis, getSeries, getVertAxis, setSeries |
Methods inherited from class com.steema.teechart.tools.Tool |
---|
dispose, fireChanged, fireClicked, fireDragged, fireDragging, fireMouse, fireResized, getActive, readResolve, setActive, setChart, toString |
Methods inherited from class com.steema.teechart.TeeBase |
---|
getChart, invalidate, setBooleanProperty, 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(ChangeListener l)
public void removeChangeListener(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 Cursor mouseEvent(FrameworkMouseEvent e, Cursor c)
mouseEvent
in class Tool
public NearestPointDirection getDirection()
public void setDirection(NearestPointDirection value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |