JIDE 3.5.15

com.jidesoft.gauge
Class BulletTickStyle

java.lang.Object
  extended by com.jidesoft.gauge.AbstractGaugeTickStyle
      extended by com.jidesoft.gauge.BulletTickStyle

public class BulletTickStyle
extends AbstractGaugeTickStyle


Field Summary
 
Fields inherited from class com.jidesoft.gauge.AbstractGaugeTickStyle
tickColor, tickLength, tickWidth, visible
 
Constructor Summary
BulletTickStyle()
           
BulletTickStyle(double tickLength)
          Create a BulletTickStyle and provide a length for the ticks as a proportion of the breadth of the bullet (by default, 0.2)
 
Method Summary
 double getTickWidth()
          Specify the width of a tick in proportion to its length (by default, 0.075)
 void setTickWidth(double tickWidth)
          Specify the width of a tick in proportion to its length
 
Methods inherited from class com.jidesoft.gauge.AbstractGaugeTickStyle
equals, getTickColor, getTickLength, hashCode, isVisible, setTickColor, setTickLength, setVisible
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BulletTickStyle

public BulletTickStyle()

BulletTickStyle

public BulletTickStyle(double tickLength)
Create a BulletTickStyle and provide a length for the ticks as a proportion of the breadth of the bullet (by default, 0.2)

Parameters:
tickLength - the length of ticks as a proportion of the breadth of the bullet
Method Detail

getTickWidth

public double getTickWidth()
Specify the width of a tick in proportion to its length (by default, 0.075)

Overrides:
getTickWidth in class AbstractGaugeTickStyle
Returns:
the width of a tick in proportion to its length.

setTickWidth

public void setTickWidth(double tickWidth)
Specify the width of a tick in proportion to its length

Overrides:
setTickWidth in class AbstractGaugeTickStyle
Parameters:
tickWidth - the width proportion of a tick (default 0.075)

JIDE 3.5.15