Package net.sf.jasperreports.engine
Interface JRImageAlignment
- All Superinterfaces:
JRStyleContainer
- All Known Subinterfaces:
JRCommonImage,JRImage,JRPrintImage
- All Known Implementing Classes:
ChartTemplateImage,IconLabelComponent,IconLabelComponentFill,JRBaseImage,JRBasePrintImage,JRDesignImage,JRFillImage,JRRecordedValuesPrintImage,JRTemplateImage,JRTemplatePrintImage
An interface that defines constants useful for image alignment.
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
Method Summary
Modifier and TypeMethodDescriptionGets the image horizontal alignment.Gets the image vertical alignment.voidsetHorizontalImageAlign(HorizontalImageAlignEnum horizontalAlignment) Sets the image horizontal alignment.voidsetVerticalImageAlign(VerticalImageAlignEnum verticalAlignment) Gets the image vertical alignment.Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer
getDefaultStyleProvider, getStyle, getStyleName, getStyleNameReference
-
Method Details
-
getHorizontalImageAlign
HorizontalImageAlignEnum getHorizontalImageAlign()Gets the image horizontal alignment.- Returns:
- a value representing one of the horizontal image alignment constants in
HorizontalImageAlignEnum
-
getOwnHorizontalImageAlign
HorizontalImageAlignEnum getOwnHorizontalImageAlign() -
setHorizontalImageAlign
Sets the image horizontal alignment.- Parameters:
horizontalAlignment- a value representing one of the horizontal image alignment constants inHorizontalImageAlignEnum
-
getVerticalImageAlign
VerticalImageAlignEnum getVerticalImageAlign()Gets the image vertical alignment.- Returns:
- a value representing one of the vertical image alignment constants in
VerticalImageAlignEnum
-
getOwnVerticalImageAlign
VerticalImageAlignEnum getOwnVerticalImageAlign() -
setVerticalImageAlign
Gets the image vertical alignment.- Parameters:
verticalAlignment- a value representing one of the vertical image alignment constants inVerticalImageAlignEnum
-