Package org.cef
Enum CefApp.CefAppState
- java.lang.Object
-
- java.lang.Enum<CefApp.CefAppState>
-
- org.cef.CefApp.CefAppState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CefApp.CefAppState>
- Enclosing class:
- CefApp
public static enum CefApp.CefAppState extends java.lang.Enum<CefApp.CefAppState>
The CefAppState gives you a hint if the CefApp is already usable or not usable any more. See values for details.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INITIALIZED
CefApp is up and running.INITIALIZING
CefApp is in its initializing process.NEW
CefApp is new created but not initialized yet.NONE
No CefApp instance was created yet.SHUTTING_DOWN
CefApp is in its shutdown process.TERMINATED
CefApp is terminated and can't be used any more.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CefApp.CefAppState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CefApp.CefAppState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final CefApp.CefAppState NONE
No CefApp instance was created yet. Call getInstance() to create a new one.
-
NEW
public static final CefApp.CefAppState NEW
CefApp is new created but not initialized yet. No CefClient and no CefBrowser was created until now.
-
INITIALIZING
public static final CefApp.CefAppState INITIALIZING
CefApp is in its initializing process. Please wait until initializing is finished.
-
INITIALIZED
public static final CefApp.CefAppState INITIALIZED
CefApp is up and running. At least one CefClient was created and the message loop is running. You can use all classes and methods of JCEF now.
-
SHUTTING_DOWN
public static final CefApp.CefAppState SHUTTING_DOWN
CefApp is in its shutdown process. All CefClients and CefBrowser instances will be disposed. No new CefClient or CefBrowser is allowed to be created. The message loop will be performed until all CefClients and all CefBrowsers are disposed completely.
-
TERMINATED
public static final CefApp.CefAppState TERMINATED
CefApp is terminated and can't be used any more. You can shutdown the application safely now.
-
-
Method Detail
-
values
public static CefApp.CefAppState[] 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 (CefApp.CefAppState c : CefApp.CefAppState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CefApp.CefAppState 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 namejava.lang.NullPointerException
- if the argument is null
-
-