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

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.definition.ReportObject
      extended by com.crystaldecisions.sdk.occa.report.definition.DrawingObject
          extended by com.crystaldecisions.sdk.occa.report.definition.LineObject
All Implemented Interfaces:
IDrawingObject, ILineObject, IReportObject, IClone

public class LineObject
extends DrawingObject
implements ILineObject, IClone

This object represents a line drawn on a report. This object provides properties for getting information for lines on a report. Note that this object and a BoxObject object are the only objects that can span several sections. As such, you must specify which section the line ends in.


Constructor Summary
LineObject()
           
LineObject(ILineObject 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.
 LineStyle getLineStyle()
           Returns the style for the line (for the border).
 boolean hasContent(java.lang.Object srcLineObject)
           
 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 setLineStyle(LineStyle newStyle)
           Sets the style for the line (for the border).
 void startElement(java.lang.String eleName, java.util.Map objState, org.xml.sax.Attributes attrs)
           For internal use only.
 
Methods inherited from class com.crystaldecisions.sdk.occa.report.definition.DrawingObject
endElement, getBottom, getEnableExtendToBottomOfSection, getEndSectionName, getLineColor, getLineColorValue, getLineThickness, getRight, setBottom, setEnableExtendToBottomOfSection, setEndSectionName, setLineColor, setLineColorValue, setLineThickness, setRight
 
Methods inherited from class com.crystaldecisions.sdk.occa.report.definition.ReportObject
doControllerModification, enumerateMembers, getBorder, getBorderMargins, getControllableMixin, getFormat, getHeight, getKind, getLeft, getLinkedURI, getName, getReplacementConditionFormulas, getReportPartBookmark, getSectionCode, getSectionName, getTop, getVersion, getWidth, isDirectlyControllable, setBorder, setFormat, setHeight, setKind, setLeft, setLinkedURI, setName, setReplacementConditionFormulas, setReportPartBookmark, setSectionCode, setSectionName, setTop, setVersion, setWidth
 
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.IDrawingObject
getBottom, getEnableExtendToBottomOfSection, getEndSectionName, getLineColor, getLineColorValue, getLineThickness, getRight, setBottom, setEnableExtendToBottomOfSection, setEndSectionName, setLineColor, setLineColorValue, setLineThickness, setRight
 
Methods inherited from interface com.crystaldecisions.sdk.occa.report.definition.IReportObject
getBorder, getBorderMargins, getFormat, getHeight, getKind, getLeft, getLinkedURI, getName, getReplacementConditionFormulas, getReportPartBookmark, getSectionCode, getSectionName, getTop, getWidth, setBorder, setFormat, setHeight, setLeft, setLinkedURI, setName, setReplacementConditionFormulas, setReportPartBookmark, setSectionCode, setSectionName, setTop, setWidth
 

Constructor Detail

LineObject

public LineObject(ILineObject src)

LineObject

public LineObject()
Method Detail

clone

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

copyTo

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

createMember

public 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.

Overrides:
createMember in class DrawingObject

getLineStyle

public LineStyle getLineStyle()
Description copied from interface: IDrawingObject

Returns the style for the line (for the border).

Specified by:
getLineStyle in interface IDrawingObject
Overrides:
getLineStyle in class DrawingObject
Returns:
A LineStyle object that specifies the style for the line.

setLineStyle

public void setLineStyle(LineStyle newStyle)
Description copied from interface: IDrawingObject

Sets the style for the line (for the border).

Specified by:
setLineStyle in interface IDrawingObject
Overrides:
setLineStyle in class DrawingObject
Parameters:
newStyle - A LineStyle object that specifies the style for the line.

hasContent

public boolean hasContent(java.lang.Object srcLineObject)
Overrides:
hasContent in class DrawingObject

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: DrawingObject

For internal use only.

Overrides:
readElement in class DrawingObject

save

public void save(XMLWriter writer,
                 XMLSerializationContext ctxt)
          throws java.io.IOException

For internal use only.

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

save

public void save(XMLWriter writer,
                 java.lang.String sTag,
                 XMLSerializationContext ctxt)
          throws java.io.IOException

For internal use only.

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

saveContents

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

For internal use only.

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

startElement

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

For internal use only.

Overrides:
startElement in class DrawingObject