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

Static Public Attributes

static final int APP_INVENTOR_MIN_SDK = 7
 
static final int LAYOUT_ORIENTATION_HORIZONTAL = 0
 
static final int LAYOUT_ORIENTATION_VERTICAL = 1
 
static final int DEFAULT_ROW_COLUMN = -1
 
static final int EMPTY_HV_ARRANGEMENT_WIDTH = 100
 
static final int EMPTY_HV_ARRANGEMENT_HEIGHT = 100
 
static final int CANVAS_PREFERRED_WIDTH = 32
 
static final int CANVAS_PREFERRED_HEIGHT = 48
 
static final int VIDEOPLAYER_PREFERRED_WIDTH = 176
 
static final int VIDEOPLAYER_PREFERRED_HEIGHT = 144
 
static final int TEXTBOX_PREFERRED_WIDTH = 160
 
static final int GRAVITY_LEFT = 1
 
static final int GRAVITY_RIGHT = 2
 
static final int GRAVITY_CENTER_HORIZONTAL = 3
 
static final int GRAVITY_TOP = 1
 
static final int GRAVITY_CENTER_VERTICAL = 2
 
static final int GRAVITY_BOTTOM = 3
 
static final int HORIZONTAL_ALIGNMENT_DEFAULT = GRAVITY_LEFT
 
static final int VERTICAL_ALIGNMENT_DEFAULT = GRAVITY_TOP
 
static final int TEXT_RECEIVING_OFF = 1
 
static final int TEXT_RECEIVING_FOREGROUND = 2
 
static final int TEXT_RECEIVING_ALWAYS = 3
 
static final int LISTVIEW_PREFERRED_WIDTH = 315
 
static final int LISTVIEW_PREFERRED_HEIGHT = 40
 
static final int LISTVIEW_FILTER_PREFERRED_HEIGHT = 30
 
static boolean SCROLLABLE_ARRANGEMENT = true
 
static boolean NONSCROLLABLE_ARRANGEMENT = false
 
static final String DEFAULT_THEME = "Classic"
 
static final String DEFAULT_PRIMARY_COLOR = "&HFF3F51B5"
 
static final String DEFAULT_PRIMARY_DARK_COLOR = "&HFF303F9F"
 
static final String DEFAULT_ACCENT_COLOR = "&HFFFF4081"
 
static final int MAP_PREFERRED_WIDTH = 176
 
static final int MAP_PREFERRED_HEIGHT = 144
 
static final int MARKER_PREFERRED_WIDTH = 30
 
static final int MARKER_PREFERRED_HEIGHT = 50
 
static final int CIRCLE_PREFERRED_RADIUS = 30
 
static final int LINESTRING_PREFERRED_LENGTH = 60
 
static final int POLYGON_PREFERRED_WIDTH = 50
 
static final int POLYGON_PREFERRED_HEIGHT = 30
 
static final int RECTANGLE_PREFERRED_WIDTH = 50
 
static final int RECTANGLE_PREFERRED_HEIGHT = 30
 

Detailed Description

Contains constants related to the persistent format of Simple components.

Definition at line 13 of file ComponentConstants.java.

Member Data Documentation

◆ APP_INVENTOR_MIN_SDK

final int com.google.appinventor.components.common.ComponentConstants.APP_INVENTOR_MIN_SDK = 7
static

App constants

Definition at line 21 of file ComponentConstants.java.

◆ CANVAS_PREFERRED_HEIGHT

final int com.google.appinventor.components.common.ComponentConstants.CANVAS_PREFERRED_HEIGHT = 48
static

Definition at line 38 of file ComponentConstants.java.

◆ CANVAS_PREFERRED_WIDTH

final int com.google.appinventor.components.common.ComponentConstants.CANVAS_PREFERRED_WIDTH = 32
static

Canvas component.

Definition at line 37 of file ComponentConstants.java.

◆ CIRCLE_PREFERRED_RADIUS

final int com.google.appinventor.components.common.ComponentConstants.CIRCLE_PREFERRED_RADIUS = 30
static

Definition at line 99 of file ComponentConstants.java.

◆ DEFAULT_ACCENT_COLOR

final String com.google.appinventor.components.common.ComponentConstants.DEFAULT_ACCENT_COLOR = "&HFFFF4081"
static

Definition at line 90 of file ComponentConstants.java.

