AI2 Component  (Version nb184)
com.google.appinventor.components.common.PropertyTypeConstants Class Reference

Static Public Attributes

static final String PROPERTY_TYPE_ASSET = "asset"
 
static final String PROPERTY_TYPE_BLUETOOTHCLIENT = "BluetoothClient"
 
static final String PROPERTY_TYPE_BOOLEAN = "boolean"
 
static final String PROPERTY_TYPE_HORIZONTAL_ALIGNMENT = "horizontal_alignment"
 
static final String PROPERTY_TYPE_VERTICAL_ALIGNMENT = "vertical_alignment"
 
static final String PROPERTY_TYPE_ACCELEROMETER_SENSITIVITY = "accelerometer_sensitivity"
 
static final String PROPERTY_TYPE_BUTTON_SHAPE = "button_shape"
 
static final String PROPERTY_TYPE_COLOR = "color"
 
static final String PROPERTY_TYPE_COMPONENT = "component"
 
static final String PROPERTY_TYPE_FLOAT = "float"
 
static final String PROPERTY_TYPE_GEOGRAPHIC_POINT = "geographic_point"
 
static final String PROPERTY_TYPE_INTEGER = "integer"
 
static final String PROPERTY_TYPE_LATITUDE = "latitude"
 
static final String PROPERTY_TYPE_LEGO_NXT_SENSOR_PORT = "lego_nxt_sensor_port"
 
static final String PROPERTY_TYPE_LEGO_NXT_GENERATED_COLOR = "lego_nxt_generated_color"
 
static final String PROPERTY_TYPE_LEGO_EV3_SENSOR_PORT = "lego_ev3_sensor_port"
 
static final String PROPERTY_TYPE_LEGO_EV3_SOUND_SENSOR_MODE = "lego_ev3_sound_sensor_mode"
 
static final String PROPERTY_TYPE_LEGO_EV3_COLOR_SENSOR_MODE = "lego_ev3_color_sensor_mode"
 
static final String PROPERTY_TYPE_LEGO_EV3_ULTRASONIC_SENSOR_MODE = "lego_ev3_ultrasonic_sensor_mode"
 
static final String PROPERTY_TYPE_LEGO_EV3_GYRO_SENSOR_MODE = "lego_ev3_gyro_sensor_mode"
 
static final String PROPERTY_TYPE_LEGO_EV3_GENERATED_COLOR = "lego_ev3_generated_color"
 
static final String PROPERTY_TYPE_CHOICES = "choices"
 
static final String PROPERTY_TYPE_LENGTH = "length"
 
static final String PROPERTY_TYPE_LONGITUDE = "longitude"
 
static final String PROPERTY_TYPE_MAP_UNIT_SYSTEM = "map_unit_system"
 
static final String PROPERTY_TYPE_MAP_TYPE = "map_type"
 
static final String PROPERTY_TYPE_MAP_ZOOM = "map_zoom"
 
static final String PROPERTY_TYPE_GEOJSON_TYPE = "geojson_type"
 
static final String PROPERTY_TYPE_NON_NEGATIVE_FLOAT = "non_negative_float"
 
static final String PROPERTY_TYPE_NON_NEGATIVE_INTEGER = "non_negative_integer"
 
static final String PROPERTY_TYPE_SCREEN_ORIENTATION = "screen_orientation"
 
static final String PROPERTY_TYPE_SCREEN_ANIMATION = "screen_animation"
 
static final String PROPERTY_TYPE_SENSOR_DIST_INTERVAL = "sensor_dist_interval"
 
static final String PROPERTY_TYPE_SENSOR_TIME_INTERVAL = "sensor_time_interval"
 
static final String PROPERTY_TYPE_STRING = "string"
 
static final String PROPERTY_TYPE_TEXT = "text"
 
static final String PROPERTY_TYPE_TEXTAREA = "textArea"
 
static final String PROPERTY_TYPE_SUBSET_JSON = "subset_json"
 
static final String PROPERTY_TYPE_TEXTALIGNMENT = "textalignment"
 
static final String PROPERTY_TYPE_TOAST_LENGTH = "toast_length"
 
static final String PROPERTY_TYPE_TYPEFACE = "typeface"
 
static final String PROPERTY_TYPE_VISIBILITY = "visibility"
 
static final String PROPERTY_TYPE_TEXT_RECEIVING = "text_receiving"
 
