FreeWRL / FreeX3D 4.3.0
nsIPluginTagInfo2 Interface Reference

nsIPluginTagInfo2 More...

import <nsIPluginTagInfo2.idl;

Inheritance diagram for nsIPluginTagInfo2:
nsIPluginTagInfoOld

Public Member Functions

void getTagText (out constCharPtr aTagText)
 Get the complete text of the HTML tag that was used to instantiate this plugin.
 
void getParameters (in PRUint16Ref aCount, in constCharStarConstStar aNames, in constCharStarConstStar aValues)
 Get a ptr to the paired list of parameter names and values, returns the length of the array.
 
void getParameter (in string aName, out constCharPtr aResult)
 Get the value for the named parameter.
 
void getDocumentBase (out constCharPtr aDocumentBase)
 Get the document base.
 
void getDocumentEncoding (out constCharPtr aDocumentEncoding)
 Return an encoding whose name is specified in: http://java.sun.com/products/jdk/1.1/docs/guide/intl/intl.doc.html#25303.
 
void getAlignment (out constCharPtr aElignment)
 Get object alignment.
 
- Public Member Functions inherited from nsIPluginTagInfoOld
void getAttributes (in PRUint16Ref aCount, in constCharStarConstStar aNames, in constCharStarConstStar aValues)
 QueryInterface on nsIPluginInstancePeer to get this.
 
void getAttribute (in string aName, out constCharPtr aResult)
 Gets the value for the named attribute.
 

Data Fields

readonly attribute nsPluginTagType tagType
 Get the type of the HTML tag that was used ot instantiate this plugin.
 
readonly attribute unsigned long width
 Get object width.
 
readonly attribute unsigned long height
 Get object height.
 
readonly attribute unsigned long borderVertSpace
 Get border vertical space.
 
readonly attribute unsigned long borderHorizSpace
 Get border horizontal space.
 
readonly attribute unsigned long uniqueID
 Returns a unique id for the current document containing plugin.
 
readonly attribute nsIDOMElement DOMElement
 Returns the DOM element corresponding to the tag which references this plugin in the document.
 

Detailed Description

nsIPluginTagInfo2

@status DEPRECATED

Originally published XPCOM Plugin API is now deprecated Developers are welcome to use NPAPI, please refer to: http://mozilla.org/projects/plugins/

Definition at line 52 of file nsIPluginTagInfo2.idl.

Member Function Documentation

◆ getParameter()

void nsIPluginTagInfo2::getParameter ( in string aName,
out constCharPtr aResult )

Get the value for the named parameter.

Returns null if the parameter was not set.

Parameters
aName- name of the parameter
aResult- parameter value
Returns
- NS_OK if this operation was successful

◆ getParameters()

void nsIPluginTagInfo2::getParameters ( in PRUint16Ref aCount,
in constCharStarConstStar aNames,
in constCharStarConstStar aValues )

Get a ptr to the paired list of parameter names and values, returns the length of the array.

Each name or value is a null-terminated string.

Field Documentation

◆ borderHorizSpace

readonly attribute unsigned long nsIPluginTagInfo2::borderHorizSpace

Get border horizontal space.

Definition at line 119 of file nsIPluginTagInfo2.idl.

◆ borderVertSpace

readonly attribute unsigned long nsIPluginTagInfo2::borderVertSpace

Get border vertical space.

Definition at line 114 of file nsIPluginTagInfo2.idl.

◆ DOMElement

readonly attribute nsIDOMElement nsIPluginTagInfo2::DOMElement

Returns the DOM element corresponding to the tag which references this plugin in the document.

Parameters
aDOMElement- resulting DOM element
Returns
- NS_OK if this operation was successful

Definition at line 133 of file nsIPluginTagInfo2.idl.

◆ height

readonly attribute unsigned long nsIPluginTagInfo2::height

Get object height.

Definition at line 109 of file nsIPluginTagInfo2.idl.

◆ tagType

readonly attribute nsPluginTagType nsIPluginTagInfo2::tagType

Get the type of the HTML tag that was used ot instantiate this plugin.

Currently supported tags are EMBED, OBJECT and APPLET.

Definition at line 58 of file nsIPluginTagInfo2.idl.

◆ uniqueID

readonly attribute unsigned long nsIPluginTagInfo2::uniqueID

Returns a unique id for the current document containing plugin.

Definition at line 124 of file nsIPluginTagInfo2.idl.

◆ width

readonly attribute unsigned long nsIPluginTagInfo2::width

Get object width.

Definition at line 104 of file nsIPluginTagInfo2.idl.


The documentation for this interface was generated from the following file: