AI2 Component
(Version nb184)
VerticalArrangement.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.runtime;
8
9
import
com
.
google
.
appinventor
.
components
.
annotations
.
DesignerComponent
;
10
import
com
.
google
.
appinventor
.
components
.
annotations
.
SimpleObject
;
11
import
com
.
google
.
appinventor
.
components
.
common
.
ComponentCategory
;
12
import
com
.
google
.
appinventor
.
components
.
common
.
ComponentConstants
;
13
import
com
.
google
.
appinventor
.
components
.
common
.
YaVersion
;
14
49
@DesignerComponent(version = YaVersion.VERTICALARRANGEMENT_COMPONENT_VERSION,
50
description =
"<p>A formatting element in which to place components "
+
51
"that should be displayed one below another. (The first child component "
+
52
"is stored on top, the second beneath it, etc.) If you wish to have "
+
53
"components displayed next to one another, use "
+
54
"<code>HorizontalArrangement</code> instead.</p>"
,
55
category = ComponentCategory.LAYOUT)
56
@SimpleObject
57
public
class
VerticalArrangement
extends
HVArrangement
{
58
59
public
VerticalArrangement
(
ComponentContainer
container
) {
60
super(
container
,
ComponentConstants
.
LAYOUT_ORIENTATION_VERTICAL
,
61
ComponentConstants
.
NONSCROLLABLE_ARRANGEMENT
);
62
}
63
64
}
com.google.appinventor.components.common.YaVersion
Definition:
YaVersion.java:14
com.google.appinventor.components.common.ComponentConstants.NONSCROLLABLE_ARRANGEMENT
static boolean NONSCROLLABLE_ARRANGEMENT
Definition:
ComponentConstants.java:82
com.google.appinventor.components
com.google.appinventor.components.annotations.DesignerComponent
Definition:
DesignerComponent.java:22
com.google.appinventor.components.runtime.VerticalArrangement.VerticalArrangement
VerticalArrangement(ComponentContainer container)
Definition:
VerticalArrangement.java:59
com.google.appinventor.components.runtime.VerticalArrangement
Definition:
VerticalArrangement.java:57
com.google.appinventor.components.runtime.ComponentContainer
Definition:
ComponentContainer.java:16
com.google.appinventor.components.common
Definition:
ComponentCategory.java:7
com.google.appinventor.components.common.ComponentCategory
Definition:
ComponentCategory.java:48
com.google.appinventor.components.annotations.SimpleObject
Definition:
SimpleObject.java:23
com.google.appinventor.components.runtime.HVArrangement
Definition:
HVArrangement.java:48
com.google.appinventor.components.runtime.AndroidViewComponent.container
final ComponentContainer container
Definition:
AndroidViewComponent.java:29
com.google
com
com.google.appinventor.components.common.ComponentConstants
Definition:
ComponentConstants.java:13
com.google.appinventor.components.common.ComponentConstants.LAYOUT_ORIENTATION_VERTICAL
static final int LAYOUT_ORIENTATION_VERTICAL
Definition:
ComponentConstants.java:27
com.google.appinventor.components.annotations
com.google.appinventor
com
google
appinventor
components
runtime
VerticalArrangement.java
Generated by
1.8.16