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, TEXTPARTLINE_STYLE_DASHED, LINE_STYLE_DOTTED, LINE_STYLE_DOUBLE, LINE_STYLE_SINGLE, NO_LINEALIGN_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
ReportComponents 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, spansMultipleSectionsaddListener, 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, setTopLineStyleFormulagetBackColor, getBackColorFormula, getKeepTogetherFormula, getSuppressFormula, getType, getX, getY, isKeepTogether, isSuppress, setBackColor, setBackColorFormula, setKeepTogether, setKeepTogetherFormula, setSuppress, setSuppressFormula, setX, setYgetBackColor, getBackColorFormula, getCloseBorderOnPageBreakFormula, getDropShadowFormula, isDropShadow, setBackColor, setBackColorFormula, setCloseBorderOnPageBreakFormula, setDropShadow, setDropShadowFormulagetHyperlinkUrl, getHyperlinkUrlFormula, setHyperlinkUrl, setHyperlinkUrlFormulagetForeColor, getSuppressFormula, getX, getY, isSuppress, setForeColor, setSuppress, setSuppressFormula, setX, setYgetBackColor, 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, setTopLineStyleFormulagetKeepTogetherFormula, getSuppressFormula, isKeepTogether, isSuppress, setKeepTogether, setKeepTogetherFormula, setSuppress, setSuppressFormulaisDOMParser, parseDOM, parseElement, parseEndElement, parseTextpublic int getCornerEllipseHeight()
getCornerEllipseHeight in interface BoxPropertiespublic void setCornerEllipseHeight(int newValue)
setCornerEllipseHeight in interface BoxPropertiesnewValue - The new value of the property 'corner ellipse height'.java.lang.IllegalArgumentException - if newValue is negativepublic int getCornerEllipseWidth()
getCornerEllipseWidth in interface BoxPropertiespublic void setCornerEllipseWidth(int newValue)
setCornerEllipseWidth in interface BoxPropertiesnewValue - The new value of the property 'corner ellipse width'.java.lang.IllegalArgumentException - if newValue is negativepublic boolean isCloseBorderOnPageBreak()
isCloseBorderOnPageBreak in interface BorderPropertiesisCloseBorderOnPageBreak in interface BoxPropertiesisCloseBorderOnPageBreak in class Elementpublic void setCloseBorderOnPageBreak(boolean newValue)
setCloseBorderOnPageBreak in interface BorderPropertiessetCloseBorderOnPageBreak in interface BoxPropertiessetCloseBorderOnPageBreak in class ElementnewValue - The new value of the property 'close border on page break'.public java.util.List<? extends ReportComponent> getSubComponents()
ReportComponents that are descendants of this one. E.G. this will return all Element
of a Section. But it's as well useful for CrossTabs or Text elements which have
additional elements.getSubComponents in class ReportComponentnull if the component has no descendantsCopyright © 1999-2020 by i-net software GmbH