PAJES 3.0.21

org.pajes.html
Class Parameter

java.lang.Object
  extended by org.pajes.html.Tag
      extended by org.pajes.html.Parameter
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, HTML

public class Parameter
extends Tag

Generate the <param> tags for <applet> and <object> tags.

See Also:
Applet, Object, Serialized Form

Field Summary
 
Fields inherited from class org.pajes.html.Tag
ON_CLICK_ATTRIBUTE, TAG_CLOSE, TAG_LEFT, TAG_RIGHT
 
Constructor Summary
Parameter(java.lang.String name, java.lang.String value)
          Creates a parameter item.
 
Method Summary
 java.lang.String getName()
          Returns the name of this parameter item.
 java.lang.String getValue()
          Returns the value of this parameter item.
protected  void init()
          Called by the constructor and the Tag.destroy() method to correctly clear and initialise internal variables.
 void setContent(java.lang.String content)
          Sets the value of this parameter item.
 Parameter setName(java.lang.String name)
          Sets the name of this parameter item.
 Parameter setValue(java.lang.String value)
          Sets the value of this parameter item.
 
Methods inherited from class org.pajes.html.Tag
addAttribute, addAttributes, addAttributes, addContent, clearAttribute, clearAttributes, clone, destroy, getAttribute, getAttributes, getAttributeSet, getContainer, getContent, getDocument, getId, getOnClickHandler, getOnDBLClickHandler, getOnKeyDownHandler, getOnKeyPressHandler, getOnKeyUpHandler, getOnMouseDownHandler, getOnMouseOutHandler, getOnMouseOverHandler, getOnMouseUpHandler, getParent, getStyle, getStyleSheetClass, getTagName, getTitle, getWritePermission, hasAttribute, initAttributes, isChildOf, isChildOf, isWritable, isWritable, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributes, setAttributes, setContainer, setContent, setId, setOnClickHandler, setOnDBLClickHandler, setOnKeyDownHandler, setOnKeyPressHandler, setOnKeyUpHandler, setOnMouseDownHandler, setOnMouseOutHandler, setOnMouseOverHandler, setOnMouseUpHandler, setParent, setStyle, setStyleSheetClass, setTagName, setTitle, setWritable, setWriteAttributes, setWriteEndTag, setWritelnAfter, setWritelnAfterContent, setWritelnBefore, setWritelnBeforeContent, setWritePermission, toString, write, writeContent
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Parameter

public Parameter(java.lang.String name,
                 java.lang.String value)
Creates a parameter item.

Parameters:
name - the name of the parameter.
value - the value of the parameter.
Method Detail

getName

public java.lang.String getName()
Returns the name of this parameter item.

Returns:
the name of this parameter item.

getValue

public java.lang.String getValue()
Returns the value of this parameter item.

Returns:
the value of this parameter item.

setContent

public void setContent(java.lang.String content)
Sets the value of this parameter item.

Specified by:
setContent in interface HTML
Overrides:
setContent in class Tag
Parameters:
content - the value attribute value of this HTML tag.
See Also:
Tag.getContent(), Tag.setContent(org.pajes.html.HTML)

setName

public Parameter setName(java.lang.String name)
Sets the name of this parameter item.

Parameters:
name - the name of this parameter item.
Returns:
the modified Option object.

setValue

public Parameter setValue(java.lang.String value)
Sets the value of this parameter item.

Parameters:
value - the value of this parameter item.
Returns:
the modified Parameter object.

init

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

Overrides:
init in class Tag

PAJES 3.0.21

Copyright © 1998-2007 Viridian Pty Limited. All Rights Reserved.