|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuavsim.graphics.instruments.TickDescriptor<_UNIT_>
_UNIT_ - - the unit that the ticks are based onpublic class TickDescriptor<_UNIT_ extends I_Unitable<_UNIT_>>
Defines a tick descriptor.
| Field Summary | |
|---|---|
private java.awt.Color |
_color
the tick color |
private Interval<_UNIT_> |
_interval
the interval over which the ticks range |
private ScalerPair |
_radiiScalers
the scalers for the inner and outer arc radii |
private Scaler |
_width
the width scale of the tick relative to the instrument size |
| Constructor Summary | |
|---|---|
TickDescriptor(Interval<_UNIT_> interval,
double innerRadiusScale,
double outerRadiusScale,
double width,
java.awt.Color color)
Creates a tick descriptor. |
|
TickDescriptor(Interval<_UNIT_> interval,
ScalerPair radiiScalers,
Scaler width,
java.awt.Color color)
Creates a tick descriptor. |
|
| Method Summary | |
|---|---|
java.awt.Color |
getColor()
Gets the tick color. |
Interval<_UNIT_> |
getInterval()
Gets the interval over which the ticks range. |
ScalerPair |
getRadii()
Gets the scalers for the inner and outer arc radii. |
Scaler |
getWidth()
Gets the width scale of the tick relative to the instrument size. |
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 Interval<_UNIT_ extends I_Unitable<_UNIT_>> _interval
private final ScalerPair _radiiScalers
private final Scaler _width
| Constructor Detail |
|---|
public TickDescriptor(Interval<_UNIT_> interval,
double innerRadiusScale,
double outerRadiusScale,
double width,
java.awt.Color color)
interval - -the interval over which the ticks rangeinnerRadiusScale - - the scaler for the inner arc radiusouterRadiusScale - - the scaler for the outer arc radiuswidth - -the width scale of the tick relative to the instrument sizecolor - -the tick color
public TickDescriptor(Interval<_UNIT_> interval,
ScalerPair radiiScalers,
Scaler width,
java.awt.Color color)
interval - -the interval over which the ticks rangeradiiScalers - -the scalers for the inner and outer arc radiiwidth - -the width scale of the tick relative to the instrument sizecolor - -the tick color| Method Detail |
|---|
public java.awt.Color getColor()
public Interval<_UNIT_> getInterval()
public ScalerPair getRadii()
public Scaler getWidth()
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 | ||||||||