|
|||||||||
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,
com.crystaldecisions.xml.serialization.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. 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(com.crystaldecisions.xml.serialization.XMLWriter writer,
com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt)
For internal use only. |
void |
save(com.crystaldecisions.xml.serialization.XMLWriter writer,
java.lang.String sTag,
com.crystaldecisions.xml.serialization.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. 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 |
---|
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.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, com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt, java.util.Map objState, boolean[] bLoaded)
For internal use only.
createMember
in class ReportObject
public void endElement(java.lang.String eleName, java.util.Map objState)
For internal use only.
endElement
in class ReportObject
public int getBottom()
IDrawingObject
Returns the position of the bottom of the object.
getBottom
in interface IDrawingObject
int
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 IDrawingObject
true
if the object will be extended to the bottom of the section, and
false
otherwise.public java.lang.String getEndSectionName()
IDrawingObject
Returns the section name which specifies where the drawing object ends.
getEndSectionName
in interface IDrawingObject
String
containing the section name which specifies where the drawing
object ends.public java.awt.Color getLineColor()
IDrawingObject
Returns the color for the line (for the border).
getLineColor
in interface IDrawingObject
java.awt.Color
object that specifies the color for the line.public int getLineColorValue()
getLineColorValue
in interface IDrawingObject
public LineStyle getLineStyle()
IDrawingObject
Returns the style for the line (for the border).
getLineStyle
in interface IDrawingObject
LineStyle
object that specifies the style for the line.public int getLineThickness()
IDrawingObject
Returns the line thickness (for the border).
getLineThickness
in interface IDrawingObject
int
that specifies the line thickness.public int getRight()
IDrawingObject
Returns the position of the right side of the object.
getRight
in interface IDrawingObject
int
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)
For internal use only.
readElement
in class ReportObject
public void save(com.crystaldecisions.xml.serialization.XMLWriter writer, com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt) throws java.io.IOException
For internal use only.
save
in class ReportObject
java.io.IOException
public void save(com.crystaldecisions.xml.serialization.XMLWriter writer, java.lang.String sTag, com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt) throws java.io.IOException
For internal use only.
save
in class ReportObject
java.io.IOException
public void saveContents(XMLWriter writer, XMLSerializationContext ctxt) throws java.io.IOException
For internal use only.
saveContents
in class ReportObject
java.io.IOException
public void setBottom(int bottom)
IDrawingObject
Sets the position of the bottom of the object.
setBottom
in interface IDrawingObject
bottom
- An int
that specifies the position of the bottom of the object.public void setEnableExtendToBottomOfSection(boolean enableExtendToBottomOfSection)
IDrawingObject
Sets whether the object will be extended to the bottom of the section.
setEnableExtendToBottomOfSection
in interface IDrawingObject
enableExtendToBottomOfSection
- true
if the object will be extended to the bottom of the section, and
false
otherwise.public void setEndSectionName(java.lang.String endSectionName)
IDrawingObject
Sets the section name which specifies where the drawing object ends.
setEndSectionName
in interface IDrawingObject
endSectionName
- A String
containing the section name which specifies where the drawing
object ends.public void setLineColor(java.awt.Color lineColor)
IDrawingObject
Sets the color for the line (for the border).
setLineColor
in interface IDrawingObject
lineColor
- A java.awt.Color
object that specifies the color for the line.public void setLineColorValue(int lineColor)
setLineColorValue
in interface IDrawingObject
public void setLineStyle(LineStyle lineStyle)
IDrawingObject
Sets the style for the line (for the border).
setLineStyle
in interface IDrawingObject
lineStyle
- A LineStyle
object that specifies the style for the line.public void setLineThickness(int lineThickness)
IDrawingObject
Sets the line thickness (for the border).
setLineThickness
in interface IDrawingObject
lineThickness
- An int
that specifies the line thickness.public void setRight(int right)
IDrawingObject
Sets the position of the right side of the object.
setRight
in interface IDrawingObject
right
- 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)
For internal use only.
startElement
in class ReportObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |