Annotation Interface DoublePropertyEdit


@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface DoublePropertyEdit
Double property configurable in Appfigurate using a text field. See Java double editable implementation
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    String that describes the purpose of the property, to appear in Appfigurate's Configure app screen.
    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+308
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Optional regular expression validating the input.
    boolean
    If the property value changes, the app can be optionally restarted.
  • Element Details

    • description

      String description
      String that describes the purpose of the property, to appear in Appfigurate's Configure app screen.
      Returns:
      string describing purpose of the property.
    • minValue

      double minValue
      Minimum value for the double property in a range of 2.3E-308 to 1.7E+308
      Returns:
      double value.
    • maxValue

      double maxValue
      Maximum 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 regularExpression
      Optional regular expression validating the input.
      Returns:
      regular expression or "" for no regular expression.
      Default:
      ""
    • restart

      boolean restart
      If the property value changes, the app can be optionally restarted.
      Returns:
      true if the app should be restarted.
      Default:
      false