Module qtjambi
Package io.qt

Annotation Type QtPropertyBindable


@Retention(RUNTIME) @Target(METHOD) public @interface QtPropertyBindable

QtPropertyBindable annotates a method as being a QBindable getter for a QProperty-based property.

You don't need to use @QtPropertyBindable annotation if the method meets following signature and naming convention:

  1. returns QUntypedBindable or a subtype of QUntypedBindable
  2. no parameters
  3. method name is "bindableProp" for an available property "prop" whereas "prop" can be any name
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Returns true if the property is enabled; otherwise, false.
    Returns the name of the property.
  • Element Details

    • enabled

      boolean enabled
      Returns true if the property is enabled; otherwise, false.
      Default:
      true
    • name

      String name
      Returns the name of the property.
      Default:
      ""