Jiffie: Java InterFace For Internet Explorer

net.sf.jiffie
Class IHTMLPopup

Package class diagram package IHTMLPopup
java.lang.Object
  extended by net.sf.jiffie.IDispatch
      extended by net.sf.jiffie.BrowserDispatch
          extended by net.sf.jiffie.IHTMLPopup
All Implemented Interfaces:
java.lang.Cloneable, Releaseable

public class IHTMLPopup
extends BrowserDispatch

Implementation of the IHTMLPopup interface.


Field Summary
 
Fields inherited from class net.sf.jiffie.IDispatch
IID
 
Constructor Summary
IHTMLPopup(InternetExplorer parentBrowser, Dispatch dispatch)
          Constructor.
 
Method Summary
 IHTMLDocument2 getDocument()
          Retrieves the document contained by the popup window.
 void hide()
          Closes the popup window.
 boolean isOpen()
          Retrieves a flag indicating if the popup is open.
 void show()
          Shows the popup window.
 boolean show(int x, int y, int width, int height, IHTMLElement element)
          Shows the popup window at the xy coordinates relative to the element.
 
Methods inherited from class net.sf.jiffie.BrowserDispatch
getElementProperty, getParentBrowser
 
Methods inherited from class net.sf.jiffie.IDispatch
call, call, call, call, call, clone, finalize, getBooleanProperty, getDispatch, getDispatchProperty, getIntegerProperty, getStringProperty, getVariantProperty, isReleased, newDispatch, queryInterface, release, setBooleanProperty, setIntegerProperty, setStringProperty
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IHTMLPopup

public IHTMLPopup(InternetExplorer parentBrowser,
                  Dispatch dispatch)
Constructor.

Parameters:
parentBrowser - parent browser
dispatch - Jacob dispatch interface
Method Detail

getDocument

public IHTMLDocument2 getDocument()
Retrieves the document contained by the popup window.

Returns:
document instance

hide

public void hide()
Closes the popup window.


isOpen

public boolean isOpen()
Retrieves a flag indicating if the popup is open.

Returns:
boolean flag

show

public void show()
Shows the popup window.


show

public boolean show(int x,
                    int y,
                    int width,
                    int height,
                    IHTMLElement element)
Shows the popup window at the xy coordinates relative to the element.

Parameters:
x - x coordinate.
y - y coordinate.
width - width of the popup.
height - height of the popup.
element - element to which the x,y coordinates are relative.
Returns:
return value


Copyright © 2004-2009 Packwood Software. All Rights Reserved.