public class JRBaseLineBox extends java.lang.Object implements JRLineBox, JRPenContainer, java.io.Serializable, java.lang.Cloneable, JRChangeEventsSupport
Modifier and Type | Field and Description |
---|---|
protected java.lang.Integer |
bottomPadding |
protected JRBoxPen |
bottomPen |
protected JRBoxContainer |
boxContainer |
protected java.lang.Integer |
leftPadding |
protected JRBoxPen |
leftPen |
protected java.lang.Integer |
padding |
protected JRBoxPen |
pen |
static java.lang.String |
PROPERTY_BOTTOM_PADDING |
static java.lang.String |
PROPERTY_LEFT_PADDING |
static java.lang.String |
PROPERTY_PADDING |
static java.lang.String |
PROPERTY_RIGHT_PADDING |
static java.lang.String |
PROPERTY_TOP_PADDING |
protected java.lang.Integer |
rightPadding |
protected JRBoxPen |
rightPen |
protected java.lang.Integer |
topPadding |
protected JRBoxPen |
topPen |
Constructor and Description |
---|
JRBaseLineBox(JRBoxContainer boxContainer) |
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) |
java.lang.Integer |
getBottomPadding() |
JRBoxPen |
getBottomPen()
Gets the pen properties for the bottom border.
|
JRBoxContainer |
getBoxContainer() |
java.awt.Color |
getDefaultLineColor() |
java.lang.Float |
getDefaultLineWidth() |
JRDefaultStyleProvider |
getDefaultStyleProvider() |
JRPropertyChangeSupport |
getEventSupport()
Returns the property change support object for this instance.
|
java.lang.Integer |
getLeftPadding() |
JRBoxPen |
getLeftPen()
Gets the pen properties for the left border.
|
java.lang.Integer |
getOwnBottomPadding() |
java.lang.Integer |
getOwnLeftPadding() |
java.lang.Integer |
getOwnPadding() |
java.lang.Integer |
getOwnRightPadding() |
java.lang.Integer |
getOwnTopPadding() |
java.lang.Integer |
getPadding()
Gets the default padding in pixels (can be overwritten by individual settings).
|
JRBoxPen |
getPen()
Gets the pen properties for the border.
|
java.lang.Integer |
getRightPadding() |
JRBoxPen |
getRightPen()
Gets the pen properties for the right border.
|
JRStyle |
getStyle()
Returns this object's style.
|
java.lang.String |
getStyleNameReference()
Returns the name of an external style which is to be used by this object.
|
java.lang.Integer |
getTopPadding() |
JRBoxPen |
getTopPen()
Gets the pen properties for the top border.
|
void |
setBottomPadding(int bottomPadding) |
void |
setBottomPadding(java.lang.Integer bottomPadding) |
void |
setLeftPadding(int leftPadding) |
void |
setLeftPadding(java.lang.Integer leftPadding) |
void |
setPadding(int padding)
Sets the default padding in pixels (can be overwritten by individual settings).
|
void |
setPadding(java.lang.Integer padding) |
void |
setRightPadding(int rightPadding) |
void |
setRightPadding(java.lang.Integer rightPadding) |
void |
setTopPadding(int topPadding) |
void |
setTopPadding(java.lang.Integer topPadding) |
public static final java.lang.String PROPERTY_PADDING
public static final java.lang.String PROPERTY_TOP_PADDING
public static final java.lang.String PROPERTY_LEFT_PADDING
public static final java.lang.String PROPERTY_BOTTOM_PADDING
public static final java.lang.String PROPERTY_RIGHT_PADDING
protected JRBoxContainer boxContainer
protected JRBoxPen pen
protected JRBoxPen topPen
protected JRBoxPen leftPen
protected JRBoxPen bottomPen
protected JRBoxPen rightPen
protected java.lang.Integer padding
protected java.lang.Integer topPadding
protected java.lang.Integer leftPadding
protected java.lang.Integer bottomPadding
protected java.lang.Integer rightPadding
public JRBaseLineBox(JRBoxContainer boxContainer)
public JRDefaultStyleProvider getDefaultStyleProvider()
getDefaultStyleProvider
in interface JRStyleContainer
public JRStyle getStyle()
JRStyleContainer
getStyle
in interface JRStyleContainer
public java.lang.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 java.lang.Float getDefaultLineWidth()
getDefaultLineWidth
in interface JRPenContainer
public java.awt.Color getDefaultLineColor()
getDefaultLineColor
in interface JRPenContainer
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 java.lang.Integer getPadding()
JRLineBox
getPadding
in interface JRLineBox
public java.lang.Integer getOwnPadding()
getOwnPadding
in interface JRLineBox
public void setPadding(int padding)
JRLineBox
setPadding
in interface JRLineBox
public void setPadding(java.lang.Integer padding)
setPadding
in interface JRLineBox
public java.lang.Integer getTopPadding()
getTopPadding
in interface JRLineBox
public java.lang.Integer getOwnTopPadding()
getOwnTopPadding
in interface JRLineBox
public void setTopPadding(int topPadding)
setTopPadding
in interface JRLineBox
public void setTopPadding(java.lang.Integer topPadding)
setTopPadding
in interface JRLineBox
public java.lang.Integer getLeftPadding()
getLeftPadding
in interface JRLineBox
public java.lang.Integer getOwnLeftPadding()
getOwnLeftPadding
in interface JRLineBox
public void setLeftPadding(int leftPadding)
setLeftPadding
in interface JRLineBox
public void setLeftPadding(java.lang.Integer leftPadding)
setLeftPadding
in interface JRLineBox
public java.lang.Integer getBottomPadding()
getBottomPadding
in interface JRLineBox
public java.lang.Integer getOwnBottomPadding()
getOwnBottomPadding
in interface JRLineBox
public void setBottomPadding(int bottomPadding)
setBottomPadding
in interface JRLineBox
public void setBottomPadding(java.lang.Integer bottomPadding)
setBottomPadding
in interface JRLineBox
public java.lang.Integer getRightPadding()
getRightPadding
in interface JRLineBox
public java.lang.Integer getOwnRightPadding()
getOwnRightPadding
in interface JRLineBox
public void setRightPadding(int rightPadding)
setRightPadding
in interface JRLineBox
public void setRightPadding(java.lang.Integer rightPadding)
setRightPadding
in interface JRLineBox
public JRLineBox clone(JRBoxContainer boxContainer)
public JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupport
getEventSupport
in interface JRChangeEventsSupport
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com