PAJES 2.3.9

org.pajes.html
Class Applet

java.lang.Object
  extended byorg.pajes.html.Tag
      extended byorg.pajes.html.TraversableElement
          extended byorg.pajes.html.Container
              extended byorg.pajes.html.Applet
All Implemented Interfaces:
java.lang.Cloneable, HTML, java.io.Serializable, Traversable

public class Applet
extends Container

This class generates the <applet> tags.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.pajes.html.Tag
ON_CLICK_ATTRIBUTE, TAG_CLOSE, TAG_LEFT, TAG_RIGHT
 
Constructor Summary
Applet(java.lang.String code)
          Creates an applet declaration.
 
Method Summary
 Container add(HTML htmlObject)
          Adds an HTML object to the current container
 java.lang.String getCode()
          Returns the class name of the Java applet.
protected  void init()
          Called by the constructor and the Container.destroy() method to correctly clear and initialise internal variables.
 Applet setCode(java.lang.String code)
          Sets the class name of the Java applet.
 
Methods inherited from class org.pajes.html.Container
add, add, add, addContent, clear, clone, delete, delete, destroy, get, getContent, getContents, getPosition, insert, replace, set, setContent, setContent, size, writeContent
 
Methods inherited from class org.pajes.html.TraversableElement
dump, dump, getAll, getFieldByName, getFirstFieldByName, getFirstTagByAttribute, getFirstTagByClass, getFirstTagByID, getFirstTagByName, getTagByAttribute, getTagByClass, getTagByID, getTagByName, setWritable
 
Methods inherited from class org.pajes.html.Tag
addAttribute, addAttributes, addAttributes, clearAttribute, clearAttributes, getAttribute, getAttributes, getAttributeSet, getContainer, getDocument, getId, getOnClickHandler, getOnDBLClickHandler, getOnKeyDownHandler, getOnKeyPressHandler, getOnKeyUpHandler, getOnMouseDownHandler, getOnMouseOutHandler, getOnMouseOverHandler, getOnMouseUpHandler, getStyle, getStyleSheetClass, getTagName, getTitle, getWritePermission, initAttributes, isWritable, isWritable, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributes, setAttributes, setContainer, setId, setOnClickHandler, setOnDBLClickHandler, setOnKeyDownHandler, setOnKeyPressHandler, setOnKeyUpHandler, setOnMouseDownHandler, setOnMouseOutHandler, setOnMouseOverHandler, setOnMouseUpHandler, setStyle, setStyleSheetClass, setTagName, setTitle, setWritable, setWriteAttributes, setWriteEndTag, setWritelnAfter, setWritelnAfterContent, setWritelnBefore, setWritelnBeforeContent, setWritePermission, toString, write
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Applet

public Applet(java.lang.String code)
Creates an applet declaration.

Parameters:
code - the class name of the Java applet.
Method Detail

setCode

public Applet setCode(java.lang.String code)
Sets the class name of the Java applet.

Parameters:
code - the class name of the Java applet.
Returns:
the modified Applet object.

getCode

public java.lang.String getCode()
Returns the class name of the Java applet.

Returns:
the class name of the Java applet.

add

public Container add(HTML htmlObject)
Description copied from class: Container
Adds an HTML object to the current container

Overrides:
add in class Container
Parameters:
htmlObject - - the Object to add (eg. doc.add(new htmlBody);)
Returns:
the modified Container object;
See Also:
Container.add(org.pajes.html.HTML)

init

protected void init()
Description copied from class: Tag
Called by the constructor and the Tag.destroy() method to correctly clear and initialise internal variables.

Sub-classes must call super.init() before doing anything else to ensure the Tag is initialised correctly.

Overrides:
init in class Tag
See Also:
Tag.init()

PAJES 2.3.9

Copyright © 2002-2003 Viridian Pty Limited. All Rights Reserved.