|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jidesoft.gauge.BulletPointMarker
public class BulletPointMarker
A marker class for a specific value along a Bullet.
Constructor Summary | |
---|---|
BulletPointMarker(Bullet bullet,
double value)
Constructs a BulletPointMarker for the specified Bullet, using COLOR.GRAY as the fill Color and ranging between the given from and to values. |
|
BulletPointMarker(Bullet bullet,
Paint fill,
double value)
Constructs a BulletPointMarker for the specified Bullet, using the supplied fill value for the Color and ranging between the given from and to values. |
Method Summary | |
---|---|
void |
draw(Graphics g)
The method of the Drawable interface. |
double |
getBreadthProportion()
Returns the value that determines how much of the breadth of the bullet is covered by this marker |
Paint |
getFill()
Returns the current Color (or other paint) for the body of the interval |
void |
setBreadthProportion(double breadthProportion)
Specify how much of the breadth of the bullet should be taken up by this marker. |
void |
setFill(Paint fill)
Specify the Color (or other Paint fill) to use for filling the body of the interval |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BulletPointMarker(Bullet bullet, double value)
bullet
- the bullet to which this marker will be appliedvalue
- the point value at which the marker should appearpublic BulletPointMarker(Bullet bullet, Paint fill, double value)
bullet
- the bullet to which this marker will be appliedfill
- the Color/Paint to use for filling in the body of the markervalue
- the point value at which the marker should appearMethod Detail |
---|
public double getBreadthProportion()
public void setBreadthProportion(double breadthProportion)
breadthProportion
- a value between 0 and 1 (inclusive) (default 0.75)public Paint getFill()
public void setFill(Paint fill)
fill
- the fill Color (or Paint) for the indicated range along the primary axispublic void draw(Graphics g)
draw
in interface Drawable
g
- the Graphics context
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |