PAJES 3.0.21

org.pajes.html
Class Em

java.lang.Object
  extended by org.pajes.html.Tag
      extended by org.pajes.html.TraversableElement
          extended by org.pajes.html.Container
              extended by org.pajes.html.FormattedText
                  extended by org.pajes.html.Em
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, HTML, TextContainer, Traversable

public class Em
extends FormattedText

Issues the Emphasize tags around a piece of text or HTML.

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
Em()
          Creates a container that will wrap formatting tags around its content.
Em(java.lang.String valueToOutput)
          Wraps the formatting around a line of text.
Em(Text valueToOutput)
          Wraps the formatting around another HTML object.
 
Method Summary
protected  FormattedText setDefaults()
          Over-rides setDefaults() from FormattedText to apply the correct formatting for this class.
 
Methods inherited from class org.pajes.html.FormattedText
getContainedText, setBig, setBold, setCitation, setCode, setDefiningInstance, setEmphasized, setItalic, setKeyboard, setSample, setSmall, setStrikeThrough, setStrong, setSubscript, setSuperscript, setTeletype, setUnderline, setVariable, write
 
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, getParent, getStyle, getStyleSheetClass, getTagName, getTitle, getWritePermission, hasAttribute, init, initAttributes, isChildOf, isChildOf, 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, setParent, setStyle, setStyleSheetClass, setTagName, setTitle, setWritable, setWriteAttributes, setWriteEndTag, setWritelnAfter, setWritelnAfterContent, setWritelnBefore, setWritelnBeforeContent, setWritePermission, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.pajes.html.Traversable
isWritable
 
Methods inherited from interface org.pajes.html.HTML
getContainer, getDocument, getId, getParent, getWritePermission, isChildOf, isChildOf, setContainer, setParent, setWritePermission
 

Constructor Detail

Em

public Em()
Creates a container that will wrap formatting tags around its content.


Em

public Em(java.lang.String valueToOutput)
Wraps the formatting around a line of text.

Parameters:
valueToOutput - the text to be formatted.

Em

public Em(Text valueToOutput)
Wraps the formatting around another HTML object.

Parameters:
valueToOutput - the HTML to be formatted.
Method Detail

setDefaults

protected FormattedText setDefaults()
Over-rides setDefaults() from FormattedText to apply the correct formatting for this class.

Overrides:
setDefaults in class FormattedText
Returns:
the modified FormattedText object.

PAJES 3.0.21

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