Android SDK Version
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LoginButton.ToolTipMode>
Enclosing class:

public static enum LoginButton.ToolTipMode
extends java.lang.Enum<LoginButton.ToolTipMode>
The display modes for the login button tool tip.
Enum Constant Summary
Enum Constant and Description
AUTOMATIC
Default display mode.
DISPLAY_ALWAYS
Display the tool tip with a local string--regardless of what the server returns
NEVER_DISPLAY
Never display the tool tip--regardless of what the server says
Field Summary
Modifier and TypeField and Description
static LoginButton.ToolTipModeDEFAULT 
Method Summary
Modifier and TypeMethod and Description
static LoginButton.ToolTipModefromInt(int enumValue) 
intgetValue() 
java.lang.StringtoString() 
static LoginButton.ToolTipModevalueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
static LoginButton.ToolTipMode[]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, valueOf
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
Enum Constant Detail

AUTOMATIC

public static final LoginButton.ToolTipMode AUTOMATIC
Default display mode. A server query will determine if the tool tip should be displayed and, if so, what the string shown to the user should be.

DISPLAY_ALWAYS

public static final LoginButton.ToolTipMode DISPLAY_ALWAYS
Display the tool tip with a local string--regardless of what the server returns

NEVER_DISPLAY

public static final LoginButton.ToolTipMode NEVER_DISPLAY
Never display the tool tip--regardless of what the server says
Field Detail

DEFAULT

public static LoginButton.ToolTipMode DEFAULT
Method Detail

values

public static LoginButton.ToolTipMode[] 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 (LoginButton.ToolTipMode c : LoginButton.ToolTipMode.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static LoginButton.ToolTipMode 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

fromInt

public static LoginButton.ToolTipMode fromInt(int enumValue)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<LoginButton.ToolTipMode>

getValue

public int getValue()