Annotation Interface Property


@Retention(RUNTIME) @Target(METHOD) public @interface Property
The @Property annotation is used to indicate that a method (or pair of methods) is a property, to set a property name and flags, or to specify that a pair of get- and set-methods are not properties (using skip=false).

Always set the @Property annotation with the same parameters on both the get- and set-method.

  • Field Details

  • Element Details

    • name

      String name
      Default:
      ""
    • type

      Class<? extends ParamSpec> type
      Default:
      org.gnome.gobject.ParamSpec.class
    • skip

      boolean skip
      Default:
      false
    • readable

      boolean readable
      Default:
      true
    • writable

      boolean writable
      Default:
      true
    • construct

      boolean construct
      Default:
      false
    • constructOnly

      boolean constructOnly
      Default:
      false
    • explicitNotify

      boolean explicitNotify
      Default:
      false
    • deprecated

      boolean deprecated
      Default:
      false
    • minimumValue

      String minimumValue
      Default:
      "JAVA-GI-DEFAULT-PLACEHOLDER-VALUE"
    • maximumValue

      String maximumValue
      Default:
      "JAVA-GI-DEFAULT-PLACEHOLDER-VALUE"
    • defaultValue

      String defaultValue
      Default:
      "JAVA-GI-DEFAULT-PLACEHOLDER-VALUE"