public class JRBaseLineBox extends Object implements JRLineBox, Serializable, Cloneable, JRChangeEventsSupport, Deduplicable
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
bottomPadding |
protected JRBoxPen |
bottomPen |
protected JRBoxContainer |
boxContainer |
protected Integer |
leftPadding |
protected JRBoxPen |
leftPen |
protected Integer |
padding |
protected JRBoxPen |
pen |
static String |
PROPERTY_BOTTOM_PADDING |
static String |
PROPERTY_LEFT_PADDING |
static String |
PROPERTY_PADDING |
static String |
PROPERTY_RIGHT_PADDING |
static String |
PROPERTY_TOP_PADDING |
protected Integer |
rightPadding |
protected JRBoxPen |
rightPen |
protected 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) |
Integer |
getBottomPadding() |
JRBoxPen |
getBottomPen()
Gets the pen properties for the bottom border.
|
JRBoxContainer |
getBoxContainer() |
Color |
getDefaultLineColor() |
Float |
getDefaultLineWidth() |
JRDefaultStyleProvider |
getDefaultStyleProvider() |
JRPropertyChangeSupport |
getEventSupport()
Returns the property change support object for this instance.
|
int |
getHashCode()
Returns a hash code to be used for the deduplicate map.
|
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.
|
protected StyleResolver |
getStyleResolver() |
Integer |
getTopPadding() |
JRBoxPen |
getTopPen()
Gets the pen properties for the top border.
|
boolean |
isIdentical(Object object)
Determines if this instance is identical to another object.
|
void |
setBottomPadding(int bottomPadding) |
void |
setBottomPadding(Integer bottomPadding) |
void |
setLeftPadding(int leftPadding) |
void |
setLeftPadding(Integer leftPadding) |
void |
setPadding(int padding)
Sets the default padding in pixels (can be overwritten by individual settings).
|
void |
setPadding(Integer padding) |
void |
setRightPadding(int rightPadding) |
void |
setRightPadding(Integer rightPadding) |
void |
setTopPadding(int topPadding) |
void |
setTopPadding(Integer topPadding) |
public static final String PROPERTY_PADDING
public static final String PROPERTY_TOP_PADDING
public static final String PROPERTY_LEFT_PADDING
public static final String PROPERTY_BOTTOM_PADDING
public static final String PROPERTY_RIGHT_PADDING
protected JRBoxContainer boxContainer
protected JRBoxPen pen
protected JRBoxPen topPen
protected JRBoxPen leftPen
protected JRBoxPen bottomPen
protected JRBoxPen rightPen
protected Integer padding
protected Integer topPadding
protected Integer leftPadding
protected Integer bottomPadding
protected Integer rightPadding
public JRBaseLineBox(JRBoxContainer boxContainer)
public JRDefaultStyleProvider getDefaultStyleProvider()
getDefaultStyleProvider in interface JRStyleContainerprotected StyleResolver getStyleResolver()
public JRStyle getStyle()
JRStyleContainergetStyle in interface JRStyleContainerpublic String getStyleNameReference()
JRStyleContainertemplates 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 JRStyleContainerpublic JRBoxContainer getBoxContainer()
getBoxContainer in interface JRLineBoxpublic Float getDefaultLineWidth()
getDefaultLineWidth in interface JRPenContainerpublic Color getDefaultLineColor()
getDefaultLineColor in interface JRPenContainerpublic JRBoxPen getPen()
JRLineBoxpublic JRBoxPen getTopPen()
JRLineBoxpublic void copyTopPen(JRBoxPen topPen)
copyTopPen in interface JRLineBoxpublic JRBoxPen getLeftPen()
JRLineBoxgetLeftPen in interface JRLineBoxpublic void copyLeftPen(JRBoxPen leftPen)
copyLeftPen in interface JRLineBoxpublic JRBoxPen getBottomPen()
JRLineBoxgetBottomPen in interface JRLineBoxpublic void copyBottomPen(JRBoxPen bottomPen)
copyBottomPen in interface JRLineBoxpublic JRBoxPen getRightPen()
JRLineBoxgetRightPen in interface JRLineBoxpublic void copyRightPen(JRBoxPen rightPen)
copyRightPen in interface JRLineBoxpublic Integer getPadding()
JRLineBoxgetPadding in interface JRLineBoxpublic Integer getOwnPadding()
getOwnPadding in interface JRLineBoxpublic void setPadding(int padding)
JRLineBoxsetPadding in interface JRLineBoxpublic void setPadding(Integer padding)
setPadding in interface JRLineBoxpublic Integer getTopPadding()
getTopPadding in interface JRLineBoxpublic Integer getOwnTopPadding()
getOwnTopPadding in interface JRLineBoxpublic void setTopPadding(int topPadding)
setTopPadding in interface JRLineBoxpublic void setTopPadding(Integer topPadding)
setTopPadding in interface JRLineBoxpublic Integer getLeftPadding()
getLeftPadding in interface JRLineBoxpublic Integer getOwnLeftPadding()
getOwnLeftPadding in interface JRLineBoxpublic void setLeftPadding(int leftPadding)
setLeftPadding in interface JRLineBoxpublic void setLeftPadding(Integer leftPadding)
setLeftPadding in interface JRLineBoxpublic Integer getBottomPadding()
getBottomPadding in interface JRLineBoxpublic Integer getOwnBottomPadding()
getOwnBottomPadding in interface JRLineBoxpublic void setBottomPadding(int bottomPadding)
setBottomPadding in interface JRLineBoxpublic void setBottomPadding(Integer bottomPadding)
setBottomPadding in interface JRLineBoxpublic Integer getRightPadding()
getRightPadding in interface JRLineBoxpublic Integer getOwnRightPadding()
getOwnRightPadding in interface JRLineBoxpublic void setRightPadding(int rightPadding)
setRightPadding in interface JRLineBoxpublic void setRightPadding(Integer rightPadding)
setRightPadding in interface JRLineBoxpublic JRLineBox clone(JRBoxContainer boxContainer)
public JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupportgetEventSupport in interface JRChangeEventsSupportpublic int getHashCode()
DeduplicableDeduplicable.isIdentical(Object),
i.e. if two objects are identical they should have the same hash code.getHashCode in interface Deduplicablepublic boolean isIdentical(Object object)
DeduplicableisIdentical in interface Deduplicableobject - the object to compare with this instancetrue if the two objects are identical and can be deduplicatedCopyright © 2017. All rights reserved.