Package net.sf.jasperreports.engine
Interface JRTextAlignment
-
- All Superinterfaces:
JRStyleContainer
- All Known Subinterfaces:
JRPrintText
,JRStaticText
,JRTextElement
,JRTextField
- All Known Implementing Classes:
JRBasePrintText
,JRBaseStaticText
,JRBaseTextElement
,JRBaseTextField
,JRDesignStaticText
,JRDesignTextElement
,JRDesignTextField
,JRFillStaticText
,JRFillTextElement
,JRFillTextField
,JRRecordedValuesPrintText
,JRTemplatePrintText
,JRTemplateText
public interface JRTextAlignment extends JRStyleContainer
An interface that defines constants useful for text alignment.- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HorizontalTextAlignEnum
getHorizontalTextAlign()
Gets the text horizontal alignment.HorizontalTextAlignEnum
getOwnHorizontalTextAlign()
VerticalTextAlignEnum
getOwnVerticalTextAlign()
VerticalTextAlignEnum
getVerticalTextAlign()
Gets the text vertical alignment.void
setHorizontalTextAlign(HorizontalTextAlignEnum horizontalAlignment)
Sets the text horizontal alignment.void
setVerticalTextAlign(VerticalTextAlignEnum verticalAlignment)
Gets the text vertical alignment.-
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer
getDefaultStyleProvider, getStyle, getStyleName, getStyleNameReference
-
-
-
-
Method Detail
-
getHorizontalTextAlign
HorizontalTextAlignEnum getHorizontalTextAlign()
Gets the text horizontal alignment.- Returns:
- a value representing one of the horizontal text alignment constants in
HorizontalTextAlignEnum
-
getOwnHorizontalTextAlign
HorizontalTextAlignEnum getOwnHorizontalTextAlign()
-
setHorizontalTextAlign
void setHorizontalTextAlign(HorizontalTextAlignEnum horizontalAlignment)
Sets the text horizontal alignment.- Parameters:
horizontalAlignment
- a value representing one of the horizontal text alignment constants inHorizontalTextAlignEnum
-
getVerticalTextAlign
VerticalTextAlignEnum getVerticalTextAlign()
Gets the text vertical alignment.- Returns:
- a value representing one of the vertical text alignment constants in
VerticalTextAlignEnum
-
getOwnVerticalTextAlign
VerticalTextAlignEnum getOwnVerticalTextAlign()
-
setVerticalTextAlign
void setVerticalTextAlign(VerticalTextAlignEnum verticalAlignment)
Gets the text vertical alignment.- Parameters:
verticalAlignment
- a value representing one of the vertical text alignment constants inVerticalTextAlignEnum
-
-