Package net.sf.jasperreports.engine.fill
Class CachingLineBox
java.lang.Object
net.sf.jasperreports.engine.fill.CachingLineBox
- All Implemented Interfaces:
JRLineBox,JRPenContainer,JRStyleContainer
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone(JRBoxContainer boxContainer) voidcopyBottomPen(JRBoxPen bottomPen) voidcopyLeftPen(JRBoxPen leftPen) voidvoidcopyRightPen(JRBoxPen rightPen) voidcopyTopPen(JRBoxPen topPen) Gets the pen properties for the bottom border.Gets the pen properties for the left border.Gets the default padding in pixels (can be overwritten by individual settings).getPen()Gets the pen properties for the border.Gets the pen properties for the right border.getStyle()Returns this object's style.Returns the name of an external style which is to be used by this object.Gets the pen properties for the top border.voidvoidsetBottomPadding(Integer padding) voidsetLeftPadding(Integer padding) voidsetPadding(Integer padding) Sets the default padding in pixels (can be overwritten by individual settings).voidsetRightPadding(Integer padding) voidsetTopPadding(Integer padding) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sf.jasperreports.engine.JRStyleContainer
getStyleName
-
Constructor Details
-
CachingLineBox
-
-
Method Details
-
getDefaultStyleProvider
- Specified by:
getDefaultStyleProviderin interfaceJRStyleContainer
-
getDefaultLineWidth
- Specified by:
getDefaultLineWidthin interfaceJRPenContainer
-
getStyle
Description copied from interface:JRStyleContainerReturns this object's style.- Specified by:
getStylein interfaceJRStyleContainer- Returns:
- this object's style
-
getDefaultLineColor
- Specified by:
getDefaultLineColorin interfaceJRPenContainer
-
getStyleNameReference
Description copied from interface:JRStyleContainerReturns the name of an external style which is to be used by this object. External styles are defined intemplatesand are resolved at fill time. This attribute is only effective if no direct style (as returned bygetStyle()is specified for this object.- Specified by:
getStyleNameReferencein interfaceJRStyleContainer- Returns:
- the name of an external style
-
getBoxContainer
- Specified by:
getBoxContainerin interfaceJRLineBox
-
clone
-
populateStyle
public void populateStyle()- Specified by:
populateStylein interfaceJRLineBox
-
getPen
Description copied from interface:JRLineBoxGets the pen properties for the border. -
copyPen
-
getTopPen
Description copied from interface:JRLineBoxGets the pen properties for the top border. -
copyTopPen
- Specified by:
copyTopPenin interfaceJRLineBox
-
getLeftPen
Description copied from interface:JRLineBoxGets the pen properties for the left border.- Specified by:
getLeftPenin interfaceJRLineBox
-
copyLeftPen
- Specified by:
copyLeftPenin interfaceJRLineBox
-
getBottomPen
Description copied from interface:JRLineBoxGets the pen properties for the bottom border.- Specified by:
getBottomPenin interfaceJRLineBox
-
copyBottomPen
- Specified by:
copyBottomPenin interfaceJRLineBox
-
getRightPen
Description copied from interface:JRLineBoxGets the pen properties for the right border.- Specified by:
getRightPenin interfaceJRLineBox
-
copyRightPen
- Specified by:
copyRightPenin interfaceJRLineBox
-
getPadding
Description copied from interface:JRLineBoxGets the default padding in pixels (can be overwritten by individual settings).- Specified by:
getPaddingin interfaceJRLineBox
-
getOwnPadding
- Specified by:
getOwnPaddingin interfaceJRLineBox
-
setPadding
Description copied from interface:JRLineBoxSets the default padding in pixels (can be overwritten by individual settings).- Specified by:
setPaddingin interfaceJRLineBox
-
getTopPadding
- Specified by:
getTopPaddingin interfaceJRLineBox
-
getOwnTopPadding
- Specified by:
getOwnTopPaddingin interfaceJRLineBox
-
setTopPadding
- Specified by:
setTopPaddingin interfaceJRLineBox
-
getLeftPadding
- Specified by:
getLeftPaddingin interfaceJRLineBox
-
getOwnLeftPadding
- Specified by:
getOwnLeftPaddingin interfaceJRLineBox
-
setLeftPadding
- Specified by:
setLeftPaddingin interfaceJRLineBox
-
getBottomPadding
- Specified by:
getBottomPaddingin interfaceJRLineBox
-
getOwnBottomPadding
- Specified by:
getOwnBottomPaddingin interfaceJRLineBox
-
setBottomPadding
- Specified by:
setBottomPaddingin interfaceJRLineBox
-
getRightPadding
- Specified by:
getRightPaddingin interfaceJRLineBox
-
getOwnRightPadding
- Specified by:
getOwnRightPaddingin interfaceJRLineBox
-
setRightPadding
- Specified by:
setRightPaddingin interfaceJRLineBox
-