|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ViewType>
com.android.ide.common.rendering.api.ViewType
public enum ViewType
Lists various types of a view. Used as a possible return value of ViewInfo.getViewType()
Enum Constant Summary | |
---|---|
ACTION_BAR_MENU
A menu item in the action bar. |
|
ACTION_BAR_OVERFLOW
The overflow menu button in the action bar. |
|
ACTION_BAR_OVERFLOW_MENU
A menu item in the action bar overflow popup. |
|
NAVIGATION_BAR_BACK
The back button in the Navigation Bar. |
|
NAVIGATION_BAR_HOME
The home button in the Navigation Bar. |
|
NAVIGATION_BAR_RECENTS
The recents button in the Navigation Bar. |
|
SYSTEM_UNKNOWN
A view added by the framework. |
|
USER
A view that is part of the user's layout. |
Method Summary | |
---|---|
static ViewType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ViewType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
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 |
Enum Constant Detail |
---|
public static final ViewType SYSTEM_UNKNOWN
public static final ViewType USER
public static final ViewType ACTION_BAR_OVERFLOW
public static final ViewType ACTION_BAR_MENU
public static final ViewType ACTION_BAR_OVERFLOW_MENU
public static final ViewType NAVIGATION_BAR_BACK
public static final ViewType NAVIGATION_BAR_HOME
public static final ViewType NAVIGATION_BAR_RECENTS
Method Detail |
---|
public static ViewType[] values()
for (ViewType c : ViewType.values()) System.out.println(c);
public static ViewType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |