|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.crystaldecisions.sdk.occa.report.definition.ReportObject
com.crystaldecisions.sdk.occa.report.definition.DrawingObject
public abstract class DrawingObject
This object is used to draw an object in your report object. You can specify the line thickness, style, and color, and the positioning of the drawn object.
| Constructor Summary | |
|---|---|
DrawingObject()
|
|
| 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. |
int |
getBottom()
Returns the position of the bottom of the object. |
boolean |
getEnableExtendToBottomOfSection()
Returns true if the object will be extended to the bottom of the section, and
false otherwise. |
java.lang.String |
getEndSectionName()
Returns the section name which specifies where the drawing object ends. |
java.awt.Color |
getLineColor()
Returns the color for the line (for the border). |
int |
getLineColorValue()
Deprecated. For internal use only. |
LineStyle |
getLineStyle()
Returns the style for the line (for the border). |
int |
getLineThickness()
Returns the line thickness (for the border). |
int |
getRight()
Returns the position of the right side of the object. |
boolean |
hasContent(java.lang.Object reportObject)
|
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 |
setBottom(int bottom)
Sets the position of the bottom of the object. |
void |
setEnableExtendToBottomOfSection(boolean enableExtendToBottomOfSection)
Sets whether the object will be extended to the bottom of the section. |
void |
setEndSectionName(java.lang.String endSectionName)
Sets the section name which specifies where the drawing object ends. |
void |
setLineColor(java.awt.Color lineColor)
Sets the color for the line (for the border). |
void |
setLineColorValue(int lineColor)
Deprecated. For internal use only. |
void |
setLineStyle(LineStyle lineStyle)
Sets the style for the line (for the border). |
void |
setLineThickness(int lineThickness)
Sets the line thickness (for the border). |
void |
setRight(int right)
Sets the position of the right side of the object. |
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.ReportObject |
|---|
getBorder, getBorderMargins, getFormat, getFormula, getHeight, getImageKey, getKind, getLeft, getLinkedURI, getName, getReplacementConditionFormulas, getReportPartBookmark, getSectionCode, getSectionName, getTop, getTranslatableObject, getTranslatableString, getTranslatableStringIds, getTranslatableStringLabelResourceID, getVersion, getWidth, setBorder, setFormat, setHeight, setKind, setLeft, setLinkedURI, setName, setReplacementConditionFormulas, setReportPartBookmark, setSectionCode, setSectionName, setTop, setTranslatableString, 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.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 |
|---|
public DrawingObject()
| Method Detail |
|---|
public java.lang.Object clone(boolean deepClone)
clone in class ReportObject
public void copyTo(java.lang.Object destObject,
boolean deepCopy)
copyTo in class ReportObject
public java.lang.Object createMember(java.lang.String eleName,
org.xml.sax.Attributes attrs,
XMLSerializationContext ctxt,
java.util.Map objState,
boolean[] bLoaded)
ReportObjectFor internal use only.
createMember in class ReportObject
public void endElement(java.lang.String eleName,
java.util.Map objState)
ReportObjectFor internal use only.
endElement in class ReportObjectpublic int getBottom()
IDrawingObjectReturns the position of the bottom of the object.
getBottom in interface IDrawingObjectint that specifies the position of the bottom of the object.public boolean getEnableExtendToBottomOfSection()
IDrawingObject
Returns true if the object will be extended to the bottom of the section, and
false otherwise.
getEnableExtendToBottomOfSection in interface IDrawingObjecttrue if the object will be extended to the bottom of the section, and
false otherwise.public java.lang.String getEndSectionName()
IDrawingObjectReturns the section name which specifies where the drawing object ends.
getEndSectionName in interface IDrawingObjectString containing the section name which specifies where the drawing
object ends.public java.awt.Color getLineColor()
IDrawingObjectReturns the color for the line (for the border).
getLineColor in interface IDrawingObjectjava.awt.Color object that specifies the color for the line.public int getLineColorValue()
getLineColorValue in interface IDrawingObjectpublic LineStyle getLineStyle()
IDrawingObjectReturns the style for the line (for the border).
getLineStyle in interface IDrawingObjectLineStyle object that specifies the style for the line.public int getLineThickness()
IDrawingObjectReturns the line thickness (for the border).
getLineThickness in interface IDrawingObjectint that specifies the line thickness.public int getRight()
IDrawingObjectReturns the position of the right side of the object.
getRight in interface IDrawingObjectint that specifies the position of the right side of the object.public boolean hasContent(java.lang.Object reportObject)
hasContent in class ReportObject
public void readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
ReportObjectFor internal use only.
readElement in class ReportObject
public void save(XMLWriter writer,
XMLSerializationContext ctxt)
throws java.io.IOException
ReportObjectFor internal use only.
save in class ReportObjectjava.io.IOException
public void save(XMLWriter writer,
java.lang.String sTag,
XMLSerializationContext ctxt)
throws java.io.IOException
ReportObjectFor internal use only.
save in class ReportObjectjava.io.IOException
public void saveContents(XMLWriter writer,
XMLSerializationContext ctxt)
throws java.io.IOException
ReportObjectFor internal use only.
saveContents in class ReportObjectjava.io.IOExceptionpublic void setBottom(int bottom)
IDrawingObjectSets the position of the bottom of the object.
setBottom in interface IDrawingObjectbottom - An int that specifies the position of the bottom of the object.public void setEnableExtendToBottomOfSection(boolean enableExtendToBottomOfSection)
IDrawingObjectSets whether the object will be extended to the bottom of the section.
setEnableExtendToBottomOfSection in interface IDrawingObjectenableExtendToBottomOfSection - true if the object will be extended to the bottom of the section, and
false otherwise.public void setEndSectionName(java.lang.String endSectionName)
IDrawingObjectSets the section name which specifies where the drawing object ends.
setEndSectionName in interface IDrawingObjectendSectionName - A String containing the section name which specifies where the drawing
object ends.public void setLineColor(java.awt.Color lineColor)
IDrawingObjectSets the color for the line (for the border).
setLineColor in interface IDrawingObjectlineColor - A java.awt.Color object that specifies the color for the line.public void setLineColorValue(int lineColor)
setLineColorValue in interface IDrawingObjectpublic void setLineStyle(LineStyle lineStyle)
IDrawingObjectSets the style for the line (for the border).
setLineStyle in interface IDrawingObjectlineStyle - A LineStyle object that specifies the style for the line.public void setLineThickness(int lineThickness)
IDrawingObjectSets the line thickness (for the border).
setLineThickness in interface IDrawingObjectlineThickness - An int that specifies the line thickness.public void setRight(int right)
IDrawingObjectSets the position of the right side of the object.
setRight in interface IDrawingObjectright - An int that specifies the position of the right side of the object.
public void startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
ReportObjectFor internal use only.
startElement in class ReportObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||