org.apache.ecs.xhtml
Class applet

java.lang.Object
  |
  +--org.apache.ecs.GenericElement
        |
        +--org.apache.ecs.ElementAttributes
              |
              +--org.apache.ecs.ConcreteElement
                    |
                    +--org.apache.ecs.MultiPartElement
                          |
                          +--org.apache.ecs.xhtml.applet
All Implemented Interfaces:
Attributes, java.lang.Cloneable, Element, ElementRegistry, Printable, java.io.Serializable

public class applet
extends MultiPartElement
implements Printable

This class creates an <applet> tag.

Version:
$Id: applet.java,v 1.2 2003/04/27 09:41:09 rdonkin Exp $
Author:
Stephan Nagy, Jon S. Stevens, Bojan Smojver
See Also:
Serialized Form

Fields inherited from class org.apache.ecs.ConcreteElement
lineSeparator, registry, registryList
 
Fields inherited from class org.apache.ecs.ElementAttributes
attribute_equality_sign, attribute_filter, attribute_quote, attribute_quote_char, filter_attribute_state
 
Fields inherited from class org.apache.ecs.GenericElement
__text, _defaultFilter, begin_end_modifier, begin_end_modifier_defined, begin_start_modifier, begin_start_modifier_defined, case_type, codeset, element, element_type, end_element, end_end_modifier, end_end_modifier_defined, end_modifier_defined, end_start_modifier, end_start_modifier_defined, end_tag, filter, filter_state, position, pretty_print, start_modifier_defined, start_tag, tabLevel, VERSION
 
Fields inherited from interface org.apache.ecs.Attributes
NO_ATTRIBUTE_VALUE
 
Fields inherited from interface org.apache.ecs.Element
CENTER, LEFT, LOWERCASE, MIXEDCASE, RIGHT, UPPERCASE
 
Constructor Summary
applet()
          Default constructor.
 
Method Summary
(package private)  void ()
          Private initializer.
 applet addElement(Element element)
          Add an element to the element
 applet addElement(java.lang.String element)
          Add an element to the element
 applet addElement(java.lang.String hashcode, Element element)
          Adds an Element to the element.
 applet addElement(java.lang.String hashcode, java.lang.String element)
          Adds an Element to the element.
 applet removeElement(java.lang.String hashcode)
          Removes an Element from the element.
 applet setAlign(java.lang.String alignment)
          Set the horizontal or vertical alignment of this applet.
Convience variables are in the AlignTypes interface.
 applet setAlt(java.lang.String alt)
          Breif description, alternate text for the applet.
 applet setArchive(java.lang.String url)
          Comma seperated archive list.
 applet setCode(java.lang.String code)
          Applet class file.
 applet setCodeBase(java.lang.String url)
          Determines the base url for this applet.
 applet setHeight(double height)
          Suggested height of applet.
 applet setHeight(int height)
          Suggested height of applet.
 applet setHeight(java.lang.String height)
          Suggested height of applet.
 applet setHSpace(double hspace)
          Suggested horizontal gutter.
 applet setHSpace(int hspace)
          Suggested horizontal gutter.
 applet setHSpace(java.lang.String hspace)
          Suggested horizontal gutter.
 Element setLang(java.lang.String lang)
          Sets the lang="" and xml:lang="" attributes
 applet setName(java.lang.String name)
          Set the name of this applet.
 applet setObject(java.lang.String object)
          Serialized applet file.
 applet setVSpace(double vspace)
          Suggested vertical gutter.
 applet setVSpace(int vspace)
          Suggested vertical gutter.
 applet setVSpace(java.lang.String vspace)
          Suggested vertical gutter.
 applet setWidth(double width)
          Suggested width of object.
 applet setWidth(int width)
          Suggested width of applet.
 applet setWidth(java.lang.String width)
          Suggested width of applet.
 
Methods inherited from class org.apache.ecs.ConcreteElement
addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, clone, elements, getElement, isEmpty, keys, output, output, output, output, registryHasElement, registryHasElement, removeElementFromRegistry, removeElementFromRegistry
 
Methods inherited from class org.apache.ecs.ElementAttributes
addAttribute, addAttribute, addAttribute, addAttribute, attributes, createStartTag, getAttribute, getAttributeEqualitySign, getAttributeFilter, getAttributeFilterState, getAttributeQuote, getAttributeQuoteChar, hasAttribute, removeAttribute, setAttributeEqualitySign, setAttributeFilter, setAttributeFilterState, setAttributeQuote, setAttributeQuoteChar, setClass, setDir, setID, setStyle, setTitle
 
