public class Box extends AbstractLineElement implements BoxProperties, HyperlinkProperties
Section.addBox(int, int, int, int)
method in class
Section
) and can span some sections (use method Section.addBox(int, int, int, int, int, Section)
in
class Section
).
In second case the last argument of the Section.addBox(int, int, int, int, int, Section)
method is the
section in that the box will end.
Element.setForeColor(int)
to change the color of the border and
method ReportComponent.setBackColor(int)
to change the background color of the box inheritated from Element
.BOX, CHART, CROSSTAB, CROSSTABSECTION, DATABASE_PICTURE, FIELD, FIELDPART, FORMFIELD, INTERACTIVE_SORTING, JAVABEAN, LINE, PARAGRAPH, PICTURE, SIGNATURE, SUBREPORT, TEXT, TEXTPART
LINE_STYLE_DASHED, LINE_STYLE_DOTTED, LINE_STYLE_DOUBLE, LINE_STYLE_SINGLE, NO_LINE
ALIGN_HORIZONTAL_CENTER, ALIGN_HORIZONTAL_DEFAULT, ALIGN_HORIZONTAL_JUSTIFIED, ALIGN_HORIZONTAL_LEFT, ALIGN_HORIZONTAL_RIGHT
Modifier and Type | Method and Description |
---|---|
int |
getCornerEllipseHeight()
Returns the value of the property 'corner ellipse height'.
|
int |
getCornerEllipseWidth()
Returns the value of the property 'corner ellipse width'.
|
java.util.List<? extends ReportComponent> |
getSubComponents()
Returns all
ReportComponent s that are descendants of this one. |
boolean |
isCloseBorderOnPageBreak()
Returns the value of the property 'close border on page break'.
|
void |
setCloseBorderOnPageBreak(boolean newValue)
Sets the value of the property 'close border on page break'.
|
void |
setCornerEllipseHeight(int newValue)
Sets the value of the property 'corner ellipse height'.
|
void |
setCornerEllipseWidth(int newValue)
Sets the value of the property 'corner ellipse width'.
|
getBottomLineStyle, getEndSection, getHeight, getLeftLineStyle, getLineStyle, getLineWidth, getRightLineStyle, getTopLineStyle, getWidth, getX2, getY2, isExtendToBottomOfSectionWhenPrinting, isMultiSectionElement, setEndSection, setExtendToBottomOfSectionWhenPrinting, setHeight, setLineStyle, setLineWidth, setWidth, setX2, setY2, spansMultipleSections
addListener, copy, getBottomLineStyleFormula, getCanGrowCount, getCanGrowFormula, getCloseBorderOnPageBreakFormula, getDropShadowFormula, getEngine, getField, getForeColor, getForeColorFormula, getHorAlign, getHorAlignFormula, getHyperlinkUrl, getHyperlinkUrlFormula, getLeftLineStyleFormula, getParent, getPropertyFormulas, getRightLineStyleFormula, getSuppressIfDuplicatedFormula, getTightHorizontalFormula, getToolTipsText, getToolTipsTextFormula, getTopLineStyleFormula, indexOf, isCanGrow, isDropShadow, isSuppressIfDuplicated, isTightHorizontal, paramString, removeListener, setBottomLineStyle, setBottomLineStyleFormula, setCanGrow, setCanGrowCount, setCanGrowFormula, setCloseBorderOnPageBreakFormula, setDropShadow, setDropShadowFormula, setField, setForeColor, setForeColorFormula, setHorAlign, setHorAlignFormula, setHyperlinkUrl, setHyperlinkUrlFormula, setIndex, setLeftLineStyle, setLeftLineStyleFormula, setRightLineStyle, setRightLineStyleFormula, setSuppressIfDuplicated, setSuppressIfDuplicatedFormula, setTightHorizontal, setTightHorizontalFormula, setToolTipsText, setToolTipsTextFormula, setTopLineStyle, setTopLineStyleFormula
getBackColor, getBackColorFormula, getKeepTogetherFormula, getSuppressFormula, getType, getX, getY, isKeepTogether, isSuppress, setBackColor, setBackColorFormula, setKeepTogether, setKeepTogetherFormula, setSuppress, setSuppressFormula, setX, setY
getBackColor, getBackColorFormula, getCloseBorderOnPageBreakFormula, getDropShadowFormula, isDropShadow, setBackColor, setBackColorFormula, setCloseBorderOnPageBreakFormula, setDropShadow, setDropShadowFormula
getHyperlinkUrl, getHyperlinkUrlFormula, setHyperlinkUrl, setHyperlinkUrlFormula
getForeColor, getSuppressFormula, getX, getY, isSuppress, setForeColor, setSuppress, setSuppressFormula, setX, setY
getBackColor, getBackColorFormula, getBottomLineStyleFormula, getCloseBorderOnPageBreakFormula, getDropShadowFormula, getForeColor, getForeColorFormula, getLeftLineStyleFormula, getRightLineStyleFormula, getTightHorizontalFormula, getTopLineStyleFormula, isDropShadow, isTightHorizontal, setBackColor, setBackColorFormula, setBottomLineStyle, setBottomLineStyleFormula, setCloseBorderOnPageBreakFormula, setDropShadow, setDropShadowFormula, setForeColor, setForeColorFormula, setLeftLineStyle, setLeftLineStyleFormula, setRightLineStyle, setRightLineStyleFormula, setTightHorizontal, setTightHorizontalFormula, setTopLineStyle, setTopLineStyleFormula
getKeepTogetherFormula, getSuppressFormula, isKeepTogether, isSuppress, setKeepTogether, setKeepTogetherFormula, setSuppress, setSuppressFormula
isDOMParser, parseDOM, parseElement, parseEndElement, parseText
public int getCornerEllipseHeight()
getCornerEllipseHeight
in interface BoxProperties
public void setCornerEllipseHeight(int newValue)
setCornerEllipseHeight
in interface BoxProperties
newValue
- The new value of the property 'corner ellipse height'.java.lang.IllegalArgumentException
- if newValue is negativepublic int getCornerEllipseWidth()
getCornerEllipseWidth
in interface BoxProperties
public void setCornerEllipseWidth(int newValue)
setCornerEllipseWidth
in interface BoxProperties
newValue
- The new value of the property 'corner ellipse width'.java.lang.IllegalArgumentException
- if newValue is negativepublic boolean isCloseBorderOnPageBreak()
isCloseBorderOnPageBreak
in interface BorderProperties
isCloseBorderOnPageBreak
in interface BoxProperties
isCloseBorderOnPageBreak
in class Element
public void setCloseBorderOnPageBreak(boolean newValue)
setCloseBorderOnPageBreak
in interface BorderProperties
setCloseBorderOnPageBreak
in interface BoxProperties
setCloseBorderOnPageBreak
in class Element
newValue
- The new value of the property 'close border on page break'.public java.util.List<? extends ReportComponent> getSubComponents()
ReportComponent
s that are descendants of this one. E.G. this will return all Element
of a Section
. But it's as well useful for CrossTab
s or Text
elements which have
additional elements.getSubComponents
in class ReportComponent
null
if the component has no descendantsCopyright © 1999-2020 by i-net software GmbH