LinkTargetEnum Class

LinkTargetEnum Class

This Package | All Packages

Enum
  |
  +--LinkTargetEnum
public class LinkTargetEnum
extends Enum

Provides constants for setting the document's target window. These constants are used by setStockTargetWindow and getStockTargetWindow.

Fields
Name Description
NEW_WINDOW Instructs the browser to put the document into a new top-level browser window.
PARENT_DOC Instructs the browser to put the document into the window that is the parent of the current window.
THIS_FRAME Instructs the browser to put the document into the current frame of the frameset.
TOP_FRAME Instructs the browser to put the document into the top-most window, replacing the current frameset.

Fields

LinkTargetEnum.NEW_WINDOW

Syntax
public static final int NEW_WINDOW;
Description
Instructs the browser to put the document into a new top-level browser window.

LinkTargetEnum.PARENT_DOC

Syntax
public static final int PARENT_DOC;
Description
Instructs the browser to put the document into the window that is the parent of the current window.

LinkTargetEnum.THIS_FRAME

Syntax
public static final int THIS_FRAME;
Description
Instructs the browser to put the document into the current frame of the frameset.

LinkTargetEnum.TOP_FRAME

Syntax
public static final int TOP_FRAME;
Description
Instructs the browser to put the document into the top-most window, replacing the current frameset.