com.sap.ui.core.client
Enum MessageBox.Icon

java.lang.Object
  extended by java.lang.Enum<MessageBox.Icon>
      extended by com.sap.ui.core.client.MessageBox.Icon
All Implemented Interfaces:
Serializable, Comparable<MessageBox.Icon>
Enclosing class:
MessageBox

public static enum MessageBox.Icon
extends Enum<MessageBox.Icon>

The enum Icon is used to define the displayed icon of the MessageBox

Version:
1.0 - 24.01.2011 10:32:58, Revision Version: ($Revision: #1 $), Revision Date: ($Date: 2011/02/08 $)
Author:
D039071@exchange.sap.corp, Revision Author: ($Author: d039071 $)

Enum Constant Summary
CRITICAL
           
ERROR
           
INFORMATION
           
NONE
           
QUESTION
           
SUCCESS
           
WARNING
           
 
Method Summary
static MessageBox.Icon valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MessageBox.Icon[] 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

NONE

public static final MessageBox.Icon NONE

INFORMATION

public static final MessageBox.Icon INFORMATION

WARNING

public static final MessageBox.Icon WARNING

ERROR

public static final MessageBox.Icon ERROR

CRITICAL

public static final MessageBox.Icon CRITICAL

SUCCESS

public static final MessageBox.Icon SUCCESS

QUESTION

public static final MessageBox.Icon QUESTION
Method Detail

values

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

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

valueOf

public static MessageBox.Icon 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 © 2011 SAP. All Rights Reserved.