Package com.ms.activeX Previous
Previous
Contents
Contents
Index
Index
Next
Next

Class AXPlugin

Constructor , Methods

public class AXPlugin extends AXComponent {
  // Constructor
  public AXPlugin();
  // Methods
  public void addNotify();
  public synchronized Dimension preferredSize();
  public synchronized Dimension minimumSize();
  public synchronized void Load(String url, int deleteRegistryEntries);
  public synchronized void AddParam(String name, String value);
  public synchronized void Show();
  public synchronized void Hide();
  public synchronized void Clear();
}

The AXPlugin class hosts legacy Netscape plug-ins. To use this class, you must first install Microsoft® Internet Explorer version 3.0 or later.


Constructor


AXPlugin

public AXPlugin();

Creates an empty instance.


Methods


addNotify

public void addNotify();

Creates the control at notification time.

Return Value:

No return value.


AddParam

public synchronized void AddParam(String name, String value);

Adds parameters to the plug-in.

Return Value:

No return value.

ParameterDescription
name The name of the attribute.
value The value of the attribute.


Clear

public synchronized void Clear();

Clears the internal list of parameters that are kept by the plug-in object.

Return Value:

No return value.


Hide

public synchronized void Hide();

Causes the plug-in to hide and perform internal cleanup.

Return Value:

No return value.


Load

public synchronized void Load(String url, int deleteRegistryEntries);

Loads the plug-in from the given Universal Resource Locator (URL). If the value of deleteRegistryEntries is 1, the plug-in's portion of the registry is cleared and a rescan for plug-ins occurs.

Return Value:

No return value.

ParameterDescription
url The URL to load.
deleteRegistryEntries The registry entries.


minimumSize

public synchronized Dimension minimumSize();

Queries an object to determine its minimum size (in pixels).

Return Value:

Returns an object's minimum size.


preferredSize

public synchronized Dimension preferredSize();

Queries an object to determine its preferred size (in pixels).

Return Value:

Returns an object's preferred size.


Show

public synchronized void Show();

Causes the plug-in to be visible.

Return Value:

No return value.



Top© 1997 Microsoft Corporation. All rights reserved. Legal Notices.