|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuavsim.graphics.instruments.CircularFaceplateDescriptor<_UNIT_>
_UNIT_ - - the unit that the instrumentation is based onpublic class CircularFaceplateDescriptor<_UNIT_ extends I_Unitable<_UNIT_>>
Provides a descriptor for the faceplate of circular "steam" gauges.
| Field Summary | |
|---|---|
private ArcMathematical |
_arc
the arc over which the instrument represents a value of the given unit |
private Interval<_UNIT_> |
_scale
the minimum and maximum values to map over the arc |
| Constructor Summary | |
|---|---|
CircularFaceplateDescriptor(double arcAngleStart,
double arcAngleEnd,
_UNIT_ valueMin,
_UNIT_ valueMax)
Creates a circular faceplate descriptor. |
|
| Method Summary | |
|---|---|
ArcMathematical |
getArc()
Gets the arc over which the instrument represents a value of the given unit. |
Interval<_UNIT_> |
getScale()
Gets the the minimum and maximum values to map over the arc. |
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 ArcMathematical _arc
private final Interval<_UNIT_ extends I_Unitable<_UNIT_>> _scale
| Constructor Detail |
|---|
public CircularFaceplateDescriptor(double arcAngleStart,
double arcAngleEnd,
_UNIT_ valueMin,
_UNIT_ valueMax)
arcAngleStart - - the start of the clockwise arc over which the instrument represents a value of the given unitarcAngleEnd - - the arc endvalueMin - - the minimum value to map over the arcvalueMax - - the maximum value to map over the arc| Method Detail |
|---|
public ArcMathematical getArc()
public Interval<_UNIT_> getScale()
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 | ||||||||