The ActiveXComponent Class of the com.ms.ActiveX package provides basic Microsoft® ActiveX® control functionality. Its methods allow you to create ActiveXComponent objects, to set or retrieve the CLSID (class identifier) that identifies the class of the object, and to get the IUnknown interface of an ActiveXComponent object. The ActiveXControl class extends this class.
public class ActiveXComponent extends Canvas { // Constructors public ActiveXComponent(); public ActiveXComponent(String c); public ActiveXComponent(IUnknown punk); // Methods public Iunknown createInstance(String c); public IUnknown createInstance(); public void createInstance(IUnknown punk); public void enableEvents(); public String getCLSID(); protected IAXComponent getHost(); public IUnknown getObject(); public Variant getProperty(String propertyname); public Variant invoke(String methodname, Variant args[]); public void setCLSID(String c); public void setProperty(String name, Variant value); }
Canvas | +--ActiveXComponent