JIDE 3.5.15

com.jidesoft.gauge
Class BulletAxis

java.lang.Object
  extended by com.jidesoft.gauge.AbstractNumericGaugeAxis<BulletTickStyle>
      extended by com.jidesoft.gauge.BulletAxis

public class BulletAxis
extends AbstractNumericGaugeAxis<BulletTickStyle>

An Axis type for bullet charts


Field Summary
 
Fields inherited from class com.jidesoft.gauge.AbstractNumericGaugeAxis
majorTickInterval, minorTickInterval, PROPERTY_MAJOR_TICK, PROPERTY_MAJOR_TICK_STYLE, PROPERTY_MINOR_TICK, PROPERTY_MINOR_TICK_STYLE, PROPERTY_RANGE, range, support
 
Constructor Summary
BulletAxis()
           
BulletAxis(double rangeStart, double rangeEnd)
          Construct a BulletAxis and provide start and end values to define the axis range
BulletAxis(double rangeStart, double rangeEnd, double majorTickInterval, double minorTickInterval)
          Construct a BulletAxis, providing start and end values to define the axis range as well as intervals between the major and minor ticks
 
Method Summary
 BulletAxisPlacement getPlacement()
          Returns the current location of the axis in the bullet chart
 double getTickLabelRotation()
           
 boolean isVisible()
          Returns a boolean to indicate whether the axis is painted
 void setPlacement(BulletAxisPlacement placement)
          Specify where the axis should be placed in the bullet chart
 void setTickLabelRotation(double tickLabelRotation)
           
 void setVisible(boolean visible)
          Specify whether the axis is painted
 
Methods inherited from class com.jidesoft.gauge.AbstractNumericGaugeAxis
addPropertyChangeListener, createTickCalculator, getMajorTickInterval, getMajorTickStyle, getMinorTickInterval, getMinorTickStyle, getNumberFormat, getRange, getTickLabelColor, getTickLabelFont, maximum, minimum, removePropertyChangeListener, setMajorTickInterval, setMajorTickStyle, setMinorTickInterval, setMinorTickStyle, setNumberFormat, setRange, setRange, setTickLabelColor, setTickLabelFont, ticks, toString, updateTicks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BulletAxis

public BulletAxis()

BulletAxis

public BulletAxis(double rangeStart,
                  double rangeEnd)
Construct a BulletAxis and provide start and end values to define the axis range

Parameters:
rangeStart - the start of the axis range
rangeEnd - the end of the axis range

BulletAxis

public BulletAxis(double rangeStart,
                  double rangeEnd,
                  double majorTickInterval,
                  double minorTickInterval)
Construct a BulletAxis, providing start and end values to define the axis range as well as intervals between the major and minor ticks

Parameters:
rangeStart - the start of the axis range
rangeEnd - the end of the axis range
majorTickInterval - the gap between major ticks along the axis
minorTickInterval - the gap between minor ticks along the axis
Method Detail

getTickLabelRotation

public double getTickLabelRotation()

setTickLabelRotation

public void setTickLabelRotation(double tickLabelRotation)

getPlacement

public BulletAxisPlacement getPlacement()
Returns the current location of the axis in the bullet chart

Returns:
the current location of the axis in the bullet chart

setPlacement

public void setPlacement(BulletAxisPlacement placement)
Specify where the axis should be placed in the bullet chart

Parameters:
placement - where the axis should be placed

isVisible

public boolean isVisible()
Returns a boolean to indicate whether the axis is painted

Returns:
a boolean to indicate whether the axis is painted

setVisible

public void setVisible(boolean visible)
Specify whether the axis is painted

Parameters:
visible - true if the axis is painted; false to omit it

JIDE 3.5.15