org.lobobrowser.ua
Enum ProgressType

java.lang.Object
  extended by java.lang.Enum<ProgressType>
      extended by org.lobobrowser.ua.ProgressType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ProgressType>

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

Enumeration with different the different types of request/response progress qualifiers.

See Also:
NavigatorProgressEvent.getProgressType()

Enum Constant Summary
BUILDING
          Additional processing of the document is being performed.
CONNECTING
          The client is attempting to connect to the server
CONTENT_LOADING
          Content is starting to load.
DONE
          All operations done.
NONE
          This is the initial state.
SENDING
          The client is sending POST data
WAITING_FOR_RESPONSE
          The client is waiting for a response from the server.
 
Method Summary
static ProgressType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ProgressType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NONE

public static final ProgressType NONE
This is the initial state.


CONNECTING

public static final ProgressType CONNECTING
The client is attempting to connect to the server


SENDING

public static final ProgressType SENDING
The client is sending POST data


WAITING_FOR_RESPONSE

public static final ProgressType WAITING_FOR_RESPONSE
The client is waiting for a response from the server. POST data, if any, has been sent.


CONTENT_LOADING

public static final ProgressType CONTENT_LOADING
Content is starting to load.


BUILDING

public static final ProgressType BUILDING
Additional processing of the document is being performed.


DONE

public static final ProgressType DONE
All operations done.

Method Detail

values

public static final ProgressType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ProgressType c : ProgressType.values())
        System.out.println(c);

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

valueOf

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


SourceForge.net LogoCopyright © 2005, 2006, 2007 The Lobo Project. All Rights Reserved.
[Lobo Home]