PAJES 2.3.9

org.pajes.html
Class Strike

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

public class Strike
extends FormattedText

Issues the Strike 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
Strike()
          Creates a container that will wrap formatting tags around its content.
Strike(java.lang.String valueToOutput)
          Wraps the formatting around a line of text.
Strike(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, 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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Strike

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


Strike

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

Parameters:
valueToOutput - the text to be formatted.

Strike

public Strike(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 2.3.9

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