org.lobobrowser.ua
Enum TargetType

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

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

Frame target type for navigation.

See Also:
NavigatorFrame.navigate(java.net.URL, String, ParameterInfo, TargetType, RequestType)

Enum Constant Summary
BLANK
          Document should opened in a new window.
PARENT
          Document should be opened in the parent frame.
SELF
          Document should be opened in the current frame.
TOP
          Document should be opened in the top frame of the current window.
 
Method Summary
static TargetType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TargetType[] 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

BLANK

public static final TargetType BLANK
Document should opened in a new window.


SELF

public static final TargetType SELF
Document should be opened in the current frame.


PARENT

public static final TargetType PARENT
Document should be opened in the parent frame.


TOP

public static final TargetType TOP
Document should be opened in the top frame of the current window.

Method Detail

values

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

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

valueOf

public static TargetType 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]