com.googlecode.androidannotations.model
Enum AndroidRes
java.lang.Object
java.lang.Enum<AndroidRes>
com.googlecode.androidannotations.model.AndroidRes
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<AndroidRes>
public enum AndroidRes
- extends java.lang.Enum<AndroidRes>
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
STRING
public static final AndroidRes STRING
STRING_ARRAY
public static final AndroidRes STRING_ARRAY
ANIMATION
public static final AndroidRes ANIMATION
HTML
public static final AndroidRes HTML
BOOLEAN
public static final AndroidRes BOOLEAN
COLOR_STATE_LIST
public static final AndroidRes COLOR_STATE_LIST
DIMENSION
public static final AndroidRes DIMENSION
DIMENSION_PIXEL_OFFSET
public static final AndroidRes DIMENSION_PIXEL_OFFSET
DIMENSION_PIXEL_SIZE
public static final AndroidRes DIMENSION_PIXEL_SIZE
DRAWABLE
public static final AndroidRes DRAWABLE
INT_ARRAY
public static final AndroidRes INT_ARRAY
INTEGER
public static final AndroidRes INTEGER
LAYOUT
public static final AndroidRes LAYOUT
MOVIE
public static final AndroidRes MOVIE
TEXT
public static final AndroidRes TEXT
TEXT_ARRAY
public static final AndroidRes TEXT_ARRAY
COLOR
public static final AndroidRes COLOR
values
public static AndroidRes[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (AndroidRes c : AndroidRes.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AndroidRes valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
getRInnerClass
public IRClass.Res getRInnerClass()
getTarget
public java.lang.Class<? extends java.lang.annotation.Annotation> getTarget()
getResourceMethodName
public java.lang.String getResourceMethodName()
getAllowedTypes
public java.util.List<java.lang.String> getAllowedTypes()
idFromElement
public int idFromElement(javax.lang.model.element.Element element)
Copyright © 2010-2012. All Rights Reserved.