net.simonvt.menudrawer
Enum MenuDrawer.Type

java.lang.Object
  extended by java.lang.Enum<MenuDrawer.Type>
      extended by net.simonvt.menudrawer.MenuDrawer.Type
All Implemented Interfaces:
Serializable, Comparable<MenuDrawer.Type>
Enclosing class:
MenuDrawer

public static enum MenuDrawer.Type
extends Enum<MenuDrawer.Type>


Enum Constant Summary
BEHIND
          Positions the drawer behind the content.
OVERLAY
          Positions the drawer on top of the content.
STATIC
          A static drawer that can not be dragged.
 
Method Summary
static MenuDrawer.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MenuDrawer.Type[] 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

BEHIND

public static final MenuDrawer.Type BEHIND
Positions the drawer behind the content.


STATIC

public static final MenuDrawer.Type STATIC
A static drawer that can not be dragged.


OVERLAY

public static final MenuDrawer.Type OVERLAY
Positions the drawer on top of the content.

Method Detail

values

public static MenuDrawer.Type[] 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 (MenuDrawer.Type c : MenuDrawer.Type.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MenuDrawer.Type valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2012-2013. All Rights Reserved.