Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIPluginTagInfo2 Interface Reference

import "nsIPluginTagInfo2.idl";

Inheritance diagram for nsIPluginTagInfo2:
Inheritance graph
[legend]
Collaboration diagram for nsIPluginTagInfo2:
Collaboration graph
[legend]

List of all members.

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.
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.

Public Attributes

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

Definition at line 62 of file nsIPluginTagInfo2.idl.


Member Function Documentation

Get object alignment.

void nsIPluginTagInfo::getAttribute ( in string  aName,
out constCharPtr  aResult 
) [inherited]

Gets the value for the named attribute.

Parameters:
aName- the name of the attribute to find
aResult- the resulting attribute
Returns:
- NS_OK if this operation was successful, NS_ERROR_FAILURE if this operation failed. result is set to NULL if the attribute is not found else to the found value.

QueryInterface on nsIPluginInstancePeer to get this.

(Corresponds to NPP_New's argc, argn, and argv arguments.) Get a ptr to the paired list of attribute names and values, returns the length of the array.

Each name or value is a null-terminated string.

Get the document base.

Return an encoding whose name is specified in: http://java.sun.com/products/jdk/1.1/docs/guide/intl/intl.doc.html#25303.

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

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.

Get the complete text of the HTML tag that was used to instantiate this plugin.


Member Data Documentation

Get border horizontal space.

Definition at line 129 of file nsIPluginTagInfo2.idl.

Get border vertical space.

Definition at line 124 of file nsIPluginTagInfo2.idl.

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 143 of file nsIPluginTagInfo2.idl.

Get object height.

Definition at line 119 of file nsIPluginTagInfo2.idl.

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 68 of file nsIPluginTagInfo2.idl.

Returns a unique id for the current document containing plugin.

Definition at line 134 of file nsIPluginTagInfo2.idl.

Get object width.

Definition at line 114 of file nsIPluginTagInfo2.idl.


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