com.jidesoft.gauge
Class BulletTickStyle
java.lang.Object
com.jidesoft.gauge.AbstractGaugeTickStyle
com.jidesoft.gauge.BulletTickStyle
public class BulletTickStyle
- extends AbstractGaugeTickStyle
|
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 |
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
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)