com.sap.ui.core.client
Enum OpenState

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

public enum OpenState
extends Enum<OpenState>

The enum OpenState is the GWT wrapper for the Phoenix type: com.sap.ui.core.client.OpenState.
Defines the different possible states of an element that can be open or closed and does not only toggle between these states, but also spends some time in between (e.g. because of an animation).

Version:
0.18.0-SNAPSHOT
Author:
GENERATOR

Enum Constant Summary
CLOSED
          Closed and currently not changing states.
CLOSING
          Still open, but in the process of going to the CLOSED state.
OPEN
          Open and currently not changing states.
OPENING
          Already left the CLOSED state, is not OPEN yet, but in the process of getting OPEN.
 
Method Summary
static OpenState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OpenState[] 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

OPEN

public static final OpenState OPEN
Open and currently not changing states.


CLOSED

public static final OpenState CLOSED
Closed and currently not changing states.


OPENING

public static final OpenState OPENING
Already left the CLOSED state, is not OPEN yet, but in the process of getting OPEN.


CLOSING

public static final OpenState CLOSING
Still open, but in the process of going to the CLOSED state.

Method Detail

values

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

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

valueOf

public static OpenState 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.