Package com.ms.activeX |
![]() Previous |
![]() Contents |
![]() Index |
![]() Next |
public class AXExplorer extends AXComponent { // Constructor public AXExplorer(); // Methods public synchronized void addNotify(); public synchronized Dimension preferredSize(); public synchronized Dimension minimumSize(); public synchronized void GoBack(); public synchronized void GoForward(); public synchronized void GoHome(); public synchronized void GoSearch(); public synchronized void Navigate(String url); public synchronized void Refresh(); public synchronized void Refresh2(Variant level); public synchronized void Stop(); public synchronized IUnknown Application(); public synchronized IUnknown Parent(); public synchronized IUnknown Container(); public synchronized IUnknown Document(); public synchronized boolean TopLevelCOntainer(); public synchronized String Type(); public synchronized String LocationName(); public synchronized String LocationURL(); public void addAXExplorerEventListener(AXExplorerEventListener listener); public void removeAXExplorerEventListener(AXExplorerEventListener listener); }
The AXExplorer class hosts Microsoft® Internet Explorer. To use this class, you must first install Microsoft® Internet Explorer version 3.0 or later.
public AXExplorer();Creates an empty instance.
public void addAXExplorerEventListener(AXExplorerEventListener listener);Adds a listener.
Return Value:
No return value.
Parameter Description listener The listener that is added.
public synchronized void addNotify();Creates the control at notification time.
Return Value:
No return value.
public synchronized IUnknown Application();Returns the IUnknown of an application object representing the application that contains the Internet Explorer control.
Return Value:
Returns the IUnknown of an application object.
public synchronized IUnknown Container();Returns the IUnknown of the container for the Internet Explorer control, if it exists.
Return Value:
Returns the IUnknown of the container.
public synchronized IUnknown Document();Returns the IUnknown of the active document.
Return Value:
Returns the IUnknown of the active document.
public synchronized void GoBack();Navigates to the previous item in the history list.
Return Value:
No return value.
public synchronized void GoForward();Navigates to the next item in the history list.
Return Value:
No return value.
public synchronized void GoHome();Navigates to the current home page or start page.
Return Value:
No return value.
public synchronized void GoSearch();Navigates to the current search page.
Return Value:
No return value.
public synchronized String LocationName();Retrieves the name of the resource that Internet Explorer is currently displaying.
Return Value:
Returns the name of the resource that Internet Explorer is currently displaying.
public synchronized String LocationURL();Retrieves the Universal Resource Locator (URL) of the resource that Internet Explorer is currently displaying.
Return Value:
Returns the URL of the resource that Internet Explorer is currently displaying.
public synchronized Dimension minimumSize();Queries an object to determine its minimum size (in pixels).
Return Value:
Returns an object's minimum size.
public synchronized void Navigate(String url);Navigates to the resource identified by a URL.
Return Value:
No return value.
Parameter Description url The URL of the resource.
public synchronized IUnknown Parent();Retrieves the IUnknown of the form that the Internet Explorer control is located on.
Return Value:
Returns the IUnknown of the form that the Internet Explorer control is located on.
public synchronized Dimension preferredSize();Queries an object to determine its preferred size (in pixels).
Return Value:
Returns an object's preferred size.
public synchronized void Refresh();Reloads the file that Internet Explorer is currently displaying.
Return Value:
No return value.
public synchronized void Refresh2(Variant level);Reloads the file that Internet Explorer is currently displaying by using the specified refresh level.
Return Value:
No return value.
Parameter Description level The refresh level.
public void removeAXExplorerEventListener(AXExplorerEventListener listener);Removes a listener.
Return Value:
No return value.
Parameter Description listener The listener that is removed.
public synchronized void Stop();Cancels the opening of a file.
Return Value:
No return value.
public synchronized boolean TopLevelCOntainer();Retrieves a value that indicates whether the current object is the top-level container of the Internet Explorer control.
Return Value:
Returns a value that indicates whether the current object is the top-level container of the Internet Explorer control.
public synchronized String Type();Retrieves the type of the current contained object.
Return Value:
Returns the type of the current contained object.
© 1997 Microsoft Corporation. All rights reserved. Legal Notices.