com.jniwrapper.win32.ie
Class ReadyState

java.lang.Object
  extended by com.jniwrapper.util.EnumItem
      extended by com.jniwrapper.win32.ie.ReadyState

public class ReadyState
extends com.jniwrapper.util.EnumItem

This class represent the enumeration of all avaliable statuses of the WebBrowser. Contains values that indicate what state a WebBrowser Control is in.


Field Summary
static ReadyState READYSTATE_COMPLETE
          Object has received all of its data.
static ReadyState READYSTATE_INTERACTIVE
          Object is interactive, but not all of its data is available.
static ReadyState READYSTATE_LOADED
          Object has been initialized.
static ReadyState READYSTATE_LOADING
          Object is currently loading its properties.
static ReadyState READYSTATE_UNINITIALIZED
          Default initialization state.
 
Method Summary
static ReadyState fromInt(int code)
          Returns an object that represents WebBrowser Control's state accoring to the specified status code.
 java.lang.String toString()
           
 
Methods inherited from class com.jniwrapper.util.EnumItem
equals, getLongValue, getValue, hashCode, isOneOf
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

READYSTATE_UNINITIALIZED

public static final ReadyState READYSTATE_UNINITIALIZED
Default initialization state.


READYSTATE_LOADING

public static final ReadyState READYSTATE_LOADING
Object is currently loading its properties.


READYSTATE_LOADED

public static final ReadyState READYSTATE_LOADED
Object has been initialized.


READYSTATE_INTERACTIVE

public static final ReadyState READYSTATE_INTERACTIVE
Object is interactive, but not all of its data is available.


READYSTATE_COMPLETE

public static final ReadyState READYSTATE_COMPLETE
Object has received all of its data.

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

fromInt

public static ReadyState fromInt(int code)
Returns an object that represents WebBrowser Control's state accoring to the specified status code.

Parameters:
code - the specified status code.
Returns:
the ReadyState object that represents current WebBrowser Control state or null if there's no appropriate enum item value for the specified code.