PAJES 2.3.9

org.pajes.html
Class Div

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

public class Div
extends Container

This class generates the DIV 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
Div()
          Creates an empty division.
Div(java.lang.String name)
          Creates a named division.
Div(java.lang.String name, java.lang.String styleSheetClass)
          Creates a named division with the specified stylesheet class.
Div(java.lang.String name, java.lang.String styleSheetClass, java.lang.String styleSheetID)
          Creates a named division with the specified stylesheet class and ID.
 
Method Summary
 java.lang.String getName()
          Returns the name attribute of this divison.
 Div setName(java.lang.String name)
          Sets the name of this divison.
 
Methods inherited from class org.pajes.html.Container
add, 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, init, 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

Div

public Div()
Creates an empty division.


Div

public Div(java.lang.String name)
Creates a named division.

Parameters:
name - the name to be given to the division.

Div

public Div(java.lang.String name,
           java.lang.String styleSheetClass)
Creates a named division with the specified stylesheet class.

Parameters:
name - the name to be given to the division.
styleSheetClass - the style sheet class to be assigned to this division.

Div

public Div(java.lang.String name,
           java.lang.String styleSheetClass,
           java.lang.String styleSheetID)
Creates a named division with the specified stylesheet class and ID.

Parameters:
name - the name to be given to the division
styleSheetClass - the style sheet class to be assigned to this division.
styleSheetID - the style sheet ID to be assigned to this division.
Method Detail

setName

public Div setName(java.lang.String name)
Sets the name of this divison.

Parameters:
name - the name to apply to the input object.
Returns:
the modified Input object.

getName

public java.lang.String getName()
Returns the name attribute of this divison.

Returns:
the name attribute of this divison.

PAJES 2.3.9

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