AI2 Component
(Version nb184)
ComponentContainer.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
android.app.Activity;
10
16
public
interface
ComponentContainer
{
23
Activity
$context
();
24
30
Form
$form
();
31
41
void
$add
(
AndroidViewComponent
component);
42
43
void
setChildWidth
(
AndroidViewComponent
component,
int
width);
44
45
void
setChildHeight
(
AndroidViewComponent
component,
int
height);
46
47
int
Width
();
48
49
int
Height
();
50
51
}
com.google.appinventor.components.runtime.ComponentContainer.setChildWidth
void setChildWidth(AndroidViewComponent component, int width)
com.google.appinventor.components.runtime.ComponentContainer.Width
int Width()
com.google.appinventor.components.runtime.ComponentContainer.setChildHeight
void setChildHeight(AndroidViewComponent component, int height)
com.google.appinventor.components.runtime.ComponentContainer.$add
void $add(AndroidViewComponent component)
com.google.appinventor.components.runtime.ComponentContainer
Definition:
ComponentContainer.java:16
com.google.appinventor.components.runtime.ComponentContainer.$form
Form $form()
com.google.appinventor.components.runtime.ComponentContainer.$context
Activity $context()
com.google.appinventor.components.runtime.ComponentContainer.Height
int Height()
com.google.appinventor.components.runtime.AndroidViewComponent
Definition:
AndroidViewComponent.java:27
com.google.appinventor.components.runtime.Form
Definition:
Form.java:126
com
google
appinventor
components
runtime
ComponentContainer.java
Generated by
1.8.16