AI2 Component  (Version nb184)
SimpleProperty.java
Go to the documentation of this file.
1 // -*- mode: java; c-basic-offset: 2; -*-
2 // Copyright 2009-2011 Google, All Rights reserved
3 // Copyright 2011-2012 MIT, All rights reserved
4 // Released under the Apache License, Version 2.0
5 // http://www.apache.org/licenses/LICENSE-2.0
6 
7 package com.google.appinventor.components.annotations;
8 
9 import java.lang.annotation.ElementType;
10 import java.lang.annotation.Retention;
11 import java.lang.annotation.RetentionPolicy;
12 import java.lang.annotation.Target;
13 
21 @Retention(RetentionPolicy.RUNTIME)
22 @Target(ElementType.METHOD)
23 public @interface SimpleProperty {
27  String description() default "";
28 
33  PropertyCategory category() default PropertyCategory.UNSET;
34 
40  boolean userVisible() default true;
41 }
com.google.appinventor.components.annotations.PropertyCategory.UNSET
UNSET
Definition: PropertyCategory.java:18
com.google.appinventor.components.annotations.SimpleProperty
Definition: SimpleProperty.java:23
com.google.appinventor.components.annotations.PropertyCategory
Definition: PropertyCategory.java:13