Static Method Summary
Static Public Methods | ||
public static |
calcRelativeStep(step: *, value: *, logBase: number): * |
|
public static |
getClass(type: *): * |
|
public static |
internalRegister(cls: *) |
|
public static |
makeUIName(name: *): * |
|
public static |
register(cls: *): * |
|
public static |
setDefaultDecimalPlaces(n: *) |
|
public static |
setDefaultRadix(n: *) |
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
apiname: * |
|
public |
baseUnit: * |
|
public |
callbacks: {} |
|
public |
data: * |
|
public |
|
|
public |
description: * |
|
public |
displayUnit: * |
|
public |
flag: * |
|
public |
icon: * |
|
public |
icon2: * |
|
public |
radix: * |
|
public |
|
|
public |
|
|
public |
|
|
public |
subtype: * |
|
public |
type: * |
|
public |
|
|
public |
uiname: * |
|
public |
|
Method Summary
Public Methods | ||
public |
calcMemSize(): * |
|
public |
clearEventCallbacks(): * |
|
public |
copy(): * |
|
public |
copyTo(b: *) |
|
public |
equals(b: *) |
|
public |
|
|
public |
getValue(): * |
|
public |
loadJSON(obj: *): * |
|
public |
loadSTRUCT(reader: *) |
|
public |
noUnits(): * |
|
public |
off(type: *, cb: *): * |
|
public |
on(type: *, cb: *): * |
|
public |
once(type: *, cb: *): * |
|
public |
private(): * |
|
public |
report() |
|
public |
saveLastValue(): * |
|
public |
setBaseUnit(unit: *): * |
|
public |
setDescription(s: *): * |
|
public |
setDisplayUnit(unit: *): * |
|
public |
|
|
public |
setIcon(icon: *): * |
|
public |
setIcon2(icon: *): * |
|
public |
setRange(min: *, max: *): * |
|
public |
setRelativeStep(step: *) |
|
public |
setStep(step: *): * |
|
public |
setUIName(s: *): * |
|
public |
setUIRange(min: *, max: *): * |
|
public |
setValue(val: *) |
|
public |
toJSON(): {"type": *, "subtype": *, "apiname": *, "uiname": *, "description": *, "flag": *, "icon": *, "data": *, "range": *, "uiRange": *, "step": *} |
Private Methods | ||
private |
_fire(type: *, arg1: *, arg2: *): * |
Inherited Summary
From class ToolPropertyIF | ||
public |
apiname: * |
|
public |
data: * |
|
public |
description: * |
|
public |
flag: * |
|
public |
icon: * |
|
public |
subtype: * |
|
public |
type: * |
|
public |
uiname: * |
|
public |
copy() |
|
public |
copyTo(b: *) |
|
public |
equals(b: *) |
|
public |
getValue() |
|
public |
off(type: *, cb: *) |
|
public |
on(type: *, cb: *) |
|
public |
setIcon(icon: *) |
|
public |
setRange(min: *, max: *) |
|
public |
setStep(step: *) |
|
public |
setUIRange(min: *, max: *) |
|
public |
setUnit(unit: *) |
|
public |
setValue(val: *) |
|
private |
_fire(type: *, arg1: *, arg2: *) |
Static Public Methods
public static calcRelativeStep(step: *, value: *, logBase: number): * source
Params:
Name | Type | Attribute | Description |
step | * | ||
value | * | ||
logBase | number |
|
Return:
* |
public static internalRegister(cls: *) source
Params:
Name | Type | Attribute | Description |
cls | * |
public static setDefaultDecimalPlaces(n: *) source
Params:
Name | Type | Attribute | Description |
n | * |
public static setDefaultRadix(n: *) source
Params:
Name | Type | Attribute | Description |
n | * |
Public Constructors
Public Members
public baseUnit: * source
public callbacks: {} source
public decimalPlaces: * source
public displayUnit: * source
public icon2: * source
public radix: * source
Public Methods
public getStep(value: number): * source
Params:
Name | Type | Attribute | Description |
value | number |
|
Return:
* |
public loadSTRUCT(reader: *) source
Params:
Name | Type | Attribute | Description |
reader | * |
public off(type: *, cb: *): * source
Override:
ToolPropertyIF#offParams:
Name | Type | Attribute | Description |
type | * | ||
cb | * |
Return:
* |
public on(type: *, cb: *): * source
Override:
ToolPropertyIF#onParams:
Name | Type | Attribute | Description |
type | * | ||
cb | * |
Return:
* |
public report() source
public setFlag(f: *, combine: boolean): * source
Params:
Name | Type | Attribute | Description |
f | * | ||
combine | boolean |
|
Return:
* |
public setIcon(icon: *): * source
Override:
ToolPropertyIF#setIconParams:
Name | Type | Attribute | Description |
icon | * |
Return:
* |
public setRange(min: *, max: *): * source
Override:
ToolPropertyIF#setRangeParams:
Name | Type | Attribute | Description |
min | * | ||
max | * |
Return:
* |
public setRelativeStep(step: *) source
Params:
Name | Type | Attribute | Description |
step | * |
public setStep(step: *): * source
Override:
ToolPropertyIF#setStepParams:
Name | Type | Attribute | Description |
step | * |
Return:
* |
public setUIRange(min: *, max: *): * source
Override:
ToolPropertyIF#setUIRangeParams:
Name | Type | Attribute | Description |
min | * | ||
max | * |
Return:
* |
public setValue(val: *) source
Override:
ToolPropertyIF#setValueParams:
Name | Type | Attribute | Description |
val | * |
public toJSON(): {"type": *, "subtype": *, "apiname": *, "uiname": *, "description": *, "flag": *, "icon": *, "data": *, "range": *, "uiRange": *, "step": *} source
Return:
{"type": *, "subtype": *, "apiname": *, "uiname": *, "description": *, "flag": *, "icon": *, "data": *, "range": *, "uiRange": *, "step": *} |
Private Methods
private _fire(type: *, arg1: *, arg2: *): * source
Override:
ToolPropertyIF#_fireParams:
Name | Type | Attribute | Description |
type | * | ||
arg1 | * | ||
arg2 | * |
Return:
* |