AI2 Component
(Version nb184)
HorizontalArrangement.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.HORIZONTALARRANGEMENT_COMPONENT_VERSION,
50
description =
"<p>A formatting element in which to place components "
+
51
"that should be displayed from left to right. If you wish to have "
+
52
"components displayed one over another, use "
+
53
"<code>VerticalArrangement</code> instead.</p>"
,
54
category = ComponentCategory.LAYOUT)
55
@SimpleObject
56
public
class
HorizontalArrangement
extends
HVArrangement
{
57
public
HorizontalArrangement
(
ComponentContainer
container
) {
58
super(
container
,
ComponentConstants
.
LAYOUT_ORIENTATION_HORIZONTAL
,
59
ComponentConstants
.
NONSCROLLABLE_ARRANGEMENT
);
60
}
61
62
}
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.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.common.ComponentConstants.LAYOUT_ORIENTATION_HORIZONTAL
static final int LAYOUT_ORIENTATION_HORIZONTAL
Definition:
ComponentConstants.java:26
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.runtime.HorizontalArrangement.HorizontalArrangement
HorizontalArrangement(ComponentContainer container)
Definition:
HorizontalArrangement.java:57
com.google.appinventor.components.runtime.HorizontalArrangement
Definition:
HorizontalArrangement.java:56
com.google.appinventor.components.annotations
com.google.appinventor
com
google
appinventor
components
runtime
HorizontalArrangement.java
Generated by
1.8.16