AI2 Component
(Version nb184)
HorizontalScrollArrangement.java
Go to the documentation of this file.
1
// -*- mode: java; c-basic-offset: 2; -*-
2
// Copyright 2016 MIT, All rights reserved
3
// Released under the Apache License, Version 2.0
4
// http://www.apache.org/licenses/LICENSE-2.0
5
6
package
com.google.appinventor.components.runtime;
7
8
import
com
.
google
.
appinventor
.
components
.
annotations
.
DesignerComponent
;
9
import
com
.
google
.
appinventor
.
components
.
annotations
.
SimpleObject
;
10
import
com
.
google
.
appinventor
.
components
.
common
.
ComponentCategory
;
11
import
com
.
google
.
appinventor
.
components
.
common
.
ComponentConstants
;
12
import
com
.
google
.
appinventor
.
components
.
common
.
YaVersion
;
13
25
@DesignerComponent(version = YaVersion.HORIZONTALSCROLLARRANGEMENT_COMPONENT_VERSION,
26
description =
"<p>A formatting element in which to place components "
+
27
"that should be displayed from left to right. If you wish to have "
+
28
"components displayed one over another, use "
+
29
"<code>VerticalArrangement</code> instead.</p><p>This version is "
+
30
"scrollable."
,
31
category = ComponentCategory.LAYOUT)
32
@SimpleObject
33
public
class
HorizontalScrollArrangement
extends
HVArrangement
{
34
public
HorizontalScrollArrangement
(
ComponentContainer
container
) {
35
super(
container
,
ComponentConstants
.
LAYOUT_ORIENTATION_HORIZONTAL
,
36
ComponentConstants
.
SCROLLABLE_ARRANGEMENT
);
37
}
38
39
}
com.google.appinventor.components.common.YaVersion
Definition:
YaVersion.java:14
com.google.appinventor.components
com.google.appinventor.components.annotations.DesignerComponent
Definition:
DesignerComponent.java:22
com.google.appinventor.components.runtime.HorizontalScrollArrangement
Definition:
HorizontalScrollArrangement.java:33
com.google.appinventor.components.common.ComponentConstants.SCROLLABLE_ARRANGEMENT
static boolean SCROLLABLE_ARRANGEMENT
Definition:
ComponentConstants.java:81
com.google.appinventor.components.runtime.HorizontalScrollArrangement.HorizontalScrollArrangement
HorizontalScrollArrangement(ComponentContainer container)
Definition:
HorizontalScrollArrangement.java:34
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.annotations
com.google.appinventor
com
google
appinventor
components
runtime
HorizontalScrollArrangement.java
Generated by
1.8.16