com.steema.teechart.tools
Class DragPoint

java.lang.Object
  extended by com.steema.teechart.TeeBase
      extended by com.steema.teechart.tools.Tool
          extended by com.steema.teechart.tools.ToolSeries
              extended by com.steema.teechart.tools.DragPoint

public class DragPoint
extends ToolSeries

Title: DragPoint class

Description: DragPoint Tool.

Copyright (c) 2005-2007 by Steema Software SL. All Rights Reserved.

Company: Steema Software SL


Field Summary
 
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
DragPoint()
           
DragPoint(IBaseChart c)
           
DragPoint(Series s)
           
 
Method Summary
 void addDragListener(DragListener l)
           
 int getButton()
          Determines the mousebutton to activate DragPoint.
 Cursor getCursor()
          Determines the type of DragPoint Cursor displayed.
 java.lang.String getDescription()
          Gets descriptive text.
 int getDragPoint()
           
 DragPointStyle getStyle()
          Determines whether user can drag series points vertically, horizontally or both.
 java.lang.String getSummary()
          Gets detailed descriptive text.
 Cursor mouseEvent(FrameworkMouseEvent e, Cursor c)
           
 void removeDragListener(DragListener l)
           
 void setButton(int value)
          Sets which mousebutton activates DragPoint.
 void setCursor(Cursor value)
          Determines the type of DragPoint Cursor displayed.
 void setStyle(DragPointStyle value)
          Determines whether user can drag series points vertically, horizontally or both.
 
Methods inherited from class com.steema.teechart.tools.ToolSeries
getHorizAxis, getSeries, getVertAxis, setSeries
 
Methods inherited from class com.steema.teechart.tools.Tool
chartEvent, 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
 

Constructor Detail

DragPoint

public DragPoint(IBaseChart c)

DragPoint

public DragPoint(Series s)

DragPoint

public DragPoint()
Method Detail

addDragListener

public void addDragListener(DragListener l)

removeDragListener

public void removeDragListener(DragListener l)

getDescription

public java.lang.String getDescription()
Gets descriptive text.

Overrides:
getDescription in class Tool
Returns:
String

getSummary

public java.lang.String getSummary()
Gets detailed descriptive text.

Overrides:
getSummary in class Tool
Returns:
String

getStyle

public DragPointStyle getStyle()
Determines whether user can drag series points vertically, horizontally or both.
Default value: Both

Returns:
DragPointStyle

setStyle

public void setStyle(DragPointStyle value)
Determines whether user can drag series points vertically, horizontally or both.
Default value: Both

Parameters:
value - DragPointStyle

getButton

public int getButton()
Determines the mousebutton to activate DragPoint.
Default value: MouseButtons.Left

Returns:
int

setButton

public void setButton(int value)
Sets which mousebutton activates DragPoint.
Default value: MouseButtons.Left

Parameters:
value - int

getCursor

public Cursor getCursor()
Determines the type of DragPoint Cursor displayed.
Default value: Hand

Returns:
Cursor

setCursor

public void setCursor(Cursor value)
Determines the type of DragPoint Cursor displayed.
Default value: Hand

Parameters:
value - Cursor

getDragPoint

public int getDragPoint()

mouseEvent

public Cursor mouseEvent(FrameworkMouseEvent e,
                         Cursor c)
Overrides:
mouseEvent in class Tool