Class HtmlApplet
This widget represents the HTML applet element. It supports
the following attributes:
- code -
- codebase -
- archive -
- width -
- height -
clearParam paramName
Removes one of the applet parameters previously set with a call
to setParam.
|
clearParams paramName
Removes all of the applet parameters previously set with calls
to setParam.
|
constructor
Initializes the object.
|
get attribName
Fetches the value of an attribute.
|
init attribList
Initializes the values of a set of attributes.
|
render
Outputs the HTML representation of the widget.
|
set attribName attribValue
Changes the values of one of the widget attributes.
|
setParam paramName paramValue
Adds a parameter to the applet or changes one of the existing
parameters.
|
|
clearParam
HtmlApplet clearParam paramName
Removes one of the applet parameters previously set with a call
to setParam.
- Parameters:
- paramName -
String representing the name of the applet parameter being removed.
- Returns:
-
A reference to the object for which the method was called.
-
clearParams
HtmlApplet clearParams paramName
Removes all of the applet parameters previously set with calls
to setParam.
- Returns:
-
A reference to the object for which the method was called.
-
constructor
HtmlApplet constructor
Initializes the object.
-
get
HtmlApplet get attribName
Fetches the value of an attribute.
- Parameters:
- attribName -
Symbol identifying the attribute whose value is being fetched.
- Returns:
-
The value of the
attribName attribute.
-
The
attribName argument must be one of the supported
attributes.
init
HtmlApplet init attribList
Initializes the values of a set of attributes.
- Parameters:
- attribList -
A list with the attributes and its values.
- Returns:
-
A reference to the object for which the method was called.
-
Initializes attributes of the widget. These
are attributes known to the
set and
get methods.
The attribList argument contains the attributes
names and values. It is a list where each
element specifies an attribute. Each element
is a two element list: a symbol identifying the attribute and
its new value.
render
HtmlApplet render
Outputs the HTML representation of the widget.
-
set
HtmlApplet set attribName attribValue
Changes the values of one of the widget attributes.
- Parameters:
- attribName -
Symbol identifying the attribute whose value will be modified.
- attribValue -
The new value of the attribute.
- Returns:
-
A reference to the object for which the method was called.
-
The
attribName argument must be the same as one of the
symbols passed to the init method, otherwise a
runtime error will occur.
setParam
HtmlApplet setParam paramName paramValue
Adds a parameter to the applet or changes one of the existing
parameters.
- Parameters:
- paramName -
String representing the name of the applet parameter being set.
- paramValue -
String representing the value of the applet parameter being set.
- Returns:
-
A reference to the object for which the method was called.
-
Report a bug or request new features
© 2013