|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
com.stimulsoft.report.StiBase
com.stimulsoft.report.components.StiComponent
com.stimulsoft.report.components.simplecomponents.StiView
com.stimulsoft.report.components.simplecomponents.StiImage
public class StiImage
The class describes the component of printing for image printing - Image.
Field Summary |
---|
Fields inherited from class com.stimulsoft.report.components.StiComponent |
---|
canGrow, canShrink, componentPlacement, conditions, currentPointer, expressions, interaction, isRendered, page, parent, parentBookmark, parentPointer, top, width |
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef |
---|
REFERENCE_EMPTY, REFERENCE_REPORT |
Constructor Summary | |
---|---|
StiImage()
Creates a new component of the type StiImage. |
|
StiImage(byte[] bytes)
|
|
StiImage(StiRectangle rect)
Creates a new component of the type StiImage with specified location. |
|
StiImage(java.lang.String image)
|
Method Summary | |
---|---|
boolean |
Break(StiComponent dividedComponent,
double devideFactor,
StiRefObject<java.lang.Double> divideLine)
Divides content of components in two parts. |
StiRectangle |
convertImageMargins(StiRectangle rect,
boolean convert)
|
java.awt.image.BufferedImage |
getBufferedImage()
|
java.awt.image.BufferedImage |
getBufferedImage(StiRectangle rect)
|
boolean |
getCanBreak()
Gets or sets value which indicates whether the component can or cannot break its contents on several pages. |
java.lang.String |
getDataColumn()
Gets or sets a name of the column that contains the image. |
StiRectangle |
getDefaultClientRectangle()
Gets or sets the default client area of a component. |
java.lang.String |
getFile()
Gets or sets the path to the file that contains the image. |
StiGetImageDataEvent |
getGetImageDataEvent()
Occurs when getting image for the component. |
StiGetImageURLEvent |
getGetImageURLEvent()
Occurs when getting image url for the component. |
java.lang.String |
getGlobalizedName()
Gets or sets special identificator which will be used for report globalization. |
java.lang.String |
getImage()
|
java.lang.String |
getImageBytes()
Gets or sets the image. |
java.lang.String |
getImageBytesToDraw()
Gets or sets the image that appeared as a result of the component rendering. |
StiImageDataExpression |
getImageData()
Gets or sets the expression to fill a component image property. |
java.lang.String |
GetImageFromSource()
Returns the image being get as a result of rendering. |
StiImageRotation |
getImageRotation()
Gets or sets value which indicates how to rotate an image before output. |
StiImageURLExpression |
getImageURL()
Gets or sets the expression to fill a component image URL. |
java.lang.Object |
getImageURLValue()
Gets or sets image URL. |
java.lang.String |
getLocalizedCategory()
Gets a localized name of the component category. |
java.lang.String |
getLocalizedName()
Gets a localized component name. |
StiImageProcessingDuplicatesType |
getProcessingDuplicates()
Gets or sets value which indicates how report engine processes duplicated images. |
int |
getToolboxPosition()
Gets value to sort a position in the toolbox. |
void |
invokeEvents()
Invokes all events for this components. |
void |
invokeGetImageURL(java.lang.Object sender,
StiValueEventArgs e)
// * Raises the GetImageURL event. |
void |
LoadFromJsonObject(JSONObject jObject)
|
void |
putImage(byte[] image)
|
void |
putImage(java.lang.String image)
|
void |
resetImage()
|
java.awt.image.BufferedImage |
rotateImage(java.awt.image.BufferedImage image)
|
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode)
|
void |
setCanBreak(boolean value)
|
void |
setDataColumn(java.lang.String value)
|
void |
setFile(java.lang.String value)
|
void |
setGetImageDataEvent(StiGetImageDataEvent value)
|
void |
setGetImageURLEvent(StiGetImageURLEvent value)
|
void |
setGlobalizedName(java.lang.String value)
|
void |
setImage(StiImage image)
|
void |
setImage(java.lang.String value)
|
void |
setImageBytes(java.lang.String value)
|
void |
setImageData(StiImageDataExpression value)
|
void |
setImageRotation(StiImageRotation value)
|
void |
setImageURL(StiImageURLExpression value)
|
void |
setImageURLValue(java.lang.Object value)
|
void |
setProcessingDuplicates(StiImageProcessingDuplicatesType value)
|
Methods inherited from class com.stimulsoft.report.components.simplecomponents.StiView |
---|
clone, existImageToDraw, getActualSize, getAspectRatio, getBorder, getBrush, getBufferedImage, getHorAlignment, getImageToDraw, getIsCachedImage, getMargins, getMultipleFactor, getObjectToDraw, getRealSize, getSmoothing, getStretch, getVertAlignment, imageToDrawIsMetafile, isExportAsImage, IsExportAsImage, setAspectRatio, setBorder, setBrush, setHorAlignment, setImageBytesToDraw, setImageToDraw, setIsCachedImage, setMargins, setMultipleFactor, setObjectToDraw, setSmoothing, setStretch, setVertAlignment |
Methods inherited from class com.stimulsoft.report.StiBase |
---|
getName, getServiceName |
Methods inherited from class com.stimulsoft.base.services.StiService |
---|
getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, properties, setProperties, setServiceEnabled |
Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject |
---|
cleanReference, getReference, setReference |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.stimulsoft.report.components.interfaces.IStiExportImageExtended |
---|
getImage |
Methods inherited from interface com.stimulsoft.report.components.interfaces.IStiExportImage |
---|
getImage |
Constructor Detail |
---|
public StiImage()
public StiImage(StiRectangle rect)
rect
- The rectangle describes size and position of the component.public StiImage(java.lang.String image)
public StiImage(byte[] bytes)
Method Detail |
---|
public java.awt.image.BufferedImage getBufferedImage()
public java.awt.image.BufferedImage getBufferedImage(StiRectangle rect)
getBufferedImage
in class StiView
public java.awt.image.BufferedImage rotateImage(java.awt.image.BufferedImage image)
public StiRectangle convertImageMargins(StiRectangle rect, boolean convert)
public final java.lang.String getGlobalizedName()
getGlobalizedName
in interface IStiGlobalizedName
public final void setGlobalizedName(java.lang.String value)
setGlobalizedName
in interface IStiGlobalizedName
public boolean getCanBreak()
getCanBreak
in interface IStiBreakable
public void setCanBreak(boolean value)
setCanBreak
in interface IStiBreakable
public int getToolboxPosition()
getToolboxPosition
in class StiComponent
public java.lang.String getLocalizedCategory()
getLocalizedCategory
in class StiBase
public java.lang.String getLocalizedName()
getLocalizedName
in class StiBase
public StiRectangle getDefaultClientRectangle()
getDefaultClientRectangle
in class StiComponent
public final java.lang.Object getImageURLValue()
public final void setImageURLValue(java.lang.Object value)
public StiImageURLExpression getImageURL()
public void setImageURL(StiImageURLExpression value)
public StiImageDataExpression getImageData()
public void setImageData(StiImageDataExpression value)
public void invokeEvents()
StiComponent
invokeEvents
in class StiComponent
public void invokeGetImageURL(java.lang.Object sender, StiValueEventArgs e)
public StiGetImageURLEvent getGetImageURLEvent()
public void setGetImageURLEvent(StiGetImageURLEvent value)
public StiGetImageDataEvent getGetImageDataEvent()
public void setGetImageDataEvent(StiGetImageDataEvent value)
public StiImageProcessingDuplicatesType getProcessingDuplicates()
public void setProcessingDuplicates(StiImageProcessingDuplicatesType value)
public final StiImageRotation getImageRotation()
public final void setImageRotation(StiImageRotation value)
public final java.lang.String getImage()
public final void setImage(java.lang.String value)
public final java.lang.String getImageBytes()
public final void setImageBytes(java.lang.String value)
public void putImage(byte[] image) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
public void putImage(java.lang.String image)
public void resetImage()
public final java.lang.String getFile()
public java.lang.String getImageBytesToDraw()
StiView
getImageBytesToDraw
in class StiView
public final void setFile(java.lang.String value)
public final java.lang.String getDataColumn()
public final void setDataColumn(java.lang.String value)
public boolean Break(StiComponent dividedComponent, double devideFactor, StiRefObject<java.lang.Double> divideLine)
IStiBreakable
Break
in interface IStiBreakable
dividedComponent
- Component for store part of content.
public java.lang.String GetImageFromSource()
GetImageFromSource
in class StiView
public void setImage(StiImage image)
public JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject
in interface IStiJsonReportObject
SaveToJsonObject
in class StiView
JSONException
public void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject
in interface IStiJsonReportObject
LoadFromJsonObject
in class StiView
JSONException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |