AI2 Component  (Version nb184)
DesignerProperty.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-2019 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 
10 
11 import java.lang.annotation.ElementType;
12 import java.lang.annotation.Retention;
13 import java.lang.annotation.RetentionPolicy;
14 import java.lang.annotation.Target;
15 
23 @Retention(RetentionPolicy.RUNTIME)
24 @Target(ElementType.METHOD)
25 public @interface DesignerProperty {
31  String editorType() default PropertyTypeConstants.PROPERTY_TYPE_TEXT;
32 
38  String defaultValue() default "";
39 
48  boolean alwaysSend() default false;
49 
55  String[] editorArgs() default {};
56 }
com.google.appinventor.components.annotations.DesignerProperty
Definition: DesignerProperty.java:25
com.google.appinventor.components
com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_TEXT
static final String PROPERTY_TYPE_TEXT
Definition: PropertyTypeConstants.java:246
com.google.appinventor.components.common
Definition: ComponentCategory.java:7
com.google
com
com.google.appinventor.components.common.PropertyTypeConstants
Definition: PropertyTypeConstants.java:14
com.google.appinventor.components.annotations.DesignerProperty.editorArgs
String[] editorArgs() default
Definition: DesignerProperty.java:55
com.google.appinventor