|
|||||||||
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 |
doControllerModification(java.lang.Object newObject)
|
void |
endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only. |
void |
enumerateMembers(IMemberVisitor visitor)
|
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. |
ControllableMixin |
getControllableMixin()
|
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)
|
boolean |
isDirectlyControllable()
|
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 IBorder
java.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 IBorder
java.awt.Color
object that specifies the color of the border.public LineStyle getBottomLineStyle()
IBorder
Returns the style of the border's bottom line.
getBottomLineStyle
in interface IBorder
LineStyle
object that specifies the style of the border's bottom line.public BorderConditionFormulas getConditionFormulas()
IBorder
Returns the condition formulas used to override the default border values.
getConditionFormulas
in interface IBorder
BorderConditionFormulas
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 IBorder
true
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 IBorder
true
if a drop shadow is printed below and to the right of the field, and false
otherwise.public LineStyle getLeftLineStyle()
IBorder
Returns the style of the border's line on the left side. By default, no line is applied.
getLeftLineStyle
in interface IBorder
LineStyle
object that specifies the style of the border's line on the left
side.public LineStyle getRightLineStyle()
IBorder
Returns the style of the border's line on the right side. By default, no line is applied.
getRightLineStyle
in interface IBorder
LineStyle
object that specifies the style of the border's line on the right
side.public LineStyle getTopLineStyle()
IBorder
Returns the style of the border's top line. By default, no line is applied.
getTopLineStyle
in interface IBorder
LineStyle
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.IOException
public void setBackgroundColor(java.awt.Color backgroundColor)
IBorder
Sets the Color
object that specifies the background color of the border.
setBackgroundColor
in interface IBorder
backgroundColor
- 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 IBorder
borderColor
- A java.awt.Color
object that specifies the color of the border.public void setBottomLineStyle(LineStyle bottomLineStyle)
IBorder
Sets the style of the border's bottom line.
setBottomLineStyle
in interface IBorder
bottomLineStyle
- A LineStyle
object that specifies the style of the border's bottom
line.public void setConditionFormulas(BorderConditionFormulas conditionFormulas)
IBorder
Sets the condition formulas used to override the default border values.
setConditionFormulas
in interface IBorder
conditionFormulas
- 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 IBorder
enableTightHorizontal
- true
if the border is trimmed to match the size of the field, and false
otherwise.public void setHasDropShadow(boolean hasDropShadow)
IBorder
Sets whether a drop shadow is printed below and to the right of the field.
setHasDropShadow
in interface IBorder
hasDropShadow
- true
if a drop shadow is printed below and to the right of the
field, and false
otherwise.public void setLeftLineStyle(LineStyle leftLineStyle)
IBorder
Sets the style of the border's line on the left side. By default, no line is applied.
setLeftLineStyle
in interface IBorder
leftLineStyle
- A LineStyle
object that specifies the style of the border's line on the left
side.public void setRightLineStyle(LineStyle rightLineStyle)
IBorder
Sets the style of the border's line on the right side. By default, no line is applied.
setRightLineStyle
in interface IBorder
rightLineStyle
- A LineStyle
object that specifies the style of the border's line on the right
side.public void setTopLineStyle(LineStyle topLineStyle)
IBorder
Sets the style of the border's top line. By default, no line is applied.
setTopLineStyle
in interface IBorder
topLineStyle
- 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 IBorder
public int getBorderColorValue()
getBorderColorValue
in interface IBorder
public void setBackgroundColorValue(int backgroundColor)
setBackgroundColorValue
in interface IBorder
public void setBorderColorValue(int borderColor)
setBorderColorValue
in interface IBorder
public ControllableMixin getControllableMixin()
public void doControllerModification(java.lang.Object newObject)
public boolean isDirectlyControllable()
public void enumerateMembers(IMemberVisitor visitor)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |