Annotation Interface FloatPropertyList


@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface FloatPropertyList
Float property configurable in Appfigurate from a list of valid choices. See Java float list 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.
    List of keys.
    float[]
    List of float values.
  • 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.
    • keys

      String[] keys
      List of keys. Each key must have a value entry.
      Returns:
      keys.
    • values

      float[] values
      List of float values. Each value must have a key entry.
      Returns:
      values.
    • restart

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