com.gargoylesoftware.htmlunit.javascript.host
Class Popup

java.lang.Object
  extended by org.mozilla.javascript.ScriptableObject
      extended by com.gargoylesoftware.htmlunit.javascript.SimpleScriptable
          extended by com.gargoylesoftware.htmlunit.javascript.host.Popup
All Implemented Interfaces:
java.io.Serializable, org.mozilla.javascript.ConstProperties, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.Scriptable

public class Popup
extends SimpleScriptable

A JavaScript object for IE's Popu.

Version:
$Revision: 1.3 $
Author:
Marc Guillemot, David K. Taylor, Ahmed Ashour
See Also:
MSDN documentation, Serialized Form

Field Summary
 
Fields inherited from class org.mozilla.javascript.ScriptableObject
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
 
Fields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND
 
Constructor Summary
Popup()
 Creates a new instance.
 
Method Summary
 void jsxFunction_hide()
 Hides the popup.
 void jsxFunction_show()
 Shows the popup.
 java.lang.Object jsxGet_document()
 Returns the HTML document element in the popup.
 boolean jsxGet_isOpen()
 Indicates if the popup is opened.
 
Methods inherited from class com.gargoylesoftware.htmlunit.javascript.SimpleScriptable
get, getBooleanArg, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getHtmlElementOrDie, getHtmlElementOrNull, getIntArg, getObjectArg, getStringArg, makeScriptableFor, setDomNode, setHtmlElement
 
Methods inherited from class org.mozilla.javascript.ScriptableObject
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Popup

public Popup()
Creates a new instance. JavaScript objects must have a default constructor.

Method Detail

jsxFunction_hide

public void jsxFunction_hide()
Hides the popup.


jsxFunction_show

public void jsxFunction_show()
Shows the popup.


jsxGet_document

public java.lang.Object jsxGet_document()
Returns the HTML document element in the popup.

Returns:
HTML document.

jsxGet_isOpen

public boolean jsxGet_isOpen()
Indicates if the popup is opened.

Returns:
true if opened


Copyright © 2003-2016 AppPerfect Corporation. All Rights Reserved.