|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.sdk.occa.report.definition.CrossTabGridLineOptions
public class CrossTabGridLineOptions
This class holds formatting options of grid lines used in cross-tab objects. Options include line style, color, width and "is visible". These options are saved with individual crosstab objects and do not affect any other crosstabs.
ICrossTabGridLineFormattingInfo#setGridLineOptionsByType(CrossTabGridLineType, ICrossTabGridLineOptions)
Constructor Summary | |
---|---|
CrossTabGridLineOptions()
Creates a new CrossTabGridLineOptions object. |
|
CrossTabGridLineOptions(ICrossTabGridLineOptions src)
Copies the given ICrossTabGridLineOptions object. |
|
CrossTabGridLineOptions(LineStyle lineStyle,
java.awt.Color color,
int width,
boolean isDraw)
Creates a new CrossTabGridLineOptions object, initialized with the given
line style, color, width and "is visible" properties. |
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 |
doControllerModification(java.lang.Object newObject)
For internal use only. |
void |
endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only. |
void |
enumerateMembers(IMemberVisitor visitor)
For internal use only. |
java.awt.Color |
getColor()
Gets the grid line's color. |
ControllableMixin |
getControllableMixin()
For internal use only. |
boolean |
getIsDraw()
Gets whether the grid line is visible. |
LineStyle |
getLineStyle()
Gets the grid line's line style. |
int |
getWidth()
Gets the grid line's width. |
boolean |
hasContent(java.lang.Object otherOptions)
|
boolean |
isDirectlyControllable()
For internal use only. |
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 |
setColor(java.awt.Color color)
Sets the grid line's color. |
void |
setIsDraw(boolean isDraw)
Sets whether the grid line is visible. |
void |
setLineStyle(LineStyle lineStyle)
Sets the grid line's line style. |
void |
setWidth(int width)
Sets the grid line's width. |
void |
startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
For internal use only. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CrossTabGridLineOptions()
CrossTabGridLineOptions
object.
public CrossTabGridLineOptions(LineStyle lineStyle, java.awt.Color color, int width, boolean isDraw)
CrossTabGridLineOptions
object, initialized with the given
line style, color, width and "is visible" properties.
lineStyle
- the line style to usecolor
- the line's colourwidth
- the line's widthisDraw
- true
if the line is visible, false
otherwisepublic CrossTabGridLineOptions(ICrossTabGridLineOptions src)
ICrossTabGridLineOptions
object.
This constructor makes a deep copy of the src
object.
src
- the object to copyMethod Detail |
---|
public LineStyle getLineStyle()
ICrossTabGridLineOptions
getLineStyle
in interface ICrossTabGridLineOptions
com.crystaldecisions.sdk.occa.report.definition.LineStyle
public void setLineStyle(LineStyle lineStyle)
ICrossTabGridLineOptions
setLineStyle
in interface ICrossTabGridLineOptions
lineStyle
- the grid line's style as a com.crystaldecisions.sdk.occa.report.definition.LineStyle
public java.awt.Color getColor()
ICrossTabGridLineOptions
getColor
in interface ICrossTabGridLineOptions
java.awt.Color
objectpublic void setColor(java.awt.Color color)
ICrossTabGridLineOptions
setColor
in interface ICrossTabGridLineOptions
color
- the grid line's color as a java.awt.Color
objectpublic int getWidth()
ICrossTabGridLineOptions
getWidth
in interface ICrossTabGridLineOptions
int
value of the grid line's widthpublic void setWidth(int width)
ICrossTabGridLineOptions
setWidth
in interface ICrossTabGridLineOptions
width
- the int
value of the grid line's widthpublic boolean getIsDraw()
ICrossTabGridLineOptions
getIsDraw
in interface ICrossTabGridLineOptions
true
if the grid line is visible, false
if it is notpublic void setIsDraw(boolean isDraw)
ICrossTabGridLineOptions
setIsDraw
in interface ICrossTabGridLineOptions
isDraw
- true
if the grid line is visible, false
if it is notpublic java.lang.Object clone(boolean deepClone)
public void copyTo(java.lang.Object destObject, boolean deepCopy)
public boolean hasContent(java.lang.Object otherOptions)
public java.lang.Object createMember(java.lang.String eleName, org.xml.sax.Attributes attrs, XMLSerializationContext ctxt, java.util.Map objState, boolean[] bLoaded)
public void endElement(java.lang.String eleName, java.util.Map objState)
public void readElement(java.lang.String eleName, java.lang.String sVal, org.xml.sax.Attributes attrs, java.util.Map objState)
public void save(XMLWriter writer, XMLSerializationContext ctxt) throws java.io.IOException
java.io.IOException
public void save(XMLWriter writer, java.lang.String sTag, XMLSerializationContext ctxt) throws java.io.IOException
java.io.IOException
public void saveContents(XMLWriter writer, XMLSerializationContext ctxt) throws java.io.IOException
java.io.IOException
public void startElement(java.lang.String eleName, java.util.Map objState, org.xml.sax.Attributes attrs)
public void doControllerModification(java.lang.Object newObject)
public ControllableMixin getControllableMixin()
public boolean isDirectlyControllable()
public void enumerateMembers(IMemberVisitor visitor)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |