|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuavsim.graphics.controls.A_ControlProperties
uavsim.graphics.controls.buttons.A_ButtonProperties
uavsim.graphics.controls.buttons.ButtonProperties
public class ButtonProperties
Defines the control properties for a button.
| Field Summary |
|---|
| Fields inherited from class uavsim.graphics.controls.buttons.A_ButtonProperties |
|---|
_bodyScale |
| Fields inherited from class uavsim.graphics.controls.A_ControlProperties |
|---|
_anchorRelative, _bodyColor, _label, _labelProperties, _outlineColor, _outlineScale |
| Constructor Summary | |
|---|---|
ButtonProperties(CoordinateCartesianRelative anchorRelative,
ScalerPair bodyScale,
Scaler outlineScale,
java.awt.Color bodyColor,
java.awt.Color outlineColor,
java.lang.String label,
TextProperties labelProperties)
Creates a button control descriptor. |
|
| Method Summary |
|---|
| Methods inherited from class uavsim.graphics.controls.buttons.A_ButtonProperties |
|---|
getBodyScale |
| Methods inherited from class uavsim.graphics.controls.A_ControlProperties |
|---|
getAnchorRelative, getBodyColor, getLabel, getLabelProperties, getOutlineColor, getOutlineScale, hasLabel, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ButtonProperties(CoordinateCartesianRelative anchorRelative,
ScalerPair bodyScale,
Scaler outlineScale,
java.awt.Color bodyColor,
java.awt.Color outlineColor,
java.lang.String label,
TextProperties labelProperties)
anchorRelative - - the center anchor relative to the center of the control's host instrumentbodyScale - - the relative scale (as width and height) of the body to its host's absolute sizeoutlineScale - - the relative scale of the outline to the bodybodyColor - - the body coloroutlineColor - - the outline colorlabel - - the label, which may be emptylabelProperties - - the label properties
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||