App Inventor
com.google.appinventor.components.annotations.SimpleProperty Interface Reference

Public Member Functions

PropertyCategory category () default PropertyCategory.UNSET
 
String description () default ""
 
boolean userVisible () default true
 

Detailed Description

Annotation to mark Simple properties.

Both the getter and the setter method of the property need to be marked with this annotation.

Member Function Documentation

◆ category()

PropertyCategory com.google.appinventor.components.annotations.SimpleProperty.category ( )

Category of property for user-level documentation. This only needs to be specified in the setter or the getter, not both.

◆ description()

String com.google.appinventor.components.annotations.SimpleProperty.description ( )

If non-empty, description to use in user-level documentation.

◆ userVisible()

boolean com.google.appinventor.components.annotations.SimpleProperty.userVisible ( )

If false, this property should not be accessible through Codeblocks. This was added to support the Row and Column properties, so they could be indirectly set in the Designer but not accessed in Codeblocks.


The documentation for this interface was generated from the following file: