Package org.gnome.webkit
Enum Class LoadEvent
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<LoadEvent>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum LoadEvent
extends Enum<LoadEvent>
implements Enumeration
Enum values used to denote the different events that happen during a
WebKitWebView
load operation.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe content started arriving for a page load.Load completed.A provisional data source received a server redirect.A new load request has been made. -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the LoadEvent classint
getValue()
Get the numeric value of this enumstatic LoadEvent
of
(int value) Create a new LoadEvent for the provided valuestatic LoadEvent
Returns the enum constant of this class with the specified name.static LoadEvent[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STARTED
A new load request has been made. No data has been received yet, empty structures have been allocated to perform the load; the load may still fail due to transport issues such as not being able to resolve a name, or connect to a port. -
REDIRECTED
A provisional data source received a server redirect. -
COMMITTED
The content started arriving for a page load. The necessary transport requirements are established, and the load is being performed. -
FINISHED
Load completed. All resources are done loading or there was an error during the load operation.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
of
Create a new LoadEvent for the provided value- Parameters:
value
- the enum value- Returns:
- the enum for the provided value
-
getValue
public int getValue()Get the numeric value of this enum- Specified by:
getValue
in interfaceEnumeration
- Returns:
- the enum value
-
getType
-