|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.crystaldecisions.sdk.occa.report.definition.Border
public class Border
This object defines the color and the line styles of a report object's border.
| Field Summary | |
|---|---|
static int |
DROPSHADOW_BREADTH
The breadth of a drop shadow in twips. |
| Constructor Summary | |
|---|---|
Border()
|
|
Border(IBorder 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.awt.Color |
getBackgroundColor()
Returns the Color object that specifies the background color of the border. |
int |
getBackgroundColorValue()
Deprecated. internal use only |
java.awt.Color |
getBorderColor()
Returns the Color object that specifies the color of the border. |
int |
getBorderColorValue()
Deprecated. internal use only |
LineStyle |
getBottomLineStyle()
Returns the style of the border's bottom line. |
BorderConditionFormulas |
getConditionFormulas()
Returns the condition formulas used to override the default border values. |
boolean |
getEnableTightHorizontal()
Returns true if the border is trimmed to match the size of the field, and false
otherwise. |
boolean |
getHasDropShadow()
Returns true if a drop shadow is printed below and to the right of the field, and false
otherwise. |
LineStyle |
getLeftLineStyle()
Returns the style of the border's line on the left side. |
LineStyle |
getRightLineStyle()
Returns the style of the border's line on the right side. |
LineStyle |
getTopLineStyle()
Returns the style of the border's top line. |
boolean |
hasContent(java.lang.Object srcBorder)
|
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 |
setBackgroundColor(java.awt.Color backgroundColor)
Sets the Color object that specifies the background color of the border. |
void |
setBackgroundColorValue(int backgroundColor)
Deprecated. internal use only |
void |
setBorderColor(java.awt.Color borderColor)
Sets the Color object that specifies the color of the border. |
void |
setBorderColorValue(int borderColor)
Deprecated. internal use only |
void |
setBottomLineStyle(LineStyle bottomLineStyle)
Sets the style of the border's bottom line. |
void |
setConditionFormulas(BorderConditionFormulas conditionFormulas)
Sets the condition formulas used to override the default border values. |
void |
setEnableTightHorizontal(boolean enableTightHorizontal)
Sets whether the border is trimmed to match the size of the field. |
void |
setHasDropShadow(boolean hasDropShadow)
Sets whether a drop shadow is printed below and to the right of the field. |
void |
setLeftLineStyle(LineStyle leftLineStyle)
Sets the style of the border's line on the left side. |
void |
setRightLineStyle(LineStyle rightLineStyle)
Sets the style of the border's line on the right side. |
void |
setTopLineStyle(LineStyle topLineStyle)
Sets the style of the border's top line. |
boolean |
skipWritingIdenticalObject()
For internal use only. |
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 |
| Field Detail |
|---|
public static final int DROPSHADOW_BREADTH
The breadth of a drop shadow in twips.
| Constructor Detail |
|---|
public Border(IBorder src)
public Border()
| Method Detail |
|---|
public java.lang.Object clone(boolean deepClone)
public void copyTo(java.lang.Object destObject,
boolean deepCopy)
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.
public void endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only.
public java.awt.Color getBackgroundColor()
IBorder
Returns the Color object that specifies the background color of the border.
getBackgroundColor in interface IBorderjava.awt.Color object that specifies the background color of the border.public java.awt.Color getBorderColor()
IBorder
Returns the Color object that specifies the color of the border.
getBorderColor in interface IBorderjava.awt.Color object that specifies the color of the border.public LineStyle getBottomLineStyle()
IBorderReturns the style of the border's bottom line.
getBottomLineStyle in interface IBorderLineStyle object that specifies the style of the border's bottom line.public BorderConditionFormulas getConditionFormulas()
IBorderReturns the condition formulas used to override the default border values.
getConditionFormulas in interface IBorderBorderConditionFormulas object containing the condition formulas used
to override the default border values.public boolean getEnableTightHorizontal()
IBorder
Returns true if the border is trimmed to match the size of the field, and false
otherwise. false indicates that the border will be the same size for each record.
getEnableTightHorizontal in interface IBordertrue if the border is trimmed to match the size of the field, and false
otherwise.public boolean getHasDropShadow()
IBorder
Returns true if a drop shadow is printed below and to the right of the field, and false
otherwise.
getHasDropShadow in interface IBordertrue if a drop shadow is printed below and to the right of the field, and false
otherwise.public LineStyle getLeftLineStyle()
IBorderReturns the style of the border's line on the left side. By default, no line is applied.
getLeftLineStyle in interface IBorderLineStyle object that specifies the style of the border's line on the left
side.public LineStyle getRightLineStyle()
IBorderReturns the style of the border's line on the right side. By default, no line is applied.
getRightLineStyle in interface IBorderLineStyle object that specifies the style of the border's line on the right
side.public LineStyle getTopLineStyle()
IBorderReturns the style of the border's top line. By default, no line is applied.
getTopLineStyle in interface IBorderLineStyle object that specifies the style of the border's top line.public boolean hasContent(java.lang.Object srcBorder)
public void readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
For internal use only.
public void save(XMLWriter writer,
XMLSerializationContext ctxt)
throws java.io.IOException
For internal use only.
java.io.IOException
public void save(XMLWriter writer,
java.lang.String sTag,
XMLSerializationContext ctxt)
throws java.io.IOException
For internal use only.
java.io.IOException
public void saveContents(XMLWriter writer,
XMLSerializationContext ctxt)
throws java.io.IOException
For internal use only.
java.io.IOExceptionpublic void setBackgroundColor(java.awt.Color backgroundColor)
IBorder
Sets the Color object that specifies the background color of the border.
setBackgroundColor in interface IBorderbackgroundColor - A java.awt.Color object that specifies the background color of the
border.public void setBorderColor(java.awt.Color borderColor)
IBorder
Sets the Color object that specifies the color of the border.
setBorderColor in interface IBorderborderColor - A java.awt.Color object that specifies the color of the border.public void setBottomLineStyle(LineStyle bottomLineStyle)
IBorderSets the style of the border's bottom line.
setBottomLineStyle in interface IBorderbottomLineStyle - A LineStyle object that specifies the style of the border's bottom
line.public void setConditionFormulas(BorderConditionFormulas conditionFormulas)
IBorderSets the condition formulas used to override the default border values.
setConditionFormulas in interface IBorderconditionFormulas - A BorderConditionFormulas object containing the condition formulas used
to override the default border values.public void setEnableTightHorizontal(boolean enableTightHorizontal)
IBorder
Sets whether the border is trimmed to match the size of the field. false indicates that
the border will be the same size for each record.
setEnableTightHorizontal in interface IBorderenableTightHorizontal - true if the border is trimmed to match the size of the field, and false
otherwise.public void setHasDropShadow(boolean hasDropShadow)
IBorderSets whether a drop shadow is printed below and to the right of the field.
setHasDropShadow in interface IBorderhasDropShadow - true if a drop shadow is printed below and to the right of the
field, and false otherwise.public void setLeftLineStyle(LineStyle leftLineStyle)
IBorderSets the style of the border's line on the left side. By default, no line is applied.
setLeftLineStyle in interface IBorderleftLineStyle - A LineStyle object that specifies the style of the border's line on the left
side.public void setRightLineStyle(LineStyle rightLineStyle)
IBorderSets the style of the border's line on the right side. By default, no line is applied.
setRightLineStyle in interface IBorderrightLineStyle - A LineStyle object that specifies the style of the border's line on the right
side.public void setTopLineStyle(LineStyle topLineStyle)
IBorderSets the style of the border's top line. By default, no line is applied.
setTopLineStyle in interface IBordertopLineStyle - A LineStyle object that specifies the style of the border's top line.public boolean skipWritingIdenticalObject()
For internal use only.
public void startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
For internal use only.
public int getBackgroundColorValue()
getBackgroundColorValue in interface IBorderpublic int getBorderColorValue()
getBorderColorValue in interface IBorderpublic void setBackgroundColorValue(int backgroundColor)
setBackgroundColorValue in interface IBorderpublic void setBorderColorValue(int borderColor)
setBorderColorValue in interface IBorder
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||