Microsoft.Xna.Framework.GamerServices
Enum NotificationPosition

java.lang.Object
  extended by java.lang.Enum<NotificationPosition>
      extended by Microsoft.Xna.Framework.GamerServices.NotificationPosition
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<NotificationPosition>

public enum NotificationPosition
extends java.lang.Enum<NotificationPosition>

Author:
Halofreak1990

Enum Constant Summary
BottomCenter
          Positions the message box at the bottom of the screen and centered.
BottomLeft
          Positions the message box at the bottom-left of the screen.
BottomRight
          Positions the message box at the bottom-right of the screen.
Center
          Positions the message box at the center of the screen.
CenterLeft
          Positions the message box at the center of the screen and left-aligned.
CenterRight
          Positions the message box at the center of the screen and right-aligned.
TopCenter
          Positions the message box at the top of the screen and centered.
TopLeft
          Positions the message box at the top-left of the screen.
TopRight
          Positions the message box at the top-right of the screen.
 
Method Summary
static NotificationPosition valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static NotificationPosition[] 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

TopLeft

public static final NotificationPosition TopLeft
Positions the message box at the top-left of the screen.


TopCenter

public static final NotificationPosition TopCenter
Positions the message box at the top of the screen and centered.


TopRight

public static final NotificationPosition TopRight
Positions the message box at the top-right of the screen.


CenterLeft

public static final NotificationPosition CenterLeft
Positions the message box at the center of the screen and left-aligned.


Center

public static final NotificationPosition Center
Positions the message box at the center of the screen.


CenterRight

public static final NotificationPosition CenterRight
Positions the message box at the center of the screen and right-aligned.


BottomLeft

public static final NotificationPosition BottomLeft
Positions the message box at the bottom-left of the screen.


BottomCenter

public static final NotificationPosition BottomCenter
Positions the message box at the bottom of the screen and centered.


BottomRight

public static final NotificationPosition BottomRight
Positions the message box at the bottom-right of the screen.

Method Detail

values

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

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

valueOf

public static NotificationPosition 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