|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuavsim.graphics.instruments.RectangularFaceplaceDescriptor
public class RectangularFaceplaceDescriptor
Provides a descriptor for the faceplate of rectangular instruments.
| Field Summary | |
|---|---|
private java.awt.Color |
_bodyColor
the body color |
private ScalerPair |
_bodyScale
the size scale of the instrument relative to the canvas size as (width,height) |
private java.awt.Color |
_outlineColor
the outline color |
private Scaler |
_outlineScale
the width scale of the outline relative to the canvas size |
| Constructor Summary | |
|---|---|
RectangularFaceplaceDescriptor(ScalerPair bodyScale,
java.awt.Color bodyColor,
Scaler outlineScale,
java.awt.Color outlineColor)
Creates a rectangular faceplate descriptor. |
|
| Method Summary | |
|---|---|
java.awt.Color |
getBodyColor()
Gets the body color. |
ScalerPair |
getBodyScale()
Gets the size scale of the instrument relative to the canvas size. |
java.awt.Color |
getOutlineColor()
Gets the outline color. |
Scaler |
getOutlineScale()
Gets the width scale of the outline relative to the canvas 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 _bodyColor
private final ScalerPair _bodyScale
private final java.awt.Color _outlineColor
private final Scaler _outlineScale
| Constructor Detail |
|---|
public RectangularFaceplaceDescriptor(ScalerPair bodyScale,
java.awt.Color bodyColor,
Scaler outlineScale,
java.awt.Color outlineColor)
bodyScale - - the size scale of the instrument relative to the canvas size as (width,height)bodyColor - - the body coloroutlineScale - - the width scale of the outline relative to the canvas sizeoutlineColor - - the outline color| Method Detail |
|---|
public java.awt.Color getBodyColor()
public ScalerPair getBodyScale()
public java.awt.Color getOutlineColor()
public Scaler getOutlineScale()
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 | ||||||||