AI2 Component  (Version nb184)
PropertyCategory.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.annotations;
8 
13 public enum PropertyCategory {
14  // TODO(user): i18n category names
15  BEHAVIOR("Behavior"),
16  APPEARANCE("Appearance"),
17  DEPRECATED("Deprecated"),
18  UNSET("Unspecified");
19 
20  private String name;
21 
22  PropertyCategory(String categoryName) {
23  name = categoryName;
24  }
25 
26  public String getName() {
27  return name;
28  }
29 }
com.google.appinventor.components.annotations.PropertyCategory.DEPRECATED
DEPRECATED
Definition: PropertyCategory.java:17
com.google.appinventor.components.annotations.PropertyCategory.UNSET
UNSET
Definition: PropertyCategory.java:18
com.google.appinventor.components.annotations.PropertyCategory.BEHAVIOR
BEHAVIOR
Definition: PropertyCategory.java:15
com.google.appinventor.components.annotations.PropertyCategory
Definition: PropertyCategory.java:13
com.google.appinventor.components.annotations.PropertyCategory.getName
String getName()
Definition: PropertyCategory.java:26
com.google.appinventor.components.annotations.PropertyCategory.APPEARANCE
APPEARANCE
Definition: PropertyCategory.java:16
com.google.appinventor.components.annotations.PropertyCategory.PropertyCategory
PropertyCategory(String categoryName)
Definition: PropertyCategory.java:22