◆ DEFAULT_PRIMARY_COLOR

final String com.google.appinventor.components.common.ComponentConstants.DEFAULT_PRIMARY_COLOR = "&HFF3F51B5"
static

Definition at line 88 of file ComponentConstants.java.

◆ DEFAULT_PRIMARY_DARK_COLOR

final String com.google.appinventor.components.common.ComponentConstants.DEFAULT_PRIMARY_DARK_COLOR = "&HFF303F9F"
static

Definition at line 89 of file ComponentConstants.java.

◆ DEFAULT_ROW_COLUMN

final int com.google.appinventor.components.common.ComponentConstants.DEFAULT_ROW_COLUMN = -1
static

Definition at line 29 of file ComponentConstants.java.

◆ DEFAULT_THEME

final String com.google.appinventor.components.common.ComponentConstants.DEFAULT_THEME = "Classic"
static

Themeing

Definition at line 87 of file ComponentConstants.java.

◆ EMPTY_HV_ARRANGEMENT_HEIGHT

final int com.google.appinventor.components.common.ComponentConstants.EMPTY_HV_ARRANGEMENT_HEIGHT = 100
static

Definition at line 32 of file ComponentConstants.java.

◆ EMPTY_HV_ARRANGEMENT_WIDTH

final int com.google.appinventor.components.common.ComponentConstants.EMPTY_HV_ARRANGEMENT_WIDTH = 100
static

Definition at line 31 of file ComponentConstants.java.

◆ GRAVITY_BOTTOM

final int com.google.appinventor.components.common.ComponentConstants.GRAVITY_BOTTOM = 3
static

Definition at line 61 of file ComponentConstants.java.

◆ GRAVITY_CENTER_HORIZONTAL

final int com.google.appinventor.components.common.ComponentConstants.GRAVITY_CENTER_HORIZONTAL = 3
static

Definition at line 57 of file ComponentConstants.java.

◆ GRAVITY_CENTER_VERTICAL

final int com.google.appinventor.components.common.ComponentConstants.GRAVITY_CENTER_VERTICAL = 2
static

Definition at line 60 of file ComponentConstants.java.

◆ GRAVITY_LEFT

final int com.google.appinventor.components.common.ComponentConstants.GRAVITY_LEFT = 1
static

HorizontalArrangement, VerticalArrangement, and Screen

Definition at line 55 of file ComponentConstants.java.

◆ GRAVITY_RIGHT

final int com.google.appinventor.components.common.ComponentConstants.GRAVITY_RIGHT = 2
static

Definition at line 56 of file ComponentConstants.java.

◆ GRAVITY_TOP

final int com.google.appinventor.components.common.ComponentConstants.GRAVITY_TOP = 1
static

Definition at line 59 of file ComponentConstants.java.

◆ HORIZONTAL_ALIGNMENT_DEFAULT

final int com.google.appinventor.components.common.ComponentConstants.HORIZONTAL_ALIGNMENT_DEFAULT = GRAVITY_LEFT
static

Definition at line 63 of file ComponentConstants.java.

◆ LAYOUT_ORIENTATION_HORIZONTAL

final int com.google.appinventor.components.common.ComponentConstants.LAYOUT_ORIENTATION_HORIZONTAL = 0
static

Layout constants.

Definition at line 26 of file ComponentConstants.java.

◆ LAYOUT_ORIENTATION_VERTICAL

final int com.google.appinventor.components.common.ComponentConstants.LAYOUT_ORIENTATION_VERTICAL = 1
static

Definition at line 27 of file ComponentConstants.java.

◆ LINESTRING_PREFERRED_LENGTH

final int com.google.appinventor.components.common.ComponentConstants.LINESTRING_PREFERRED_LENGTH = 60
static

Definition at line 100 of file ComponentConstants.java.

◆ LISTVIEW_FILTER_PREFERRED_HEIGHT

final int com.google.appinventor.components.common.ComponentConstants.LISTVIEW_FILTER_PREFERRED_HEIGHT = 30
static

Definition at line 75 of file ComponentConstants.java.

◆ LISTVIEW_PREFERRED_HEIGHT

final int com.google.appinventor.components.common.ComponentConstants.LISTVIEW_PREFERRED_HEIGHT = 40
static

Definition at line 74 of file ComponentConstants.java.

◆ LISTVIEW_PREFERRED_WIDTH

