|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jidesoft.gauge.DialIntervalMarker
public class DialIntervalMarker
A Drawable class that paints a region to indicate an interval on the Dial's primary axis
| Constructor Summary | |
|---|---|
DialIntervalMarker(Dial dial,
double fromValue,
double toValue,
double innerRadius,
double outerRadius,
Paint fill)
Create a DialIntervalMarker for the supplied dial, between the values fromValue and toValue
on the primaryAxis, between the supplied innerRadius and outerRadius and filled with
the supplied paint fill. |
|
DialIntervalMarker(Dial dial,
double fromValue,
double toValue,
Paint fill)
Create a DialIntervalMarker for the supplied dial, between the values fromValue and toValue
on the primaryAxis and filled with the supplied paint fill. |
|
| Method Summary | |
|---|---|
GeneralPath |
createSegment(double fromAngle,
double toAngle,
double innerRadius,
double outerRadius)
|
void |
draw(Graphics g)
Draw the object implementing this interface onto the supplied Graphics context |
Color |
getBorderColor()
|
BasicStroke |
getBorderStroke()
|
Paint |
getFill()
|
double |
getFrom()
|
double |
getInnerRadius()
|
double |
getOuterRadius()
|
double |
getTo()
|
int |
getZOrder()
|
void |
setBorderColor(Color borderColor)
|
void |
setBorderStroke(BasicStroke borderStroke)
|
void |
setFill(Paint fill)
|
void |
setFrom(double from)
|
void |
setInnerRadius(double innerRadius)
|
void |
setOuterRadius(double outerRadius)
|
void |
setTo(double to)
|
void |
setZOrder(int zOrder)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DialIntervalMarker(Dial dial,
double fromValue,
double toValue,
Paint fill)
fromValue and toValue
on the primaryAxis and filled with the supplied paint fill.
dial - the Dial to which the Marker will be added as a DrawablefromValue - the start value for the marker on the primary axis of the dialtoValue - the end value for the marker on the primary axis of the dialfill - the paint fill
public DialIntervalMarker(Dial dial,
double fromValue,
double toValue,
double innerRadius,
double outerRadius,
Paint fill)
fromValue and toValue
on the primaryAxis, between the supplied innerRadius and outerRadius and filled with
the supplied paint fill.
dial - the Dial to which the Marker will be added as a DrawablefromValue - the start value for the marker on the primary axis of the dialtoValue - the end value for the marker on the primary axis of the dialinnerRadius - the inner radius of the marker segment, supplied as a proportion of the dial radiusouterRadius - the outer radius of the marker segment, supplied as a proportion of the dial radiusfill - the paint fill| Method Detail |
|---|
public Paint getFill()
public void setFill(Paint fill)
public double getFrom()
public void setFrom(double from)
public double getInnerRadius()
public void setInnerRadius(double innerRadius)
public double getOuterRadius()
public void setOuterRadius(double outerRadius)
public double getTo()
public void setTo(double to)
public Color getBorderColor()
public void setBorderColor(Color borderColor)
public BasicStroke getBorderStroke()
public void setBorderStroke(BasicStroke borderStroke)
public int getZOrder()
getZOrder in interface ZOrderpublic void setZOrder(int zOrder)
setZOrder in interface ZOrderpublic void draw(Graphics g)
Drawable
draw in interface Drawableg - the Graphics context
public GeneralPath createSegment(double fromAngle,
double toAngle,
double innerRadius,
double outerRadius)
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||