|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuavsim.graphics.instruments.ArcDescriptor<_UNIT_>
_UNIT_ - - the unit of the arcpublic class ArcDescriptor<_UNIT_ extends I_Unitable<_UNIT_>>
Defines an arc over an interval of a unit.
| Field Summary | |
|---|---|
private java.awt.Color |
_color
the arc color |
private boolean |
_isFilled
whether to fill the arc or outline it |
private boolean |
_isMoon
whether to connect the end points of the arc inner radius to form a half moon |
private ScalerPair |
_radiiScalers
the scalers for the inner and outer arc radii |
private Interval<_UNIT_> |
_scale
the arc interval |
| Constructor Summary | |
|---|---|
ArcDescriptor(Interval<_UNIT_> scale,
double radius1Scale,
double radius2Scale,
boolean isFilled,
boolean isMoon,
java.awt.Color color)
Creates an arc descriptor. |
|
ArcDescriptor(Interval<_UNIT_> scale,
ScalerPair radiiScalers,
boolean isFilled,
boolean isMoon,
java.awt.Color color)
Creates an arc descriptor. |
|
| Method Summary | |
|---|---|
java.awt.Color |
getColor()
Gets the arc color. |
Interval<_UNIT_> |
getInterval()
Gets the arc interval. |
ScalerPair |
getRadiiScalers()
Gets the scalers for the inner and outer arc radii. |
boolean |
isFilled()
Gets whether to fill the arc or outline it. |
boolean |
isMoon()
Gets whether to connect the end points of the arc inner radius to form a half moon. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private final java.awt.Color _color
private final boolean _isFilled
private final boolean _isMoon
private final ScalerPair _radiiScalers
private final Interval<_UNIT_ extends I_Unitable<_UNIT_>> _scale
| Constructor Detail |
|---|
public ArcDescriptor(Interval<_UNIT_> scale,
double radius1Scale,
double radius2Scale,
boolean isFilled,
boolean isMoon,
java.awt.Color color)
scale - - the arc intervalradius1Scale - - the scaler for the inner arc radiusradius2Scale - - the scaler for the outer arc radiusisFilled - - whether to fill the arc or outline itisMoon - - whether to connect the end points of the arc inner radius to form a half mooncolor - - the arc color
public ArcDescriptor(Interval<_UNIT_> scale,
ScalerPair radiiScalers,
boolean isFilled,
boolean isMoon,
java.awt.Color color)
scale - - the arc interval [xxx odd that this is math degrees but clockwise]radiiScalers - - the scalers for the inner and outer arc radiiisFilled - - whether to fill the arc or outline itisMoon - - whether to connect the end points of the arc inner radius to form a half mooncolor - - the arc color| Method Detail |
|---|
public java.awt.Color getColor()
public Interval<_UNIT_> getInterval()
public ScalerPair getRadiiScalers()
public boolean isFilled()
public boolean isMoon()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||