|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.base.JRBaseParagraph
public class JRBaseParagraph
| Field Summary | |
|---|---|
protected java.lang.Integer |
firstLineIndent
|
protected java.lang.Integer |
leftIndent
|
protected LineSpacingEnum |
lineSpacing
|
protected java.lang.Float |
lineSpacingSize
|
protected JRParagraphContainer |
paragraphContainer
|
static java.lang.String |
PROPERTY_FIRST_LINE_INDENT
|
static java.lang.String |
PROPERTY_LEFT_INDENT
|
static java.lang.String |
PROPERTY_LINE_SPACING
|
static java.lang.String |
PROPERTY_LINE_SPACING_SIZE
|
static java.lang.String |
PROPERTY_RIGHT_INDENT
|
static java.lang.String |
PROPERTY_SPACING_AFTER
|
static java.lang.String |
PROPERTY_SPACING_BEFORE
|
static java.lang.String |
PROPERTY_TAB_STOP_WIDTH
|
static java.lang.String |
PROPERTY_TAB_STOPS
|
protected java.lang.Integer |
rightIndent
|
protected java.lang.Integer |
spacingAfter
|
protected java.lang.Integer |
spacingBefore
|
protected java.util.List<TabStop> |
tabStops
|
protected java.lang.Integer |
tabStopWidth
|
| Fields inherited from interface net.sf.jasperreports.engine.JRParagraph |
|---|
DEFAULT_FIRST_LINE_INDENT, DEFAULT_LEFT_INDENT, DEFAULT_LINE_SPACING_SIZE, DEFAULT_RIGHT_INDENT, DEFAULT_SPACING_AFTER, DEFAULT_SPACING_BEFORE, DEFAULT_TAB_STOP_WIDTH |
| Constructor Summary | |
|---|---|
JRBaseParagraph(JRParagraphContainer paragraphContainer)
|
|
| Method Summary | |
|---|---|
void |
addTabStop(int index,
TabStop tabStop)
|
void |
addTabStop(TabStop tabStop)
|
JRParagraph |
clone(JRParagraphContainer paragraphContainer)
|
JRDefaultStyleProvider |
getDefaultStyleProvider()
|
JRPropertyChangeSupport |
getEventSupport()
Returns the property change support object for this instance. |
java.lang.Integer |
getFirstLineIndent()
Gets the text first line indent. |
int |
getHashCode()
Returns a hash code to be used for the deduplicate map. |
java.lang.Integer |
getLeftIndent()
Gets the text left indent. |
LineSpacingEnum |
getLineSpacing()
Gets the text line spacing. |
java.lang.Float |
getLineSpacingSize()
Gets the text line spacing size to be used in combination with the line spacing type. |
java.lang.Integer |
getOwnFirstLineIndent()
Gets the text own first line indent. |
java.lang.Integer |
getOwnLeftIndent()
Gets the text own left indent. |
LineSpacingEnum |
getOwnLineSpacing()
Gets the text own line spacing. |
java.lang.Float |
getOwnLineSpacingSize()
Gets the text own line spacing size to be used in combination with the line spacing type. |
java.lang.Integer |
getOwnRightIndent()
Gets the text own right indent. |
java.lang.Integer |
getOwnSpacingAfter()
Gets the text own spacing after. |
java.lang.Integer |
getOwnSpacingBefore()
Gets the text own spacing before. |
TabStop[] |
getOwnTabStops()
Gets the custom tab stops. |
java.lang.Integer |
getOwnTabStopWidth()
Gets the text own tab stop width. |
JRParagraphContainer |
getParagraphContainer()
|
java.lang.Integer |
getRightIndent()
Gets the text right indent. |
java.lang.Integer |
getSpacingAfter()
Gets the text spacing after. |
java.lang.Integer |
getSpacingBefore()
Gets the text spacing before. |
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. |
TabStop[] |
getTabStops()
Gets the custom tab stops. |
java.lang.Integer |
getTabStopWidth()
Gets the text tab stop width. |
boolean |
isIdentical(java.lang.Object object)
Determines if this instance is identical to another object. |
void |
removeTabStop(int index)
|
void |
removeTabStop(TabStop tabStop)
|
void |
setFirstLineIndent(java.lang.Integer firstLineIndent)
Sets the text own first line indent. |
void |
setLeftIndent(java.lang.Integer leftIndent)
Sets the text own left indent. |
void |
setLineSpacing(LineSpacingEnum lineSpacing)
Sets the text line spacing. |
void |
setLineSpacingSize(java.lang.Float lineSpacingSize)
Sets the text line spacing size to be used in combination with the line spacing type. |
void |
setRightIndent(java.lang.Integer rightIndent)
Sets the text own right indent. |
void |
setSpacingAfter(java.lang.Integer spacingAfter)
Sets the text own spacing after. |
void |
setSpacingBefore(java.lang.Integer spacingBefore)
Sets the text own spacing before. |
void |
setTabStopWidth(java.lang.Integer tabStopWidth)
Sets the text own tab stop width. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROPERTY_LINE_SPACING
public static final java.lang.String PROPERTY_LINE_SPACING_SIZE
public static final java.lang.String PROPERTY_FIRST_LINE_INDENT
public static final java.lang.String PROPERTY_LEFT_INDENT
public static final java.lang.String PROPERTY_RIGHT_INDENT
public static final java.lang.String PROPERTY_SPACING_BEFORE
public static final java.lang.String PROPERTY_SPACING_AFTER
public static final java.lang.String PROPERTY_TAB_STOP_WIDTH
public static final java.lang.String PROPERTY_TAB_STOPS
protected JRParagraphContainer paragraphContainer
protected LineSpacingEnum lineSpacing
protected java.lang.Float lineSpacingSize
protected java.lang.Integer firstLineIndent
protected java.lang.Integer leftIndent
protected java.lang.Integer rightIndent
protected java.lang.Integer spacingBefore
protected java.lang.Integer spacingAfter
protected java.lang.Integer tabStopWidth
protected java.util.List<TabStop> tabStops
| Constructor Detail |
|---|
public JRBaseParagraph(JRParagraphContainer paragraphContainer)
| Method Detail |
|---|
public JRDefaultStyleProvider getDefaultStyleProvider()
getDefaultStyleProvider in interface JRStyleContainerpublic JRStyle getStyle()
JRStyleContainer
getStyle in interface JRStyleContainerpublic java.lang.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 JRParagraphContainer getParagraphContainer()
public LineSpacingEnum getLineSpacing()
JRParagraph
getLineSpacing in interface JRParagraphLineSpacingEnumpublic LineSpacingEnum getOwnLineSpacing()
JRParagraph
getOwnLineSpacing in interface JRParagraphLineSpacingEnumpublic void setLineSpacing(LineSpacingEnum lineSpacing)
JRParagraph
setLineSpacing in interface JRParagraphlineSpacing - a value representing one of the line spacing constants in LineSpacingEnumpublic java.lang.Float getLineSpacingSize()
JRParagraph
getLineSpacingSize in interface JRParagraphpublic java.lang.Float getOwnLineSpacingSize()
JRParagraph
getOwnLineSpacingSize in interface JRParagraphpublic void setLineSpacingSize(java.lang.Float lineSpacingSize)
JRParagraph
setLineSpacingSize in interface JRParagraphpublic java.lang.Integer getFirstLineIndent()
JRParagraph
getFirstLineIndent in interface JRParagraphpublic java.lang.Integer getOwnFirstLineIndent()
JRParagraph
getOwnFirstLineIndent in interface JRParagraphpublic void setFirstLineIndent(java.lang.Integer firstLineIndent)
JRParagraph
setFirstLineIndent in interface JRParagraphpublic java.lang.Integer getLeftIndent()
JRParagraph
getLeftIndent in interface JRParagraphpublic java.lang.Integer getOwnLeftIndent()
JRParagraph
getOwnLeftIndent in interface JRParagraphpublic void setLeftIndent(java.lang.Integer leftIndent)
JRParagraph
setLeftIndent in interface JRParagraphpublic java.lang.Integer getRightIndent()
JRParagraph
getRightIndent in interface JRParagraphpublic java.lang.Integer getOwnRightIndent()
JRParagraph
getOwnRightIndent in interface JRParagraphpublic void setRightIndent(java.lang.Integer rightIndent)
JRParagraph
setRightIndent in interface JRParagraphpublic java.lang.Integer getSpacingBefore()
JRParagraph
getSpacingBefore in interface JRParagraphpublic java.lang.Integer getOwnSpacingBefore()
JRParagraph
getOwnSpacingBefore in interface JRParagraphpublic void setSpacingBefore(java.lang.Integer spacingBefore)
JRParagraph
setSpacingBefore in interface JRParagraphpublic java.lang.Integer getSpacingAfter()
JRParagraph
getSpacingAfter in interface JRParagraphpublic java.lang.Integer getOwnSpacingAfter()
JRParagraph
getOwnSpacingAfter in interface JRParagraphpublic void setSpacingAfter(java.lang.Integer spacingAfter)
JRParagraph
setSpacingAfter in interface JRParagraphpublic java.lang.Integer getTabStopWidth()
JRParagraph
getTabStopWidth in interface JRParagraphpublic java.lang.Integer getOwnTabStopWidth()
JRParagraph
getOwnTabStopWidth in interface JRParagraphpublic void setTabStopWidth(java.lang.Integer tabStopWidth)
JRParagraph
setTabStopWidth in interface JRParagraphpublic TabStop[] getTabStops()
JRParagraph
getTabStops in interface JRParagraphpublic TabStop[] getOwnTabStops()
JRParagraph
getOwnTabStops in interface JRParagraphpublic void addTabStop(TabStop tabStop)
addTabStop in interface JRParagraph
public void addTabStop(int index,
TabStop tabStop)
addTabStop in interface JRParagraphpublic void removeTabStop(TabStop tabStop)
removeTabStop in interface JRParagraphpublic void removeTabStop(int index)
removeTabStop in interface JRParagraphpublic JRParagraph clone(JRParagraphContainer paragraphContainer)
clone in interface JRParagraphpublic JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupport
getEventSupport 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(java.lang.Object object)
Deduplicable
isIdentical in interface Deduplicableobject - the object to compare with this instance
true if the two objects are identical and can be deduplicated
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||