lt.monarch.chart.chart2D.axis
Class ArrowSettings

java.lang.Object
  extended by lt.monarch.chart.style.AbstractStyle<AxisPaintTags>
      extended by lt.monarch.chart.chart2D.axis.ArrowSettings
All Implemented Interfaces:
java.io.Serializable

public class ArrowSettings
extends AbstractStyle<AxisPaintTags>

Axis arrow settings

See Also:
Serialized Form

Field Summary
Modifier and Type Field and Description
 
Fields inherited from class lt.monarch.chart.style.AbstractStyle
dirty
 
Constructor Summary
Modifier Constructor and Description
protected ArrowSettings(Style style)
           
 
Method Summary
Modifier and Type Method and Description
 java.awt.Dimension getArrowDimensions()
          Gets arrow dimensions
 boolean isArrowTwoway()
          Gets the value if two arrows are used
 boolean isDrawArrow()
          Gets the value if the arrow should be drawn on axis
 void setArrowDimensions(java.awt.Dimension arrowDimensions)
          Sets arrow dimensions
 void setArrowTwoway(boolean value)
          Sets if two arrows are used
 void setDrawArrow(boolean drawArrow)
          Sets the property if the axis is rendered with the arrow in the end.
 
Methods inherited from class lt.monarch.chart.style.AbstractStyle
dispose, finalize
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrowSettings

protected ArrowSettings(Style style)
Method Detail

getArrowDimensions

public java.awt.Dimension getArrowDimensions()
Gets arrow dimensions

Returns:
the arrow dimensions

setArrowDimensions

public void setArrowDimensions(java.awt.Dimension arrowDimensions)
Sets arrow dimensions

Parameters:
arrowDimensions - the arrow dimensions

isArrowTwoway

public boolean isArrowTwoway()
Gets the value if two arrows are used

Returns:
True is two arrows

setArrowTwoway

public void setArrowTwoway(boolean value)
Sets if two arrows are used

Parameters:
value - use two arrows

setDrawArrow

public void setDrawArrow(boolean drawArrow)
Sets the property if the axis is rendered with the arrow in the end.

Parameters:
drawArrow - true or false value, to show or hide the arrow on the axis

isDrawArrow

public boolean isDrawArrow()
Gets the value if the arrow should be drawn on axis

Returns:
True if to show arrow.