Annotation Interface DoublePropertyListEdit
Double property configurable in Appfigurate from a list of valid choices. The
user can customise the list by adding additional values. See
Java double editable list implementation
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionString that describes the purpose of the property, to appear in Appfigurate's Configure app screen.String[]
List of keys.double
Maximum value for the double property in range of 2.3E-308 to 1.7E+308.double
Minimum value for the double property in a range of 2.3E-308 to 1.7E+308double[]
List of double values. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionOptional regular expression validating the input.boolean
If the property value changes, the app can be optionally restarted.
-
Element Details
-
description
String descriptionString that describes the purpose of the property, to appear in Appfigurate's Configure app screen.- Returns:
- string describing purpose of the property.
-
keys
String[] keysList of keys. Each key must have a value entry.- Returns:
- keys.
-
values
double[] valuesList of double values. Each value must have a key entry and be within the minValue..maxValue range and conform to the optional regular expression.- Returns:
- values.
-
minValue
double minValueMinimum value for the double property in a range of 2.3E-308 to 1.7E+308- Returns:
- double value.
-
maxValue
double maxValueMaximum value for the double property in range of 2.3E-308 to 1.7E+308. Must be greater than the minValue.- Returns:
- double value.
-
regularExpression
String regularExpressionOptional regular expression validating the input.- Returns:
- regular expression or "" for no regular expression.
- Default:
""
-
restart
boolean restartIf the property value changes, the app can be optionally restarted.- Returns:
- true if the app should be restarted.
- Default:
false
-