static final String PROPERTY_TYPE_TEXT_TO_SPEECH_COUNTRIES = "countries"
 
static final String PROPERTY_TYPE_TEXT_TO_SPEECH_LANGUAGES = "languages"
 
static final String PROPERTY_TYPE_SIZING = "sizing"
 
static final String PROPERTY_TYPE_FIREBASE_URL = "FirbaseURL"
 
static final String PROPERTY_TYPE_SCALING = "scaling"
 
static final String PROPERTY_TYPE_THEME = "theme"
 
static final String PROPERTY_TYPE_NAVIGATION_METHOD = "navigation_method"
 

Detailed Description

Constants for specifying which PropertyEditor should be used for modifying a property value within the Designer. This is used within com.google.appinventor.components.annotations.DesignerProperty#editorType().

Definition at line 14 of file PropertyTypeConstants.java.

Member Data Documentation

◆ PROPERTY_TYPE_ACCELEROMETER_SENSITIVITY

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_ACCELEROMETER_SENSITIVITY = "accelerometer_sensitivity"
static

Accelerometer sensitivity.

See also
com.google.appinventor.client.editor.youngandroid.properties.YoungAndroidAccelerometerSensitvityChoicePropertyEditor

Definition at line 50 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_ASSET

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_ASSET = "asset"
static

User-uploaded assets.

See also
com.google.appinventor.client.editor.youngandroid.properties.YoungAndroidAssetSelectorPropertyEditor

Definition at line 22 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_BLUETOOTHCLIENT

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_BLUETOOTHCLIENT = "BluetoothClient"
static

Instances of com.google.appinventor.components.runtime.BluetoothClient in the current project.

Definition at line 28 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_BOOLEAN

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_BOOLEAN = "boolean"
static

Boolean values.

See also
com.google.appinventor.client.editor.youngandroid.properties.YoungAndroidBooleanPropertyEditor

Definition at line 35 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_BUTTON_SHAPE

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_BUTTON_SHAPE = "button_shape"
static

Button shapes.

See also
com.google.appinventor.client.editor.youngandroid.properties.YoungAndroidButtonShapeChoicePropertyEditor

Definition at line 57 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_CHOICES

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_CHOICES = "choices"
static

Choices.

See also
com.google.appinventor.client.widgets.properties.ChoicePropertyEditor

Definition at line 157 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_COLOR

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_COLOR = "color"
static

Any of the colors specified in {}.

Definition at line 63 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_COMPONENT

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_COMPONENT = "component"
static

Component instances in the current project.

See also
com.google.appinventor.client.editor.youngandroid.properties.YoungAndroidComponentSelectorPropertyEditor

Definition at line 70 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_FIREBASE_URL

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_FIREBASE_URL = "FirbaseURL"
static

FirebaseURL – A type of String property that has a special default value selected via a checkbox.

Definition at line 310 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_FLOAT

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_FLOAT = "float"
static

Floating-point values.

See also
com.google.appinventor.client.widgets.properties.FloatPropertyEditor

Definition at line 76 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_GEOGRAPHIC_POINT

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_GEOGRAPHIC_POINT = "geographic_point"
static

A latitude, longitude pair expressed as a comma-separated string.

See also
com.google.appinventor.client.editor.youngandroid.properties.YoungAndroidGeographicPointPropertyEditor

Definition at line 82 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_GEOJSON_TYPE

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_GEOJSON_TYPE = "geojson_type"
static

GeoJSON from media or URL for the FeatureCollection component.

See also
com.google.appinventor.client.editor.youngandroid.properties.YoungAndroidGeoJSONPropertyEditor

Definition at line 194 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_HORIZONTAL_ALIGNMENT

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_HORIZONTAL_ALIGNMENT = "horizontal_alignment"
static

Arrangement alignment.

See also
com.google.appinventor.client.editor.youngandroid.properties.YoungAndroidHorizontalAlignmentChoicePropertyEditor

Definition at line 42 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_INTEGER

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_INTEGER = "integer"
static

Integer values.

See also
com.google.appinventor.client.widgets.properties.IntegerPropertyEditor

Definition at line 88 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_LATITUDE

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_LATITUDE = "latitude"
static

Floating-point values limited to valid latitudes [-90, 90].

See also
com.google.appinventor.client.editor.youngandroid.properties.YoungAndroidFloatRangePropertyEditor

