Annotation Interface FN


@Retention(RUNTIME) @Target(METHOD) public @interface FN
Annotate a method as a function. Functions will be exposed as controls on the component.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
    Annotate a method as a FN.Watch function.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    Relative weight compared to other @FN elements.
  • Element Details

    • value

      int value
      Relative weight compared to other @FN elements. Functions will be sorted by weight, and then alphabetically. Higher weight elements will sort after lower weight elements.
      Returns:
      weight
      Default:
      0