agentland.text
Interface HTMLDisplay

All Known Subinterfaces:
ManagedWindowsWebBrowser, WindowsWebBrowser

public interface HTMLDisplay

An interface for all classes than can display HTML web pages.


Method Summary
 boolean display(String sURL)
          Displays an HTML page on the current browser given the String URL.
 boolean display(URL url)
          Displays an HTML page on the current browser given the URL.
 boolean display(URL url, boolean bNewWindow)
          Displays an HTML page on a new browser (if bNewWindow) or on the current browser.
 String getURL()
          Returns the String URL of the current HTML page.
 

Method Detail

display

public boolean display(String sURL)
                throws RemoteException
Displays an HTML page on the current browser given the String URL.
Parameters:
sURL - a String value
Returns:
a boolean value
Throws:
RemoteException - if an error occurs

display

public boolean display(URL url)
                throws RemoteException
Displays an HTML page on the current browser given the URL.
Parameters:
url - an URL value
Returns:
a boolean value
Throws:
RemoteException - if an error occurs

display

public boolean display(URL url,
                       boolean bNewWindow)
                throws RemoteException
Displays an HTML page on a new browser (if bNewWindow) or on the current browser.
Parameters:
url - an URL value
bNewWindow - a boolean value
Returns:
a boolean value
Throws:
RemoteException - if an error occurs

getURL

public String getURL()
              throws RemoteException
Returns the String URL of the current HTML page.
Returns:
a String value
Throws:
RemoteException - if an error occurs