Definition at line 94 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_LEGO_EV3_COLOR_SENSOR_MODE

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_LEGO_EV3_COLOR_SENSOR_MODE = "lego_ev3_color_sensor_mode"
static

Lego EV3 color sensor mode.

See also
com.google.appinventor.client.editor.youngandroid.properties.YoungAndroidLegoEv3SensorColorModeChoicePropertyEditor

Definition at line 129 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_LEGO_EV3_GENERATED_COLOR

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_LEGO_EV3_GENERATED_COLOR = "lego_ev3_generated_color"
static

Colors recognizable by Lego EV3 sensors.

See also
com.google.appinventor.client.editor.youngandroid.properties.YoungAndroidColorChoicePropertyEditor::EV3_GENERATED_COLORS

Definition at line 150 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_LEGO_EV3_GYRO_SENSOR_MODE

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_LEGO_EV3_GYRO_SENSOR_MODE = "lego_ev3_gyro_sensor_mode"
static

Lego EV3 gyro sensor mode.

See also
com.google.appinventor.client.editor.youngandroid.properties.YoungAndroidLegoEv3SensorgyroModeChoicePropertyEditor

Definition at line 143 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_LEGO_EV3_SENSOR_PORT

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_LEGO_EV3_SENSOR_PORT = "lego_ev3_sensor_port"
static

Lego EV3 sensor ports.

See also
com.google.appinventor.client.editor.youngandroid.properties.YoungAndroidLegoEv3SensorPortChoicePropertyEditor

Definition at line 115 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_LEGO_EV3_SOUND_SENSOR_MODE

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_LEGO_EV3_SOUND_SENSOR_MODE = "lego_ev3_sound_sensor_mode"
static

Lego EV3 sound sensor mode.

See also
com.google.appinventor.client.editor.youngandroid.properties.YoungAndroidLegoEv3SensorSoundModeChoicePropertyEditor

Definition at line 122 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_LEGO_EV3_ULTRASONIC_SENSOR_MODE

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_LEGO_EV3_ULTRASONIC_SENSOR_MODE = "lego_ev3_ultrasonic_sensor_mode"
static

Lego EV3 ultrasonic sensor mode.

See also
com.google.appinventor.client.editor.youngandroid.properties.YoungAndroidLegoEv3UltrasonicSensorModeChoicePropertyEditor

Definition at line 136 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_LEGO_NXT_GENERATED_COLOR

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_LEGO_NXT_GENERATED_COLOR = "lego_nxt_generated_color"
static

Colors recognizable by Lego NXT sensors.

See also
com.google.appinventor.client.editor.youngandroid.properties.YoungAndroidColorChoicePropertyEditor::NXT_GENERATED_COLORS

Definition at line 108 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_LEGO_NXT_SENSOR_PORT

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_LEGO_NXT_SENSOR_PORT = "lego_nxt_sensor_port"
static

Lego NXT sensor ports.

See also
com.google.appinventor.client.editor.youngandroid.properties.YoungAndroidLegoNxtSensorPortChoicePropertyEditor

Definition at line 101 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_LENGTH

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_LENGTH = "length"
static

Length editor (e.g., width, height)

See also
com.google.appinventor.client.editor.youngandroid.properties.YoungAndroidLengthPropertyEditor

Definition at line 163 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_LONGITUDE

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_LONGITUDE = "longitude"
static

Floating-point values in the range of valid longitudes [-180, 180].

See also
com.google.appinventor.client.editor.youngandroid.properties.YoungAndroidFloatRangePropertyEditor

Definition at line 169 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_MAP_TYPE

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_MAP_TYPE = "map_type"
static

Map types supported by the Map component.

See also
com.google.appinventor.client.editor.youngandroid.properties.YoungAndroidMapTypePropertyEditor

Definition at line 181 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_MAP_UNIT_SYSTEM

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_MAP_UNIT_SYSTEM = "map_unit_system"
static

Unit system for the map scale bar.

Definition at line 174 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_MAP_ZOOM

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_MAP_ZOOM = "map_zoom"
static

Integer values limited to the range of valid map zoom levels [1, 18].

See also
com.google.appinventor.client.editor.youngandroid.properties.YoungAndroidMapZoomPropertyEditor

Definition at line 187 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_NAVIGATION_METHOD

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_NAVIGATION_METHOD = "navigation_method"
static

Choices of navigation methods. {}

