com.steema.teechart.tools
Class AxisArrow

java.lang.Object
  extended by com.steema.teechart.TeeBase
      extended by com.steema.teechart.tools.Tool
          extended by com.steema.teechart.tools.ToolAxis
              extended by com.steema.teechart.tools.AxisArrow
All Implemented Interfaces:
java.io.Serializable

public class AxisArrow
extends ToolAxis

Title: AxisArrow class

Description: Axis Arrow tool.

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

Company: Steema Software SL

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.steema.teechart.tools.ToolAxis
iAxis
 
Fields inherited from class com.steema.teechart.tools.Tool
bBrush, clickTolerance, listenerList, pPen
 
Fields inherited from class com.steema.teechart.TeeBase
chart
 
Constructor Summary
AxisArrow()
           
AxisArrow(Axis a)
           
AxisArrow(IBaseChart c)
           
 
Method Summary
 void chartEvent(ChartDrawEvent ce)
           
 ChartBrush getBrush()
          Element Brush characteristics.
 java.lang.String getDescription()
          Gets descriptive text.
 int getLength()
          The length of the Arrows.
Default value: 16
 AxisArrowPosition getPosition()
          The position where the arrows are drawn on the Axis.
Default value: AxisArrowPosition.Both
 boolean getScrollInverted()
          Reverses direction of applied Axis Arrow scroll.
Default value: false
 int getScrollPercent()
          The TChart scroll rate as percentage of the associated axis.
Default value: 10
 java.lang.String getSummary()
          Gets detailed descriptive text.
 java.awt.Cursor mouseEvent(FrameworkMouseEvent e, java.awt.Cursor c)
           
 void setLength(int value)
          Sets the length of the Arrows.
Default value: 16
 void setPosition(AxisArrowPosition value)
          Determines where the arrows are drawn on the Axis.
Default value: AxisArrowPosition.Both
 void setScrollInverted(boolean value)
          Reverses direction of applied Axis Arrow scroll.
Default value: false
 void setScrollPercent(int value)
          Sets TChart scroll rate as percentage of the associated axis.
Default value: 10
 
Methods inherited from class com.steema.teechart.tools.ToolAxis
getAxis, getPen, setAxis
 
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
 

Constructor Detail

AxisArrow

public AxisArrow()

AxisArrow

public AxisArrow(IBaseChart c)

AxisArrow

public AxisArrow(Axis a)
Method Detail

getLength

public int getLength()
The length of the Arrows.
Default value: 16

Returns:
int

setLength

public void setLength(int value)
Sets the length of the Arrows.
Default value: 16

Parameters:
value - int

getPosition

public AxisArrowPosition getPosition()
The position where the arrows are drawn on the Axis.
Default value: AxisArrowPosition.Both

Returns:
AxisArrowPosition

setPosition

public void setPosition(AxisArrowPosition value)
Determines where the arrows are drawn on the Axis.
Default value: AxisArrowPosition.Both

Parameters:
value - AxisArrowPosition

getBrush

public ChartBrush getBrush()
Element Brush characteristics.

Returns:
ChartBrush

chartEvent

public void chartEvent(ChartDrawEvent ce)
Overrides:
chartEvent in class Tool

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

mouseEvent

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

getScrollPercent

public int getScrollPercent()
The TChart scroll rate as percentage of the associated axis.
Default value: 10

Returns:
int

setScrollPercent

public void setScrollPercent(int value)
Sets TChart scroll rate as percentage of the associated axis.
Default value: 10

Parameters:
value - int

getScrollInverted

public boolean getScrollInverted()
Reverses direction of applied Axis Arrow scroll.
Default value: false

Returns:
boolean

setScrollInverted

public void setScrollInverted(boolean value)
Reverses direction of applied Axis Arrow scroll.
Default value: false

Parameters:
value - boolean