com.jniwrapper.win32.ie.event
Class NewWindowEventHandlerExt.NewWindowManagerFlags

java.lang.Object
  extended by com.jniwrapper.util.FlagSet
      extended by com.jniwrapper.win32.ie.event.NewWindowEventHandlerExt.NewWindowManagerFlags
Enclosing interface:
NewWindowEventHandlerExt

public static class NewWindowEventHandlerExt.NewWindowManagerFlags
extends com.jniwrapper.util.FlagSet

This class determines of flags that pertain to a new window.


Field Summary
static int NWMF_FIRST_USERINITED
           
static int NWMF_FROMPROXY
           
static int NWMF_HTMLDIALOG
           
static int NWMF_OVERRIDEKEY
           
static int NWMF_SHOWHELP
           
static int NWMF_UNLOADING
           
static int NWMF_USERINITED
           
 
Constructor Summary
NewWindowEventHandlerExt.NewWindowManagerFlags(long flags)
           
 
Method Summary
 boolean isFirstUserinited()
          This flag indicates that is the first query that results from this user-initiated action.
 boolean isFromProxy()
          Indicates that the new window is being called through a marshalled Component Object Model (COM) proxy from another thread.
 boolean isHtmlDialog()
          The new window is a dialog box that displays HTML content.
 boolean isOverrideKey()
          Use this flag when the override key (ALT) was pressed.
 boolean isShowHelp()
          The new window attempting to load is the result of a call to the showHelp method.
 boolean isUnloading()
          This flag is set in response to the onbeforeunload and onunload events.
 boolean isUserInited()
          This flag uses in conjunction with the NWMF_FIRST_USERINITED flag to determine whether the call is a direct or indirect result of the user-initiated action.
 
Methods inherited from class com.jniwrapper.util.FlagSet
add, and, clear, contains, getBit, getBits, getFlags, getMask, or, remove, setBit, setBits, setupFlag, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NWMF_UNLOADING

public static final int NWMF_UNLOADING
See Also:
Constant Field Values

NWMF_USERINITED

public static final int NWMF_USERINITED
See Also:
Constant Field Values

NWMF_FIRST_USERINITED

public static final int NWMF_FIRST_USERINITED
See Also:
Constant Field Values

NWMF_OVERRIDEKEY

public static final int NWMF_OVERRIDEKEY
See Also:
Constant Field Values

NWMF_SHOWHELP

public static final int NWMF_SHOWHELP
See Also:
Constant Field Values

NWMF_HTMLDIALOG

public static final int NWMF_HTMLDIALOG
See Also:
Constant Field Values

NWMF_FROMPROXY

public static final int NWMF_FROMPROXY
See Also:
Constant Field Values
Constructor Detail

NewWindowEventHandlerExt.NewWindowManagerFlags

public NewWindowEventHandlerExt.NewWindowManagerFlags(long flags)
Method Detail

isUnloading

public boolean isUnloading()
This flag is set in response to the onbeforeunload and onunload events.


isUserInited

public boolean isUserInited()
This flag uses in conjunction with the NWMF_FIRST_USERINITED flag to determine whether the call is a direct or indirect result of the user-initiated action.


isFirstUserinited

public boolean isFirstUserinited()
This flag indicates that is the first query that results from this user-initiated action. Always use this flag in conjunction with NWMF_USERINITED.


isOverrideKey

public boolean isOverrideKey()
Use this flag when the override key (ALT) was pressed.


isShowHelp

public boolean isShowHelp()
The new window attempting to load is the result of a call to the showHelp method. Help is sometimes displayed in a separate window, and this flag is valuable in those cases.


isHtmlDialog

public boolean isHtmlDialog()
The new window is a dialog box that displays HTML content.


isFromProxy

public boolean isFromProxy()
Indicates that the new window is being called through a marshalled Component Object Model (COM) proxy from another thread.