Definition at line 329 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_NON_NEGATIVE_FLOAT

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_NON_NEGATIVE_FLOAT = "non_negative_float"
static

Non-negative (positive or zero) floating-point values.

See also
com.google.appinventor.client.widgets.properties.NonNegativeFloatPropertyEditor

Definition at line 200 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_NON_NEGATIVE_INTEGER

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_NON_NEGATIVE_INTEGER = "non_negative_integer"
static

Non-negative (positive or zero) integers.

See also
com.google.appinventor.client.widgets.properties.NonNegativeIntegerPropertyEditor

Definition at line 206 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_SCALING

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_SCALING = "scaling"
static

Specifies how a picture is scaled when its dimensions are changed. Choices are 0 - Scale proportionally, 1 - Scale to fit See com.google.appinventor.client.widgets.properties.ScalingChoicePropertyEditor

Definition at line 317 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_SCREEN_ANIMATION

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_SCREEN_ANIMATION = "screen_animation"
static

Choices of screen animations offered by {}.

Definition at line 218 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_SCREEN_ORIENTATION

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_SCREEN_ORIENTATION = "screen_orientation"
static

Choices of screen orientations offered by {}.

Definition at line 212 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_SENSOR_DIST_INTERVAL

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_SENSOR_DIST_INTERVAL = "sensor_dist_interval"
static

Minimum distance interval, in meters, that the location sensor will try to use for sending out location updates. See com.google.appinventor.components.runtime.LocationSensor.

Definition at line 224 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_SENSOR_TIME_INTERVAL

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_SENSOR_TIME_INTERVAL = "sensor_time_interval"
static

Minimum time interval, in milliseconds, that the location sensor use to send out location updates. See com.google.appinventor.components.runtime.LocationSensor.

Definition at line 230 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_SIZING

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_SIZING = "sizing"
static

Choices of the "Sizing" property in Form.java. Used to specify if we are going to use the true size of the real screen (responsize) or scale automatically to make all devices look like an old phone (fixed).

Definition at line 303 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_STRING

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_STRING = "string"
static

Strings. This has the same effect as, but is preferred in component definitions to, PROPERTY_TYPE_TEXT).

See also
com.google.appinventor.client.widgets.properties.StringPropertyEditor

Definition at line 237 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_SUBSET_JSON

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_SUBSET_JSON = "subset_json"
static

The Subset JSON property editor pops up a web form for the selection of components and blocks to be included in the subset.

Definition at line 254 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_TEXT

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_TEXT = "text"
static

Text. This has the same effect as PROPERTY_TYPE_STRING, which is preferred everywhere except as the default value for {}. com.google.appinventor.client.widgets.properties.TextPropertyEditor com.google.appinventor.client.widgets.properties.TextAreaPropertyEditor

Definition at line 246 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_TEXT_RECEIVING

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_TEXT_RECEIVING = "text_receiving"
static

Choices of Text Receiving options. {}.

Definition at line 284 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_TEXT_TO_SPEECH_COUNTRIES

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_TEXT_TO_SPEECH_COUNTRIES = "countries"
static

Choices of text-to-speech countries. {}.

Definition at line 290 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_TEXT_TO_SPEECH_LANGUAGES

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_TEXT_TO_SPEECH_LANGUAGES = "languages"
static

Choices of text-to-speech languages. {}.

Definition at line 296 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_TEXTALIGNMENT

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_TEXTALIGNMENT = "textalignment"
static

Choices of text alignment (left, center, right) offered by {}.

Definition at line 260 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_TEXTAREA

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_TEXTAREA = "textArea"
static

Definition at line 248 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_THEME

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_THEME = "theme"
static

◆ PROPERTY_TYPE_TOAST_LENGTH

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_TOAST_LENGTH = "toast_length"
static

Choices of toast display length (short, long) offered by {}.

Definition at line 266 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_TYPEFACE

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_TYPEFACE = "typeface"
static

Choices of typefaces offered by {}.

Definition at line 272 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_VERTICAL_ALIGNMENT

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_VERTICAL_ALIGNMENT = "vertical_alignment"
static

Definition at line 43 of file PropertyTypeConstants.java.

◆ PROPERTY_TYPE_VISIBILITY

final String com.google.appinventor.components.common.PropertyTypeConstants.PROPERTY_TYPE_VISIBILITY = "visibility"
static

Choices of visibility for view components offered by {}.

Definition at line 278 of file PropertyTypeConstants.java.


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