|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuavsim.graphics.controls.A_ControlProperties
public abstract class A_ControlProperties
Provides the shared functionality for defining control properties.
| Field Summary | |
|---|---|
protected CoordinateCartesianRelative |
_anchorRelative
the center anchor relative to the center of the control's host instrument |
protected java.awt.Color |
_bodyColor
the body color |
protected java.lang.String |
_label
the label, which may be empty |
protected TextProperties |
_labelProperties
the label properties |
protected java.awt.Color |
_outlineColor
the outline color |
protected Scaler |
_outlineScale
the relative scale of the outline to the body |
| Constructor Summary | |
|---|---|
A_ControlProperties(CoordinateCartesianRelative anchorRelative,
Scaler outlineScale,
java.awt.Color bodyColor,
java.awt.Color outlineColor,
java.lang.String label,
TextProperties labelProperties)
Creates an abstract properties descriptor for a control. |
|
| Method Summary | |
|---|---|
CoordinateCartesianRelative |
getAnchorRelative()
Gets the center anchor relative to the center of the control's host instrument. |
java.awt.Color |
getBodyColor()
Gets the body color. |
java.lang.String |
getLabel()
Gets the label, which may be empty. |
TextProperties |
getLabelProperties()
Get the label properties. |
java.awt.Color |
getOutlineColor()
Gets the outline color. |
Scaler |
getOutlineScale()
Gets the relative scale of the outline to the body. |
boolean |
hasLabel()
Returns whether there is a label. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final CoordinateCartesianRelative _anchorRelative
protected final java.awt.Color _bodyColor
protected final java.lang.String _label
protected final TextProperties _labelProperties
protected final java.awt.Color _outlineColor
protected final Scaler _outlineScale
| Constructor Detail |
|---|
public A_ControlProperties(CoordinateCartesianRelative anchorRelative,
Scaler outlineScale,
java.awt.Color bodyColor,
java.awt.Color outlineColor,
java.lang.String label,
TextProperties labelProperties)
label - - the label, which may be emptyanchorRelative - - the center anchor relative to the center of the control's host instrumentoutlineScale - - the relative scale of the outline to the bodybodyColor - - the body coloroutlineColor - - the outline colorlabelProperties - - the label properties| Method Detail |
|---|
public CoordinateCartesianRelative getAnchorRelative()
public java.awt.Color getBodyColor()
public java.lang.String getLabel()
public TextProperties getLabelProperties()
public java.awt.Color getOutlineColor()
public Scaler getOutlineScale()
public boolean hasLabel()
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 | ||||||||