Property Summary |
public
| AlertColor: Number (write-only)
|
| This property may be used to set the alert color.
|
|
public
| BgColor: Number (write-only)
|
| This property may be used to set the background color.
|
|
public
| CallBackFunction: String (write-only)
|
| This property may be used to set the function to be called when the meter is given a value within the alert range.
|
|
public
| Font: String (write-only)
|
| This property may be used to set the text font.
|
|
public
| FontColor: Number (write-only)
|
| This property may be used to set the font color.
|
|
public
| MaxAlert: Number (write-only)
|
| This property may be used to set the maximum alert range value of the meter.
|
|
public
| MaxValue: Number (write-only)
|
| This property may be used to set the maximum value of the meter.
|
|
public
| MinAlert: Number (write-only)
|
| This property may be used to set the minimum alert range value of the meter.
|
|
public
| MinValue: Number (write-only)
|
| This property may be used to set the minimum value of the meter.
|
|
public
| Separators: Number (write-only)
|
| This property may be used to set amount of separators.
|
|
public
| Title: String (write-only)
|
| This property may be used to set the title.
|
|
public
| TitleVisible: String (write-only)
|
| This property may be used to hide or show the title field.
|
|
public
| ValueVisible: String (write-only)
|
| This property may be used to enable or disable the value field.
|
|
Constructor |
| BJCAnalogMeter (
)
|
| Constructor
|
|
Method Summary |
public
| getValue (
): Number |
| This method may be used to get the current value of the analog meter.
|
|
public
| setAlertColor (
col: Number
): Void |
| This method may be used to set the alert range color of the analog meter.
|
|
public
| setBgColor (
col: Number
): Void |
| This method may be used to set the background color of the analog meter.
|
|
public
| setCallback (
cb: String
): Void |
| This method may be used to set the function to be called when the meter is given a value within the alert range.
|
|
public
| setScale (
min: Number, max: Number, alertMin: Number, alertMax: Number
): Void |
| This method may be used to set the value and alert ranges.
|
|
public
| setSeparators (
amount: Number
): Void |
| This method may be used to set amount of separators in the meter.
|
|
public
| setTitle (
view: Boolean, font: String, color: Number, text: String
): Void |
| This method may be used to set the visibility of the title field and changes the title text.
|
|
public
| setValue (
value: Number
): Void |
| This method may be used to set the value of the analog meter.
|
|
|