com.steema.teechart.tools
Class Tool

java.lang.Object
  extended by com.steema.teechart.TeeBase
      extended by com.steema.teechart.tools.Tool
Direct Known Subclasses:
Annotation, GridTranspose, Rotate, SubChartTool, ToolAxis, ToolSeries

public class Tool
extends TeeBase

Title: Tool class

Description: Base Tool class.

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

Company: Steema Software SL


Field Summary
protected  ChartBrush bBrush
           
static int clickTolerance
           
protected  EventListenerList listenerList
           
protected  ChartPen pPen
           
 
Fields inherited from class com.steema.teechart.TeeBase
chart, InternalUse
 
Constructor Summary
protected Tool()
           
protected Tool(IBaseChart c)
           
 
Method Summary
 void chartEvent(ChartDrawEvent ce)
           
 void dispose()
           
protected  void fireChanged(ChangeEvent ce)
           
protected  void fireClicked(FrameworkMouseEvent e)
           
protected  void fireDragged(ChangeEvent changeEvent)
           
protected  void fireDragging(ChangeEvent e)
           
protected  void fireMouse(FrameworkMouseEvent e)
           
protected  void fireResized(ChangeEvent e)
           
 boolean getActive()
          Enables/Disables the indexed Tool.
 java.lang.String getDescription()
          Gets descriptive text.
 java.lang.String getSummary()
          Gets detailed descriptive text.
 Cursor mouseEvent(FrameworkMouseEvent e, Cursor c)
           
protected  java.lang.Object readResolve()
           
 void setActive(boolean value)
          Enables/Disables the indexed Tool.
 void setChart(IBaseChart value)
          Chart associated with this object.
 java.lang.String 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

clickTolerance

public static int clickTolerance

pPen

protected ChartPen pPen

bBrush

protected ChartBrush bBrush

listenerList

protected transient EventListenerList listenerList
Constructor Detail

Tool

protected Tool(IBaseChart c)

Tool

protected Tool()
Method Detail

readResolve

protected java.lang.Object readResolve()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

fireMouse

protected void fireMouse(FrameworkMouseEvent e)

fireChanged

protected void fireChanged(ChangeEvent ce)

fireClicked

protected void fireClicked(FrameworkMouseEvent e)

fireDragged

protected void fireDragged(ChangeEvent changeEvent)

fireDragging

protected void fireDragging(ChangeEvent e)

fireResized

protected void fireResized(ChangeEvent e)

setActive

public void setActive(boolean value)
Enables/Disables the indexed Tool.
Default value: true

Parameters:
value - boolean

getActive

public boolean getActive()
Enables/Disables the indexed Tool.
Default value: true

Returns:
boolean

setChart

public void setChart(IBaseChart value)
Description copied from class: TeeBase
Chart associated with this object.

Overrides:
setChart in class TeeBase
Parameters:
value - IBaseChart

chartEvent

public void chartEvent(ChartDrawEvent ce)

mouseEvent

public Cursor mouseEvent(FrameworkMouseEvent e,
                         Cursor c)

dispose

public void dispose()

getDescription

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

Returns:
String

getSummary

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

Returns:
String