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) void
copyBottomPen
(JRBoxPen bottomPen) void
copyLeftPen
(JRBoxPen leftPen) void
void
copyRightPen
(JRBoxPen rightPen) void
copyTopPen
(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.void
void
setBottomPadding
(Integer padding) void
setLeftPadding
(Integer padding) void
setPadding
(Integer padding) Sets the default padding in pixels (can be overwritten by individual settings).void
setRightPadding
(Integer padding) void
setTopPadding
(Integer padding) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer
getStyleName
-
Constructor Details
-
CachingLineBox
-
-
Method Details
-
getDefaultStyleProvider
- Specified by:
getDefaultStyleProvider
in interfaceJRStyleContainer
-
getDefaultLineWidth
- Specified by:
getDefaultLineWidth
in interfaceJRPenContainer
-
getStyle
Description copied from interface:JRStyleContainer
Returns this object's style.- Specified by:
getStyle
in interfaceJRStyleContainer
- Returns:
- this object's style
-
getDefaultLineColor
- Specified by:
getDefaultLineColor
in interfaceJRPenContainer
-
getStyleNameReference
Description copied from interface:JRStyleContainer
Returns the name of an external style which is to be used by this object. External styles are defined intemplates
and are resolved at fill time. This attribute is only effective if no direct style (as returned bygetStyle()
is specified for this object.- Specified by:
getStyleNameReference
in interfaceJRStyleContainer
- Returns:
- the name of an external style
-
getBoxContainer
- Specified by:
getBoxContainer
in interfaceJRLineBox
-
clone
-
populateStyle
public void populateStyle()- Specified by:
populateStyle
in interfaceJRLineBox
-
getPen
Description copied from interface:JRLineBox
Gets the pen properties for the border. -
copyPen
-
getTopPen
Description copied from interface:JRLineBox
Gets the pen properties for the top border. -
copyTopPen
- Specified by:
copyTopPen
in interfaceJRLineBox
-
getLeftPen
Description copied from interface:JRLineBox
Gets the pen properties for the left border.- Specified by:
getLeftPen
in interfaceJRLineBox
-
copyLeftPen
- Specified by:
copyLeftPen
in interfaceJRLineBox
-
getBottomPen
Description copied from interface:JRLineBox
Gets the pen properties for the bottom border.- Specified by:
getBottomPen
in interfaceJRLineBox
-
copyBottomPen
- Specified by:
copyBottomPen
in interfaceJRLineBox
-
getRightPen
Description copied from interface:JRLineBox
Gets the pen properties for the right border.- Specified by:
getRightPen
in interfaceJRLineBox
-
copyRightPen
- Specified by:
copyRightPen
in interfaceJRLineBox
-
getPadding
Description copied from interface:JRLineBox
Gets the default padding in pixels (can be overwritten by individual settings).- Specified by:
getPadding
in interfaceJRLineBox
-
getOwnPadding
- Specified by:
getOwnPadding
in interfaceJRLineBox
-
setPadding
Description copied from interface:JRLineBox
Sets the default padding in pixels (can be overwritten by individual settings).- Specified by:
setPadding
in interfaceJRLineBox
-
getTopPadding
- Specified by:
getTopPadding
in interfaceJRLineBox
-
getOwnTopPadding
- Specified by:
getOwnTopPadding
in interfaceJRLineBox
-
setTopPadding
- Specified by:
setTopPadding
in interfaceJRLineBox
-
getLeftPadding
- Specified by:
getLeftPadding
in interfaceJRLineBox
-
getOwnLeftPadding
- Specified by:
getOwnLeftPadding
in interfaceJRLineBox
-
setLeftPadding
- Specified by:
setLeftPadding
in interfaceJRLineBox
-
getBottomPadding
- Specified by:
getBottomPadding
in interfaceJRLineBox
-
getOwnBottomPadding
- Specified by:
getOwnBottomPadding
in interfaceJRLineBox
-
setBottomPadding
- Specified by:
setBottomPadding
in interfaceJRLineBox
-
getRightPadding
- Specified by:
getRightPadding
in interfaceJRLineBox
-
getOwnRightPadding
- Specified by:
getOwnRightPadding
in interfaceJRLineBox
-
setRightPadding
- Specified by:
setRightPadding
in interfaceJRLineBox
-