|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuavsim.graphics.instruments.NeedleDescriptor
public class NeedleDescriptor
Defines a needle descriptor.
| Field Summary | |
|---|---|
private Scaler |
_baseRadius
the scaler for the needle base radius relative to the instrument size |
private Scaler |
_baseWidth
the scaler for the needle base width relative to the instrument size |
private java.awt.Color |
_color
the needle color |
private Scaler |
_tipRadius
the scaler for the needle tip radius relative to the instrument size |
private Scaler |
_tipWidth
the scaler for the needle tip width relative to the instrument size |
| Constructor Summary | |
|---|---|
NeedleDescriptor(double baseRadiusScale,
double baseWidthScale,
double tipRadiusScale,
double tipWidthScale,
java.awt.Color color)
Creates a needle descriptor. |
|
NeedleDescriptor(Scaler baseRadius,
Scaler baseWidth,
Scaler tipRadius,
Scaler tipWidth,
java.awt.Color color)
Creates a needle descriptor. |
|
| Method Summary | |
|---|---|
Scaler |
getBaseRadiusScaler()
Gets the scaler for the needle base radius relative to the instrument size. |
Scaler |
getBaseWidthScaler()
Gets the scaler for the needle base width relative to the instrument size. |
java.awt.Color |
getColor()
Gets the needle color. |
Scaler |
getTipRadiusScaler()
Gets the scaler for the needle tip radius relative to the instrument size. |
Scaler |
getTipWidthScaler()
Gets the scaler for the needle tip width 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 Scaler _baseRadius
private final Scaler _baseWidth
private final java.awt.Color _color
private final Scaler _tipRadius
private final Scaler _tipWidth
| Constructor Detail |
|---|
public NeedleDescriptor(double baseRadiusScale,
double baseWidthScale,
double tipRadiusScale,
double tipWidthScale,
java.awt.Color color)
baseRadiusScale - - the scaler for the needle base radius relative to the instrument sizebaseWidthScale - - the scaler for the needle base width relative to the instrument sizetipRadiusScale - - the scaler for the needle tip radius relative to the instrument sizetipWidthScale - - the scaler for the needle tip width relative to the instrument sizecolor - - the needle color
public NeedleDescriptor(Scaler baseRadius,
Scaler baseWidth,
Scaler tipRadius,
Scaler tipWidth,
java.awt.Color color)
baseRadius - - the scaler for the needle base radius relative to the instrument sizebaseWidth - - the scaler for the needle base width relative to the instrument sizetipRadius - - the scaler for the needle tip radius relative to the instrument sizetipWidth - - the scaler for the needle tip width relative to the instrument sizecolor - - the needle color| Method Detail |
|---|
public Scaler getBaseRadiusScaler()
public Scaler getBaseWidthScaler()
public java.awt.Color getColor()
public Scaler getTipRadiusScaler()
public Scaler getTipWidthScaler()
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 | ||||||||