DhObjectFactory Methods

Overview | This Package | All Packages

DhObjectFactory Methods

Constructors Description
DhObjectFactory Creates a DhObjectFactory object.

Methods Description
add Adds an element as the child of the object tag.

addOnError Assigns a delegate to the error event. 

addOnReadyStateChange Assigns a delegate to the readyStateChange event.  

addParam Adds a new parameter to the object.

getClassid Retrieves the object's class identifier, which is equivalent to the CLASSID parameter of the OBJECT tag in HTML.

getClsid Retrieves the object's current class identifier, which is equivalent to the CLASSID parameter of the OBJECT tag in HTML.

getCodeBase Retrieves the object's current codebase, which is equivalent to the CODEBASE parameter of the OBJECT tag in HTML.

getCodeClassName Sets the Java class name of the object, which is equivalent to the CODE parameter of the OBJECT tag in HTML.

getContent Retrieves a string representing the HTML of the contents.

getDispatchPeer Retrieves the IDispatch interface implemented by the object currently instantiated.

getObjectPeer Retrieves the object representing the HTML OBJECT instantiated.

getProgid Retrieves the object's current programmatic identifer (ProgID), which is equivalent to the PROGID parameter of the OBJECT tag.

getValue Retrieves the value of the parameter.

initFromPeer Called when an instance is created from an existing HTML element.

removeOnError Removes the delegate that is assigned to the error event.

removeOnReadyStateChange Removes the delegate that is assigned to the readyStateChange event.

removeParam Removes a parameter from the list of parameters for the OBJECT.

setClassid Sets the object's current class identifier, which is equivalent to the CLASSID parameter of the OBJECT tag in HTML.

setClsid Sets the object's class identifier, which is equivalent to the CLASSID parameter of the OBJECT tag in HTML.

setCodeBase Sets the object's code base, which is equivalent to the CODEBASE parameter of the OBJECT tag in HTML.

setCodeClassName Sets the Java class name of the object, which is equivalent to the CODE parameter of the OBJECT tag in HTML.

setProgid Sets the object's programmatic identifier (ProgID).