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
public interface JRImageAlignment extends JRStyleContainer
An interface that defines constants useful for image alignment.- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HorizontalImageAlignEnum
getHorizontalImageAlign()
Gets the image horizontal alignment.HorizontalImageAlignEnum
getOwnHorizontalImageAlign()
VerticalImageAlignEnum
getOwnVerticalImageAlign()
VerticalImageAlignEnum
getVerticalImageAlign()
Gets the image vertical alignment.void
setHorizontalImageAlign(HorizontalImageAlignEnum horizontalAlignment)
Sets the image horizontal alignment.void
setVerticalImageAlign(VerticalImageAlignEnum verticalAlignment)
Gets the image vertical alignment.-
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer
getDefaultStyleProvider, getStyle, getStyleName, getStyleNameReference
-
-
-
-
Method Detail
-
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
void setHorizontalImageAlign(HorizontalImageAlignEnum horizontalAlignment)
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
void setVerticalImageAlign(VerticalImageAlignEnum verticalAlignment)
Gets the image vertical alignment.- Parameters:
verticalAlignment
- a value representing one of the vertical image alignment constants inVerticalImageAlignEnum
-
-