AI2 Component  (Version nb184)
VisibleComponent.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 
12 
19 @SimpleObject
20 public abstract class VisibleComponent implements Component {
21  protected VisibleComponent() {
22  }
23 
30  category = PropertyCategory.APPEARANCE)
31  public abstract int Width();
32 
39  public abstract void Width(int width);
40 
51  category = PropertyCategory.APPEARANCE)
52  public abstract void WidthPercent(int wPercent);
53 
60  category = PropertyCategory.APPEARANCE)
61  public abstract int Height();
62 
69  public abstract void Height(int height);
70 
81  category = PropertyCategory.APPEARANCE)
82  public abstract void HeightPercent(int hPercent);
83 }
com.google.appinventor.components.runtime.VisibleComponent.VisibleComponent
VisibleComponent()
Definition: VisibleComponent.java:21
com.google.appinventor.components.runtime.VisibleComponent.Width
abstract int Width()
com.google.appinventor.components
com.google.appinventor.components.runtime.VisibleComponent.HeightPercent
abstract void HeightPercent(int hPercent)
com.google.appinventor.components.runtime.VisibleComponent
Definition: VisibleComponent.java:20
com.google.appinventor.components.annotations.SimpleProperty
Definition: SimpleProperty.java:23
com.google.appinventor.components.annotations.PropertyCategory
Definition: PropertyCategory.java:13
com.google.appinventor.components.runtime.VisibleComponent.Height
abstract int Height()
com.google.appinventor.components.runtime.Component
Definition: Component.java:17
com.google.appinventor.components.annotations.SimpleObject
Definition: SimpleObject.java:23
com.google
com
com.google.appinventor.components.annotations.PropertyCategory.APPEARANCE
APPEARANCE
Definition: PropertyCategory.java:16
com.google.appinventor.components.runtime.VisibleComponent.WidthPercent
abstract void WidthPercent(int wPercent)
com.google.appinventor.components.annotations
com.google.appinventor