final int com.google.appinventor.components.common.ComponentConstants.LISTVIEW_PREFERRED_WIDTH = 315
static

ListView component.

Definition at line 73 of file ComponentConstants.java.

◆ MAP_PREFERRED_HEIGHT

final int com.google.appinventor.components.common.ComponentConstants.MAP_PREFERRED_HEIGHT = 144
static

Definition at line 96 of file ComponentConstants.java.

◆ MAP_PREFERRED_WIDTH

final int com.google.appinventor.components.common.ComponentConstants.MAP_PREFERRED_WIDTH = 176
static

Map Components

Definition at line 95 of file ComponentConstants.java.

◆ MARKER_PREFERRED_HEIGHT

final int com.google.appinventor.components.common.ComponentConstants.MARKER_PREFERRED_HEIGHT = 50
static

Definition at line 98 of file ComponentConstants.java.

◆ MARKER_PREFERRED_WIDTH

final int com.google.appinventor.components.common.ComponentConstants.MARKER_PREFERRED_WIDTH = 30
static

Definition at line 97 of file ComponentConstants.java.

◆ NONSCROLLABLE_ARRANGEMENT

boolean com.google.appinventor.components.common.ComponentConstants.NONSCROLLABLE_ARRANGEMENT = false
static

Definition at line 82 of file ComponentConstants.java.

◆ POLYGON_PREFERRED_HEIGHT

final int com.google.appinventor.components.common.ComponentConstants.POLYGON_PREFERRED_HEIGHT = 30
static

Definition at line 102 of file ComponentConstants.java.

◆ POLYGON_PREFERRED_WIDTH

final int com.google.appinventor.components.common.ComponentConstants.POLYGON_PREFERRED_WIDTH = 50
static

Definition at line 101 of file ComponentConstants.java.

◆ RECTANGLE_PREFERRED_HEIGHT

final int com.google.appinventor.components.common.ComponentConstants.RECTANGLE_PREFERRED_HEIGHT = 30
static

Definition at line 104 of file ComponentConstants.java.

◆ RECTANGLE_PREFERRED_WIDTH

final int com.google.appinventor.components.common.ComponentConstants.RECTANGLE_PREFERRED_WIDTH = 50
static

Definition at line 103 of file ComponentConstants.java.

◆ SCROLLABLE_ARRANGEMENT

boolean com.google.appinventor.components.common.ComponentConstants.SCROLLABLE_ARRANGEMENT = true
static

Scrollable Arrangements

Definition at line 81 of file ComponentConstants.java.

◆ TEXT_RECEIVING_ALWAYS

final int com.google.appinventor.components.common.ComponentConstants.TEXT_RECEIVING_ALWAYS = 3
static

Definition at line 68 of file ComponentConstants.java.

◆ TEXT_RECEIVING_FOREGROUND

final int com.google.appinventor.components.common.ComponentConstants.TEXT_RECEIVING_FOREGROUND = 2
static

Definition at line 67 of file ComponentConstants.java.

◆ TEXT_RECEIVING_OFF

final int com.google.appinventor.components.common.ComponentConstants.TEXT_RECEIVING_OFF = 1
static

Definition at line 66 of file ComponentConstants.java.

◆ TEXTBOX_PREFERRED_WIDTH

final int com.google.appinventor.components.common.ComponentConstants.TEXTBOX_PREFERRED_WIDTH = 160
static

TextBox, PasswordTextBox, and EmailPicker components.

Definition at line 50 of file ComponentConstants.java.

◆ VERTICAL_ALIGNMENT_DEFAULT

final int com.google.appinventor.components.common.ComponentConstants.VERTICAL_ALIGNMENT_DEFAULT = GRAVITY_TOP
static

Definition at line 64 of file ComponentConstants.java.

◆ VIDEOPLAYER_PREFERRED_HEIGHT

final int com.google.appinventor.components.common.ComponentConstants.VIDEOPLAYER_PREFERRED_HEIGHT = 144
static

Definition at line 45 of file ComponentConstants.java.

◆ VIDEOPLAYER_PREFERRED_WIDTH

final int com.google.appinventor.components.common.ComponentConstants.VIDEOPLAYER_PREFERRED_WIDTH = 176
static

VideoPlayer component. This is the size generated by iMovie for small videos

Definition at line 44 of file ComponentConstants.java.


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