Module
Last updated
Last updated
Parameters
Type
Description
name
String
Name of the module
type
EnumModuleType
Type of the module.
Adds a so-called "Check Box" property to the module
Parameters
Type
Description
key
String
The unique identifier of the property
name
String
The displayed name of the property
defaultValue
Boolean
The default value of the property
Adds a so-called "Combo box" property to the module
Parameters
Type
Description
key
String
The unique identifier of the property
name
String
The displayed name of the property
defaultValue
String
The default value of the property
acceptedValues
String...
Accepted values of the property
Note: The acceptedValues must contain the defaultValue
Adds a so-called "Select box" property to the module
Parameters
Type
Description
key
String
The unique identifier of the property
name
String
The displayed name of the property
defaultValue
String
The default value of the property
acceptedValues
String...
Accepted values of the property
Note: The acceptedValues must contain the defaultValue
Adds a so-called "Slider" property to the module
Parameters
Type
Description
key
String
The unique identifier of the property
name
String
The displayed name of the property
value
double
The default value of the property
min
double
The minimum value of the property
max
double
The maximum value of the property
increment
double
Adds a so-called "Slider" property to the module
Parameters
Type
Description
key
String
The unique identifier of the property
name
String
The displayed name of the property
value
float
The default value of the property
min
float
The minimum value of the property
max
float
The maximum value of the property
increment
float
Adds a so-called "Slider" property to the module
Parameters
Type
Description
key
String
The unique identifier of the property
name
String
The displayed name of the property
value
integer
The default value of the property
min
integer
The minimum value of the property
max
integer
The maximum value of the property
increment
integer
Parameters
Type
Description
key
String
The unique identifier of the property
Returns a Property object with methods
Method
Type
Description
getBoolean
Boolean
A value of a boolean property
getString
String
A value of a string property
getList
String...
A value of a list property
getDoubleValue
double
A value of a double property
getFloat
float
A value of a float property
getInteger
integer
A value of an integer property
getLong
long
A value of a long property