Methods inherited from class org.apache.ecs.GenericElement
alterCase, createEndTag, getBeginEndModifier, getBeginEndModifierDefined, getBeginStartModifier, getBeginStartModifierDefined, getCase, getCodeSet, getElementHashEntry, getElementType, getEndEndModifier, getEndEndModifierDefined, getEndStartModifier, getEndStartModifierDefined, getEndTagChar, getFilter, getFilterState, getNeedClosingTag, getNeedLineBreak, getPrettyPrint, getStartTagChar, getTabLevel, getTagPosition, getTagText, getVersion, putTabs, putTabs, removeBeginEndModifier, removeBeginStartModifier, removeEndEndModifier, removeEndStartModifier, setBeginEndModifier, setBeginEndModifierDefined, setBeginModifier, setBeginModifier, setBeginStartModifier, setBeginStartModifierDefined, setCase, setCodeSet, setElementType, setEndEndModifier, setEndEndModifierDefined, setEndModifier, setEndModifier, setEndStartModifier, setEndStartModifierDefined, setEndTagChar, setFilter, setFilterState, setNeedClosingTag, setPrettyPrint, setStartTagChar, setTabLevel, setTagPosition, setTagText, toString, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

applet

public applet()
Default constructor. Creates the <applet/> Element.
use set* methods.
Method Detail

void ()
Private initializer.
Overrides:
in class MultiPartElement

setCodeBase

public applet setCodeBase(java.lang.String url)
Determines the base url for this applet.
Parameters:
url - base url for this applet.

setArchive

public applet setArchive(java.lang.String url)
Comma seperated archive list.
Parameters:
url - Comma seperate archive list.

setCode

public applet setCode(java.lang.String code)
Applet class file.
Parameters:
code - applet class file.

setHeight

public applet setHeight(java.lang.String height)
Suggested height of applet.
Parameters:
height - suggested link height.

setHeight

public applet setHeight(int height)
Suggested height of applet.
Parameters:
height - suggested link height.

setHeight

public applet setHeight(double height)
Suggested height of applet.
Parameters:
height - suggested link height.

setWidth

public applet setWidth(java.lang.String width)
Suggested width of applet.
Parameters:
height - suggested link width.

setWidth

public applet setWidth(int width)
Suggested width of applet.
Parameters:
height - suggested link width.

setWidth

public applet setWidth(double width)
Suggested width of object.
Parameters:
height - suggested link width.

setHSpace

public applet setHSpace(java.lang.String hspace)
Suggested horizontal gutter.
Parameters:
hspace - suggested horizontal gutter.

setHSpace

public applet setHSpace(int hspace)
Suggested horizontal gutter.
Parameters:
hspace - suggested horizontal gutter.

setHSpace

public applet setHSpace(double hspace)
Suggested horizontal gutter.
Parameters:
hspace - suggested horizontal gutter.

setVSpace

public applet setVSpace(java.lang.String vspace)
Suggested vertical gutter.
Parameters:
hspace - suggested vertical gutter.

setVSpace

public applet setVSpace(int vspace)
Suggested vertical gutter.
Parameters:
hspace - suggested vertical gutter.

setVSpace

public applet setVSpace(double vspace)
Suggested vertical gutter.
Parameters:
hspace - suggested vertical gutter.

setAlign

public applet setAlign(java.lang.String alignment)
Set the horizontal or vertical alignment of this applet.
Convience variables are in the AlignTypes interface.
Parameters:
alignment - Set the horizontal or vertical alignment of this applet.
Convience variables are in the AlignTypes interface.

setName

public applet setName(java.lang.String name)
Set the name of this applet.
Parameters:
name - set the name of this applet.

setObject

public applet setObject(java.lang.String object)
Serialized applet file.
Parameters:
object - Serialized applet file.

setAlt

public applet setAlt(java.lang.String alt)
Breif description, alternate text for the applet.
Parameters:
alt - alternat text.

setLang

public Element setLang(java.lang.String lang)
Sets the lang="" and xml:lang="" attributes
Overrides:
setLang in class ElementAttributes
Parameters:
lang - the lang="" and xml:lang="" attributes

addElement

public applet addElement(java.lang.String hashcode,
                         Element element)
Adds an Element to the element.
Parameters:
hashcode - name of element for hash table
element - Adds an Element to the element.

addElement

public applet addElement(java.lang.String hashcode,
                         java.lang.String element)
Adds an Element to the element.
Parameters:
hashcode - name of element for hash table
element - Adds an Element to the element.

addElement

public applet addElement(java.lang.String element)
Add an element to the element
Parameters:
element - a string representation of the element

addElement

public applet addElement(Element element)
Add an element to the element
Parameters:
element - an element to add

removeElement

public applet removeElement(java.lang.String hashcode)
Removes an Element from the element.
Parameters:
hashcode - the name of the element to be removed.


Copyright © 1999-2003 Apache Software Foundation. All Rights Reserved.