Schnittstelle BorderProperties
- Alle bekannten Implementierungsklassen:
AbstractLineElement, AbstractPictureElement, Box, Chart2, CrossTab, DatabasePicture, FieldElement, JavaBean, Line, Picture, SignatureForm, Subreport, Text
public interface BorderProperties
Interface for elements that support properties like line style for borders, fore- and back color
of the element.
This class is part of the
This class is part of the
RDC.- Seit:
- 7.0
-
Feldübersicht
FelderModifikator und TypFeldBeschreibungstatic final intLine has dashed line style.static final intLine has dotted line style.static final intLine has double line style.static final intLine has single line style.static final intLine has no style, not visible. -
Methodenübersicht
Modifikator und TypMethodeBeschreibungintReturns the value of the property 'back color'.Returns the formula for the property 'back color'.intReturns the value of the property 'bottom line style'.Returns the formula of the property 'bottom line style'.Returns the formula for the property 'close border on page break'.Returns the formula for the property 'drop shadow'.intReturns the value of the property 'fore color'.Returns the formula of the property 'fore color'.intReturns the value of the property 'left line style'.Returns the formula for the property 'left line style'.intReturns the value of the property 'right line style'.Returns the formula for the property 'right line style'.Returns the formula for the property 'tight horizontal'.intReturns the value of the property 'top line style'.Returns the formula of the property 'top line style'.booleanReturns the value of the property 'close border on page break'.booleanReturns the value of the property 'drop shadow'.booleanReturns the value of the property 'tight horizontal'.voidsetBackColor(int backColor) Sets the value of the property 'back color'.voidsetBackColorFormula(FormulaField newFormula) Sets the formula for the property 'back color'.voidsetBottomLineStyle(int newValue) Sets the value of the property 'bottom line style'.voidsetBottomLineStyleFormula(FormulaField newFormula) Sets the formula for the property 'bottom line style'.voidsetCloseBorderOnPageBreak(boolean newValue) Sets the value of the property 'close border on page break'.voidsetCloseBorderOnPageBreakFormula(FormulaField newFormula) Sets the formula for the property 'close border on page break'.voidsetDropShadow(boolean newValue) Sets the value of the property 'drop shadow'.voidsetDropShadowFormula(FormulaField newFormula) Sets the formula for the property 'drop shadow'.voidsetForeColor(int newValue) Sets the value of the property 'fore color'.voidsetForeColorFormula(FormulaField newFormula) Sets the formula of the property 'fore color'.voidsetLeftLineStyle(int newValue) Sets the value of the property 'left line style'.voidsetLeftLineStyleFormula(FormulaField newFormula) Sets the formula for the property 'left line style'.voidsetRightLineStyle(int newValue) Sets the value of the property 'right line style'.voidsetRightLineStyleFormula(FormulaField newFormula) Sets the formula for the property 'right line style'.voidsetTightHorizontal(boolean newValue) Sets the value of the property 'tight horizontal'.voidsetTightHorizontalFormula(FormulaField newFormula) Sets the formula for the property 'tight horizontal'.voidsetTopLineStyle(int newValue) Sets the value of the property 'top line style'.voidsetTopLineStyleFormula(FormulaField newFormula) Sets the formula for the property 'top line style'.
-
Felddetails
-
NO_LINE
static final int NO_LINELine has no style, not visible. Not valid for line element.- Siehe auch:
-
LINE_STYLE_SINGLE
static final int LINE_STYLE_SINGLELine has single line style.- Siehe auch:
-
LINE_STYLE_DOUBLE
static final int LINE_STYLE_DOUBLELine has double line style. Not valid for line element.- Siehe auch:
-
LINE_STYLE_DASHED
static final int LINE_STYLE_DASHEDLine has dashed line style.- Siehe auch:
-
LINE_STYLE_DOTTED
static final int LINE_STYLE_DOTTEDLine has dotted line style.- Siehe auch:
-
-
Methodendetails
-
setCloseBorderOnPageBreak
void setCloseBorderOnPageBreak(boolean newValue) Sets the value of the property 'close border on page break'. If this property is enabled and if the element has a border and will break over two pages, then the border of both parts will be closed (on bottom of the first, on top of the second part). If not the borders of both parts will be partial (on bottom of the first, on top of the second part are no borders).- Parameter:
newValue- The new value of the property 'close border on page break'.- Seit:
- 10.0
-
isCloseBorderOnPageBreak
boolean isCloseBorderOnPageBreak()Returns the value of the property 'close border on page break'. If this property is enabled and if the element has a border and will break over two pages, then the border of both parts will be closed (on bottom of the first, on top of the second part). If not the borders of both parts will be partial (on bottom of the first, on top of the second part are no borders).- Gibt zurück:
- FormulaField The value of the property 'close border on page break'.
- Seit:
- 10.0
-
setCloseBorderOnPageBreakFormula
Sets the formula for the property 'close border on page break'. If this property is enabled and if the element has a border and will break over two pages, then the border of both parts will be closed (on bottom of the first, on top of the second part). If not the borders of both parts will be partial (on bottom of the first, on top of the second part are no borders).- Parameter:
newFormula- The new formula for the property 'close border on page break'.- Seit:
- 10.0
-
getCloseBorderOnPageBreakFormula
FormulaField getCloseBorderOnPageBreakFormula()Returns the formula for the property 'close border on page break'. If this property is enabled and if the element has a border and will break over two pages, then the border of both parts will be closed (on bottom of the first, on top of the second part). If not the borders of both parts will be partial (on bottom of the first, on top of the second part are no borders).- Gibt zurück:
- FormulaField The formula for the property 'close border on page break'.
- Seit:
- 10.0
-
setDropShadow
void setDropShadow(boolean newValue) Sets the value of the property 'drop shadow'. If this property is enabled, a shadow will be printed (below and on the right side). Otherwise no shadow will be printed.- Parameter:
newValue-true- shadow will be displayed,false- no shadow.- Seit:
- 7.0
-
isDropShadow
boolean isDropShadow()Returns the value of the property 'drop shadow'. If this property is enabled, a shadow will be printed (below and on the right side). Otherwise no shadow will be printed.- Gibt zurück:
- true if the shadow will be displayed else
false. - Seit:
- 7.0
-
setDropShadowFormula
Sets the formula for the property 'drop shadow'. If this property is enabled, a shadow will be printed (below and on the right side). Otherwise no shadow will be printed.- Parameter:
newFormula- The new formula for the property 'drop shadow'.- Seit:
- 7.0
-
getDropShadowFormula
FormulaField getDropShadowFormula()Returns the formula for the property 'drop shadow'. If this property is enabled, a shadow will be printed (below and on the right side). Otherwise no shadow will be printed.- Gibt zurück:
- FormulaField The formula for the property 'drop shadow'.
- Seit:
- 7.0
-
setBackColor
void setBackColor(int backColor) Sets the value of the property 'back color'. This property sets the background color of the element. Set the value as ABGR, i.e. 0x000000FF for red or use the color constants in class RDC.- Parameter:
backColor- the new value of the property 'backColor'.- Seit:
- 7.0
- Siehe auch:
-
getBackColor
int getBackColor()Returns the value of the property 'back color'. This property sets the background color of the element. Set the value as ABGR, i.e. 0x000000FF for red or use the color constants in class RDC.- Gibt zurück:
- The value of the property 'backColor'.
- Seit:
- 7.0
- Siehe auch:
-
setBackColorFormula
Sets the formula for the property 'back color'. This property sets the background color of the element. Set the value as ABGR, i.e. 0x000000FF for red or use the color constants in class RDC.- Parameter:
newFormula- The new fromula for the property 'back color'.- Seit:
- 7.0
- Siehe auch:
-
getBackColorFormula
FormulaField getBackColorFormula()Returns the formula for the property 'back color'. This property sets the background color of the element. Set the value as ABGR, i.e. 0x000000FF for red or use the color constants in class RDC.- Gibt zurück:
- FormulaField The formula of the property 'back color'.
- Seit:
- 7.0
- Siehe auch:
-
setForeColor
void setForeColor(int newValue) Sets the value of the property 'fore color'. This property sets the fore color of the element. Set the value as ABGR, i.e. 0x000000FF for red or use the color constants in class RDC. In most cases this color represents the border color.- Parameter:
newValue- the new Value for the property 'fore color'.- Seit:
- 7.0
- Siehe auch:
-
getForeColor
int getForeColor()Returns the value of the property 'fore color'. This property sets the fore color of the element. Set the value as ABGR, i.e. 0x000000FF for red or use the color constants in class RDC. In most cases this color represents the border color.- Gibt zurück:
- The value of the property 'fore color'.
- Seit:
- 7.0
- Siehe auch:
-
setForeColorFormula
Sets the formula of the property 'fore color'. This property sets the fore color of the element. Set the value as ABGR, i.e. 0x000000FF for red or use the color constants in class RDC. In most cases this color represents the border color.- Parameter:
newFormula- The new formula for the property 'fore color'.- Seit:
- 7.0
- Siehe auch:
-
getForeColorFormula
FormulaField getForeColorFormula()Returns the formula of the property 'fore color'. This property sets the fore color of the element. Set the value as ABGR, i.e. 0x000000FF for red or use the color constants in class RDC. In most cases this color represents the border color.- Gibt zurück:
- FormulaField The formula of the property 'fore color'.
- Seit:
- 7.0
- Siehe auch:
-
getBottomLineStyle
int getBottomLineStyle()Returns the value of the property 'bottom line style'. Returns one of the different line styles single line, double line, dashed line, dotted line or no line. If the property is set to one of the first four, a line will be drawn on the bottom of the element with the defined style.- Gibt zurück:
- The value of the property 'bottom line style'.
- Seit:
- 7.0
- Siehe auch:
-
setBottomLineStyle
void setBottomLineStyle(int newValue) Sets the value of the property 'bottom line style'. Choose one of the different line styles single line, double line, dashed line, dotted line or no line. If you have chosen one of the first four, a line will be drawn on the bottom of the element with the defined style.- Parameter:
newValue- The new value of the property 'bottom line style'.- Löst aus:
IllegalArgumentException- if newValue is no valid line style- Seit:
- 7.0
- Siehe auch:
-
getBottomLineStyleFormula
FormulaField getBottomLineStyleFormula()Returns the formula of the property 'bottom line style'. Returns the formula that results in one of the following line styles: single line, double line, dashed line, dotted line or no line. If it results in any of the first four a line will be drawn on the bottom of the element with the defined style.- Gibt zurück:
- FormulaField The formula of the property 'bottom line style'.
- Seit:
- 6.0
- Siehe auch:
-
setBottomLineStyleFormula
Sets the formula for the property 'bottom line style'. Give a formula that results in one of the following line styles: single line, double line, dashed line, dotted line or no line. If it results in one of the first four, a line will be drawn on the bottom of the element with the defined style.- Parameter:
newFormula- The new formula for the property 'bottom line style'.- Seit:
- 7.0
- Siehe auch:
-
getTopLineStyle
int getTopLineStyle()Returns the value of the property 'top line style'. Returns one of the different line styles single line, double line, dashed line, dotted line or no line. If the property is set to one of the first four, a line will be drawn on the top of the element with the defined style.- Gibt zurück:
- The value of the property 'top line style'.
- Seit:
- 7.0
- Siehe auch:
-
setTopLineStyle
void setTopLineStyle(int newValue) Sets the value of the property 'top line style'. Choose one of the different line styles single line, double line, dashed line, dotted line or no line. If you have chosen one of the first four, a line will be drawn on the top of the element with the defined style.- Parameter:
newValue- The new value of the property 'top line style'.- Löst aus:
IllegalArgumentException- if newValue is no valid line style- Seit:
- 7.0
- Siehe auch:
-
getTopLineStyleFormula
FormulaField getTopLineStyleFormula()Returns the formula of the property 'top line style'. Returns the formula that results in one of the different line styles single line, double line, dashed line, dotted line or no line. If it results in one of the first four, a line will be drawn on the top of the element with the defined style.- Gibt zurück:
FormulaFieldThe formula of the property 'top line style'.- Seit:
- 6.0
- Siehe auch:
-
setTopLineStyleFormula
Sets the formula for the property 'top line style'. Give a formula that results in one of the different line styles single line, double line, dashed line, dotted line or no line. If it results in one of the first four, a line will be drawn on the top of the element with the defined style.- Parameter:
newFormula- The new formula for the property 'top line style'.- Seit:
- 7.0
- Siehe auch:
-
setLeftLineStyle
void setLeftLineStyle(int newValue) Sets the value of the property 'left line style'. Choose one of the different line styles single line, double line, dashed line, dotted line or no line. If you have chosen one of the first four, a line will be drawn on the left side of the element with the defined style.- Parameter:
newValue- The new value of the property 'left line style'- Löst aus:
IllegalArgumentException- if newValue is no valid line style- Seit:
- 7.0
- Siehe auch:
-
getLeftLineStyle
int getLeftLineStyle()Returns the value of the property 'left line style'. Returns one of the different line styles single line, double line, dashed line, dotted line or no line. If the property is set to one of the first four, a line will be drawn on the left side of the element with the defined style.- Gibt zurück:
- The value of the property 'left line style'.
- Seit:
- 7.0
- Siehe auch:
-
setLeftLineStyleFormula
Sets the formula for the property 'left line style'. Give a formula that results in one of the different line styles single line, double line, dashed line, dotted line or no line. If it results in one of the first four, a line will be drawn on the left side of the element with the defined style.- Parameter:
newFormula- The new formula for the property 'left line style'.- Seit:
- 7.0
- Siehe auch:
-
getLeftLineStyleFormula
FormulaField getLeftLineStyleFormula()Returns the formula for the property 'left line style'. Returns a formula that results in one of the different line styles single line, double line, dashed line, dotted line or no line. If it results in one of the first four, a line will be drawn on the left side of the element with the defined style.- Gibt zurück:
FormulaFieldThe formula for the property 'left line style'.- Seit:
- 7.0
- Siehe auch:
-
setRightLineStyle
void setRightLineStyle(int newValue) Sets the value of the property 'right line style'. Choose one of the different line styles single line, double line, dashed line, dotted line or no line. If you have chosen one of the first four, a line will be drawn on the right side of the element with the defined style.- Parameter:
newValue- The new value of the property 'right line style'.- Löst aus:
IllegalArgumentException- if newValue is no valid line style- Seit:
- 7.0
- Siehe auch:
-
getRightLineStyle
int getRightLineStyle()Returns the value of the property 'right line style'. Returns one of the different line styles single line, double line, dashed line, dotted line or no line. If the property is set to one of the first four, a line will be drawn on the right side of the element with the defined style.- Gibt zurück:
- The value of the property 'right line style'.
- Seit:
- 7.0
- Siehe auch:
-
setRightLineStyleFormula
Sets the formula for the property 'right line style'. Give a formula that results in one of the different line styles single line, double line, dashed line, dotted line or no line. If it results in one of the first four, a line will be drawn on the right side of the element with the defined style.- Parameter:
newFormula- The new formula for the property 'right line style'.- Seit:
- 7.0
- Siehe auch:
-
getRightLineStyleFormula
FormulaField getRightLineStyleFormula()Returns the formula for the property 'right line style'. Returns a formula that results in one of the different line styles single line, double line, dashed line, dotted line or no line. If it results in one of the first four, a line will be drawn on the right side of the element with the defined style.- Gibt zurück:
FormulaFieldThe formula for the property 'right line style'.- Seit:
- 7.0
- Siehe auch:
-
setTightHorizontal
void setTightHorizontal(boolean newValue) Sets the value of the property 'tight horizontal'. If this property is enabled the border of the element will be trimmed to the size of the field. When this property is disabled the size will be the same for each record.- Parameter:
newValue-trueif the value should be set, elsefalse.- Seit:
- 7.0
-
setTightHorizontalFormula
Sets the formula for the property 'tight horizontal'. If this property is enabled the border of the element will be trimmed to the size of the field. When this property is disabled the size will be the same for each record.- Parameter:
newFormula- The new formula for the property 'tight horizontal'.- Seit:
- 7.0
-
isTightHorizontal
boolean isTightHorizontal()Returns the value of the property 'tight horizontal'. If this property is enabled the border of the element will be trimmed to the size of the field. When this property is disabled the size will be the same for each record.- Gibt zurück:
- true if the property is set, else
false. - Seit:
- 7.0
-
getTightHorizontalFormula
FormulaField getTightHorizontalFormula()Returns the formula for the property 'tight horizontal'. If this property is enabled the border of the element will be trimmed to the size of the field. When this property is disabled the size will be the same for each record.- Gibt zurück:
- FormulaField The formula for the property 'tight horizontal'.
- Seit:
- 7.0
-