Annotation Interface FloatPropertySlider


@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface FloatPropertySlider
Float property configurable in Appfigurate using a slider. See Java float slider 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.
    float
    Maximum value for the double property in range of 1.2E-38 to 3.4E+38.
    float
    Minimum value for the float property in a range of 1.2E-38 to 3.4E+38.
    Slider icon to customize the minimum and maximum images.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    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

      float minValue
      Minimum value for the float property in a range of 1.2E-38 to 3.4E+38.
      Returns:
      float value.
    • maxValue

      float maxValue
      Maximum value for the double property in range of 1.2E-38 to 3.4E+38. Must be greater than the minValue.
      Returns:
      float value.
    • sliderIcon

      IconSlider sliderIcon
      Slider icon to customize the minimum and maximum images.
      Returns:
      icon enumeration.
    • restart

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