Package net.sf.jasperreports.engine.fill
Class CachingParagraph
java.lang.Object
net.sf.jasperreports.engine.fill.CachingParagraph
- All Implemented Interfaces:
JRParagraph,JRStyleContainer
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Field Summary
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTabStop(int index, TabStop tabStop) voidaddTabStop(TabStop tabStop) clone(JRParagraphContainer paragraphContainer) Deprecated.Gets the text first line indent.Gets the text left indent.Gets the text line spacing.Gets the text line spacing size to be used in combination with the line spacing type.Gets the text own first line indent.Gets the text own left indent.Gets the text own line spacing.Gets the text own line spacing size to be used in combination with the line spacing type.Gets the text own right indent.Gets the text own spacing after.Gets the text own spacing before.TabStop[]Gets the custom tab stops.Gets the text own tab stop width.Gets the text line spacing.Gets the text right indent.Gets the text spacing after.Gets the text spacing before.getStyle()Deprecated.Replaced bygetParagraphContainer().Deprecated.Replaced bygetParagraphContainer().TabStop[]Gets the custom tab stops.Gets the text tab stop width.voidvoidremoveTabStop(int index) voidremoveTabStop(TabStop tabStop) voidsetFirstLineIndent(Integer firstLineIndent) Sets the text own first line indent.voidsetLeftIndent(Integer leftIndent) Sets the text own left indent.voidsetLineSpacing(LineSpacingEnum lineSpacing) Sets the text line spacing.voidsetLineSpacingSize(Float lineSpacingSize) Sets the text line spacing size to be used in combination with the line spacing type.voidsetRightIndent(Integer rightIndent) Sets the text own right indent.voidsetSpacingAfter(Integer spacingAfter) Sets the text own spacing after.voidsetSpacingBefore(Integer spacingBefore) Sets the text own spacing before.voidsetTabStopWidth(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, waitMethods inherited from interface net.sf.jasperreports.engine.JRStyleContainer
getStyleName
-
Constructor Details
-
CachingParagraph
-
-
Method Details
-
getDefaultStyleProvider
Deprecated.Replaced bygetParagraphContainer().- Specified by:
getDefaultStyleProviderin interfaceJRStyleContainer
-
getStyle
Deprecated.Replaced bygetParagraphContainer().Description copied from interface:JRStyleContainerReturns this object's style.- Specified by:
getStylein interfaceJRStyleContainer- Returns:
- this object's style
-
getStyleNameReference
Deprecated.Replaced bygetParagraphContainer().Description copied from interface:JRStyleContainerReturns the name of an external style which is to be used by this object. External styles are defined intemplatesand are resolved at fill time. This attribute is only effective if no direct style (as returned bygetStyle()is specified for this object.- Specified by:
getStyleNameReferencein interfaceJRStyleContainer- Returns:
- the name of an external style
-
getParagraphContainer
Description copied from interface:JRParagraphGets the text line spacing.- Specified by:
getParagraphContainerin interfaceJRParagraph- Returns:
- a value representing one of the line spacing constants in
LineSpacingEnum
-
clone
- Specified by:
clonein interfaceJRParagraph
-
populateStyle
public void populateStyle()- Specified by:
populateStylein interfaceJRParagraph
-
getLineSpacing
Description copied from interface:JRParagraphGets the text line spacing.- Specified by:
getLineSpacingin interfaceJRParagraph- Returns:
- a value representing one of the line spacing constants in
LineSpacingEnum
-
getOwnLineSpacing
Description copied from interface:JRParagraphGets the text own line spacing.- Specified by:
getOwnLineSpacingin interfaceJRParagraph- Returns:
- a value representing one of the line spacing constants in
LineSpacingEnum
-
setLineSpacing
Description copied from interface:JRParagraphSets the text line spacing.- Specified by:
setLineSpacingin interfaceJRParagraph- Parameters:
lineSpacing- a value representing one of the line spacing constants inLineSpacingEnum
-
getLineSpacingSize
Description copied from interface:JRParagraphGets the text line spacing size to be used in combination with the line spacing type.- Specified by:
getLineSpacingSizein interfaceJRParagraph
-
getOwnLineSpacingSize
Description copied from interface:JRParagraphGets the text own line spacing size to be used in combination with the line spacing type.- Specified by:
getOwnLineSpacingSizein interfaceJRParagraph
-
setLineSpacingSize
Description copied from interface:JRParagraphSets the text line spacing size to be used in combination with the line spacing type.- Specified by:
setLineSpacingSizein interfaceJRParagraph
-
getLeftIndent
Description copied from interface:JRParagraphGets the text left indent.- Specified by:
getLeftIndentin interfaceJRParagraph
-
getOwnLeftIndent
Description copied from interface:JRParagraphGets the text own left indent.- Specified by:
getOwnLeftIndentin interfaceJRParagraph
-
setLeftIndent
Description copied from interface:JRParagraphSets the text own left indent.- Specified by:
setLeftIndentin interfaceJRParagraph
-
getFirstLineIndent
Description copied from interface:JRParagraphGets the text first line indent.- Specified by:
getFirstLineIndentin interfaceJRParagraph
-
getOwnFirstLineIndent
Description copied from interface:JRParagraphGets the text own first line indent.- Specified by:
getOwnFirstLineIndentin interfaceJRParagraph
-
setFirstLineIndent
Description copied from interface:JRParagraphSets the text own first line indent.- Specified by:
setFirstLineIndentin interfaceJRParagraph
-
getRightIndent
Description copied from interface:JRParagraphGets the text right indent.- Specified by:
getRightIndentin interfaceJRParagraph
-
getOwnRightIndent
Description copied from interface:JRParagraphGets the text own right indent.- Specified by:
getOwnRightIndentin interfaceJRParagraph
-
setRightIndent
Description copied from interface:JRParagraphSets the text own right indent.- Specified by:
setRightIndentin interfaceJRParagraph
-
getSpacingBefore
Description copied from interface:JRParagraphGets the text spacing before.- Specified by:
getSpacingBeforein interfaceJRParagraph
-
getOwnSpacingBefore
Description copied from interface:JRParagraphGets the text own spacing before.- Specified by:
getOwnSpacingBeforein interfaceJRParagraph
-
setSpacingBefore
Description copied from interface:JRParagraphSets the text own spacing before.- Specified by:
setSpacingBeforein interfaceJRParagraph
-
getSpacingAfter
Description copied from interface:JRParagraphGets the text spacing after.- Specified by:
getSpacingAfterin interfaceJRParagraph
-
getOwnSpacingAfter
Description copied from interface:JRParagraphGets the text own spacing after.- Specified by:
getOwnSpacingAfterin interfaceJRParagraph
-
setSpacingAfter
Description copied from interface:JRParagraphSets the text own spacing after.- Specified by:
setSpacingAfterin interfaceJRParagraph
-
getTabStopWidth
Description copied from interface:JRParagraphGets the text tab stop width.- Specified by:
getTabStopWidthin interfaceJRParagraph
-
getOwnTabStopWidth
Description copied from interface:JRParagraphGets the text own tab stop width.- Specified by:
getOwnTabStopWidthin interfaceJRParagraph
-
setTabStopWidth
Description copied from interface:JRParagraphSets the text own tab stop width.- Specified by:
setTabStopWidthin interfaceJRParagraph
-
getTabStops
Description copied from interface:JRParagraphGets the custom tab stops.- Specified by:
getTabStopsin interfaceJRParagraph
-
getOwnTabStops
Description copied from interface:JRParagraphGets the custom tab stops.- Specified by:
getOwnTabStopsin interfaceJRParagraph
-
addTabStop
- Specified by:
addTabStopin interfaceJRParagraph
-
addTabStop
- Specified by:
addTabStopin interfaceJRParagraph
-
removeTabStop
public void removeTabStop(int index) - Specified by:
removeTabStopin interfaceJRParagraph
-
removeTabStop
- Specified by:
removeTabStopin interfaceJRParagraph
-
getParagraphContainer().