public class CachingLineBox extends Object implements JRLineBox
Constructor and Description |
---|
CachingLineBox(JRLineBox base) |
Modifier and Type | Method and Description |
---|---|
JRLineBox |
clone(JRBoxContainer boxContainer) |
void |
copyBottomPen(JRBoxPen bottomPen) |
void |
copyLeftPen(JRBoxPen leftPen) |
void |
copyPen(JRBoxPen pen) |
void |
copyRightPen(JRBoxPen rightPen) |
void |
copyTopPen(JRBoxPen topPen) |
Integer |
getBottomPadding() |
JRBoxPen |
getBottomPen()
Gets the pen properties for the bottom border.
|
JRBoxContainer |
getBoxContainer() |
Color |
getDefaultLineColor() |
Float |
getDefaultLineWidth() |
JRDefaultStyleProvider |
getDefaultStyleProvider() |
Integer |
getLeftPadding() |
JRBoxPen |
getLeftPen()
Gets the pen properties for the left border.
|
Integer |
getOwnBottomPadding() |
Integer |
getOwnLeftPadding() |
Integer |
getOwnPadding() |
Integer |
getOwnRightPadding() |
Integer |
getOwnTopPadding() |
Integer |
getPadding()
Gets the default padding in pixels (can be overwritten by individual settings).
|
JRBoxPen |
getPen()
Gets the pen properties for the border.
|
Integer |
getRightPadding() |
JRBoxPen |
getRightPen()
Gets the pen properties for the right border.
|
JRStyle |
getStyle()
Returns this object's style.
|
String |
getStyleNameReference()
Returns the name of an external style which is to be used by this object.
|
Integer |
getTopPadding() |
JRBoxPen |
getTopPen()
Gets the pen properties for the top border.
|
void |
setBottomPadding(int padding) |
void |
setBottomPadding(Integer padding) |
void |
setLeftPadding(int padding) |
void |
setLeftPadding(Integer padding) |
void |
setPadding(int padding)
Sets the default padding in pixels (can be overwritten by individual settings).
|
void |
setPadding(Integer padding) |
void |
setRightPadding(int padding) |
void |
setRightPadding(Integer padding) |
void |
setTopPadding(int padding) |
void |
setTopPadding(Integer padding) |
public CachingLineBox(JRLineBox base)
public JRDefaultStyleProvider getDefaultStyleProvider()
getDefaultStyleProvider
in interface JRStyleContainer
public Float getDefaultLineWidth()
getDefaultLineWidth
in interface JRPenContainer
public JRStyle getStyle()
JRStyleContainer
getStyle
in interface JRStyleContainer
public Color getDefaultLineColor()
getDefaultLineColor
in interface JRPenContainer
public String getStyleNameReference()
JRStyleContainer
templates
and are resolved
at fill time.
This attribute is only effective if no direct style (as returned by getStyle()
is specified for this object.getStyleNameReference
in interface JRStyleContainer
public JRBoxContainer getBoxContainer()
getBoxContainer
in interface JRLineBox
public JRLineBox clone(JRBoxContainer boxContainer)
public JRBoxPen getPen()
JRLineBox
public JRBoxPen getTopPen()
JRLineBox
public void copyTopPen(JRBoxPen topPen)
copyTopPen
in interface JRLineBox
public JRBoxPen getLeftPen()
JRLineBox
getLeftPen
in interface JRLineBox
public void copyLeftPen(JRBoxPen leftPen)
copyLeftPen
in interface JRLineBox
public JRBoxPen getBottomPen()
JRLineBox
getBottomPen
in interface JRLineBox
public void copyBottomPen(JRBoxPen bottomPen)
copyBottomPen
in interface JRLineBox
public JRBoxPen getRightPen()
JRLineBox
getRightPen
in interface JRLineBox
public void copyRightPen(JRBoxPen rightPen)
copyRightPen
in interface JRLineBox
public Integer getPadding()
JRLineBox
getPadding
in interface JRLineBox
public Integer getOwnPadding()
getOwnPadding
in interface JRLineBox
public void setPadding(int padding)
JRLineBox
setPadding
in interface JRLineBox
public void setPadding(Integer padding)
setPadding
in interface JRLineBox
public Integer getTopPadding()
getTopPadding
in interface JRLineBox
public Integer getOwnTopPadding()
getOwnTopPadding
in interface JRLineBox
public void setTopPadding(int padding)
setTopPadding
in interface JRLineBox
public void setTopPadding(Integer padding)
setTopPadding
in interface JRLineBox
public Integer getLeftPadding()
getLeftPadding
in interface JRLineBox
public Integer getOwnLeftPadding()
getOwnLeftPadding
in interface JRLineBox
public void setLeftPadding(int padding)
setLeftPadding
in interface JRLineBox
public void setLeftPadding(Integer padding)
setLeftPadding
in interface JRLineBox
public Integer getBottomPadding()
getBottomPadding
in interface JRLineBox
public Integer getOwnBottomPadding()
getOwnBottomPadding
in interface JRLineBox
public void setBottomPadding(int padding)
setBottomPadding
in interface JRLineBox
public void setBottomPadding(Integer padding)
setBottomPadding
in interface JRLineBox
public Integer getRightPadding()
getRightPadding
in interface JRLineBox
public Integer getOwnRightPadding()
getOwnRightPadding
in interface JRLineBox
public void setRightPadding(int padding)
setRightPadding
in interface JRLineBox
public void setRightPadding(Integer padding)
setRightPadding
in interface JRLineBox
Copyright © 2016. All rights reserved.