com.steema.teechart.tools
Class AxisBreaksTool

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.AxisBreaksTool

public class AxisBreaksTool
extends ToolAxis

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


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, InternalUse
 
Constructor Summary
AxisBreaksTool()
           
AxisBreaksTool(Axis a)
           
AxisBreaksTool(Chart c)
           
 
Method Summary
 double AdjustCalcPosPoint(int pixelVal)
           
 void axisBreakDoAllowScroll(Axis a, ScrollModEventArgs e)
           
 NextAxisLabelValue axisCalcMaxLabel(Axis axis, int labelIndex, NextAxisLabelValue nextLabel)
           
 int breakSizeUpTo(double Value)
           
 void chartEvent(ChartDrawEvent ce)
           
 void checkDrawHidden(Series series, int tmpIndex)
           
 void checkNextLabelValue(Axis axis, AxisLabelValueEventArgs e)
           
 AxisBreaks getBreaks()
           
 ChartBrush getBrush()
           
 java.lang.String getDescription()
          Gets descriptive text.
 int getGapSize()
           
 ChartPen getPen()
          Element Pen characteristics.
 double getScaleAdjustment()
           
 java.lang.String getSummary()
          Gets detailed descriptive text.
protected  double oldCalcPosPoint(int value)
           
protected  int oldCalcX(double value)
           
protected  int oldCalcY(double value)
           
 void setAxis(Axis value)
          Sets the axis to which a Tool will belong.
 void setBreaks(AxisBreaks value)
           
 void setBrush(ChartBrush value)
           
 void setCalcPosValue()
           
 void setChart(IBaseChart value)
          Chart associated with this object.
 void setGapSize(int value)
           
 void setPen(ChartPen value)
           
 void setScaleAdjustment(double value)
           
 
Methods inherited from class com.steema.teechart.tools.ToolAxis
getAxis
 
Methods inherited from class com.steema.teechart.tools.Tool
dispose, fireChanged, fireClicked, fireDragged, fireDragging, fireMouse, fireResized, getActive, mouseEvent, readResolve, setActive, 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

AxisBreaksTool

public AxisBreaksTool()

AxisBreaksTool

public AxisBreaksTool(Axis a)

AxisBreaksTool

public AxisBreaksTool(Chart c)
Method Detail

getGapSize

public int getGapSize()

setGapSize

public void setGapSize(int value)

setCalcPosValue

public void setCalcPosValue()

oldCalcX

protected int oldCalcX(double value)

oldCalcY

protected int oldCalcY(double value)

oldCalcPosPoint

protected double oldCalcPosPoint(int value)

AdjustCalcPosPoint

public double AdjustCalcPosPoint(int pixelVal)

breakSizeUpTo

public int breakSizeUpTo(double Value)

axisCalcMaxLabel

public NextAxisLabelValue axisCalcMaxLabel(Axis axis,
                                           int labelIndex,
                                           NextAxisLabelValue nextLabel)

checkNextLabelValue

public void checkNextLabelValue(Axis axis,
                                AxisLabelValueEventArgs e)

getBreaks

public AxisBreaks getBreaks()

setBreaks

public void setBreaks(AxisBreaks value)

chartEvent

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

getScaleAdjustment

public double getScaleAdjustment()

setScaleAdjustment

public void setScaleAdjustment(double value)

axisBreakDoAllowScroll

public void axisBreakDoAllowScroll(Axis a,
                                   ScrollModEventArgs e)

setAxis

public void setAxis(Axis value)
Description copied from class: ToolAxis
Sets the axis to which a Tool will belong.
Default value: null

Overrides:
setAxis in class ToolAxis
Parameters:
value - Axis

checkDrawHidden

public void checkDrawHidden(Series series,
                            int tmpIndex)
Overrides:
checkDrawHidden in class ToolAxis

setChart

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

Overrides:
setChart in class Tool
Parameters:
value - IBaseChart

getDescription

public java.lang.String getDescription()
Description copied from class: Tool
Gets descriptive text.

Overrides:
getDescription in class Tool
Returns:
String

getSummary

public java.lang.String getSummary()
Description copied from class: Tool
Gets detailed descriptive text.

Overrides:
getSummary in class Tool
Returns:
String

getBrush

public ChartBrush getBrush()

setBrush

public void setBrush(ChartBrush value)

getPen

public ChartPen getPen()
Description copied from class: ToolAxis
Element Pen characteristics.

Overrides:
getPen in class ToolAxis
Returns:
ChartPen

setPen

public void setPen(ChartPen value)