com.crystaldecisions.sdk.occa.report.definition
Class ParagraphTextElement

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.definition.ParagraphElement
      extended by com.crystaldecisions.sdk.occa.report.definition.ParagraphTextElement
All Implemented Interfaces:
IParagraphElement, IParagraphTextElement, IClone

public class ParagraphTextElement
extends ParagraphElement
implements IParagraphTextElement, IClone

This object enables you to display static text in one of the TextObject object's paragraphs. When possible, use the IParagraphTextElement interface.


Constructor Summary
ParagraphTextElement()
           
ParagraphTextElement(IParagraphTextElement src)
           
 
Method Summary
 java.lang.Object clone(boolean deepClone)
           
 void copyTo(java.lang.Object destObject, boolean deepCopy)
           
 java.lang.Object createMember(java.lang.String eleName, org.xml.sax.Attributes attrs, XMLSerializationContext ctxt, java.util.Map objState, boolean[] bLoaded)
           For internal use only.
 void endElement(java.lang.String eleName, java.util.Map objState)
           For internal use only.
 java.lang.String getText()
           Returns the text of the element.
 boolean hasContent(java.lang.Object srcParagraphTextElement)
           
 void readElement(java.lang.String eleName, java.lang.String sVal, org.xml.sax.Attributes attrs, java.util.Map objState)
           For internal use only.
 void save(XMLWriter writer, java.lang.String sTag, XMLSerializationContext ctxt)
           For internal use only.
 void save(XMLWriter writer, XMLSerializationContext ctxt)
           For internal use only.
 void saveContents(XMLWriter writer, XMLSerializationContext ctxt)
           For internal use only.
 void setText(java.lang.String text)
           Sets the text of the element.
 void startElement(java.lang.String eleName, java.util.Map objState)
           For internal use only.
 
Methods inherited from class com.crystaldecisions.sdk.occa.report.definition.ParagraphElement
doControllerModification, enumerateMembers, getCharacterSpacing, getControllableMixin, getFontColor, getKind, isDirectlyControllable, setCharacterSpacing, setFontColor, setKind, startElement
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.crystaldecisions.sdk.occa.report.definition.IParagraphTextElement
getCharacterSpacing, setCharacterSpacing
 
Methods inherited from interface com.crystaldecisions.sdk.occa.report.definition.IParagraphElement
getFontColor, getKind, setFontColor, setKind
 

Constructor Detail

ParagraphTextElement

public ParagraphTextElement(IParagraphTextElement src)

ParagraphTextElement

public ParagraphTextElement()
Method Detail

clone

public java.lang.Object clone(boolean deepClone)
Overrides:
clone in class ParagraphElement

copyTo

public void copyTo(java.lang.Object destObject,
                   boolean deepCopy)
Overrides:
copyTo in class ParagraphElement

createMember

public java.lang.Object createMember(java.lang.String eleName,
                                     org.xml.sax.Attributes attrs,
                                     XMLSerializationContext ctxt,
                                     java.util.Map objState,
                                     boolean[] bLoaded)
Description copied from class: ParagraphElement

For internal use only.

Overrides:
createMember in class ParagraphElement

endElement

public void endElement(java.lang.String eleName,
                       java.util.Map objState)
Description copied from class: ParagraphElement

For internal use only.

Overrides:
endElement in class ParagraphElement

getText

public java.lang.String getText()
Description copied from interface: IParagraphTextElement

Returns the text of the element.

Specified by:
getText in interface IParagraphTextElement
Returns:
A String containing the text of the element.

hasContent

public boolean hasContent(java.lang.Object srcParagraphTextElement)
Overrides:
hasContent in class ParagraphElement

readElement

public void readElement(java.lang.String eleName,
                        java.lang.String sVal,
                        org.xml.sax.Attributes attrs,
                        java.util.Map objState)
Description copied from class: ParagraphElement

For internal use only.

Overrides:
readElement in class ParagraphElement

save

public void save(XMLWriter writer,
                 XMLSerializationContext ctxt)
          throws java.io.IOException
Description copied from class: ParagraphElement

For internal use only.

Overrides:
save in class ParagraphElement
Throws:
java.io.IOException

save

public void save(XMLWriter writer,
                 java.lang.String sTag,
                 XMLSerializationContext ctxt)
          throws java.io.IOException
Description copied from class: ParagraphElement

For internal use only.

Overrides:
save in class ParagraphElement
Throws:
java.io.IOException

saveContents

public void saveContents(XMLWriter writer,
                         XMLSerializationContext ctxt)
                  throws java.io.IOException
Description copied from class: ParagraphElement

For internal use only.

Overrides:
saveContents in class ParagraphElement
Throws:
java.io.IOException

setText

public void setText(java.lang.String text)
Description copied from interface: IParagraphTextElement

Sets the text of the element.

Specified by:
setText in interface IParagraphTextElement
Parameters:
text - A String containing the text of the element.

startElement

public void startElement(java.lang.String eleName,
                         java.util.Map objState)

For internal use only.