Interface ProcessImageData
-
- All Superinterfaces:
PluginDataContainer
,Serializable
,UserAttributeContainer
public interface ProcessImageData extends PluginDataContainer, UserAttributeContainer, Serializable
Data representing an image of a process element (a process template or a process instance).- Author:
- Ulrich Kreher
-
-
Field Summary
Fields Modifier and Type Field Description static long
serialVersionUID
Generated ID for serialisation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<Integer,Rectangle>
getDataElementArea()
Gets the areas in pixels where the data elements are located in the image.byte[]
getImage()
Gets the binary data of the image represented as the appropriate image type.Rectangle
getImageSize()
Gets the size of the image in pixels.Map<Integer,Rectangle>
getNodeArea()
Gets the areas in pixels where the nodes are located in the image.String
getType()
Gets the type of the image which is provided asbyte[]
.-
Methods inherited from interface de.aristaflow.adept2.model.common.PluginDataContainer
getPluginData, getPluginDatas, getSupportedPlugins
-
Methods inherited from interface de.aristaflow.adept2.model.common.UserAttributeContainer
getUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributeValue
-
-
-
-
Field Detail
-
serialVersionUID
static final long serialVersionUID
Generated ID for serialisation.- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
String getType()
Gets the type of the image which is provided asbyte[]
.- Returns:
- The type of the image which is provided as
byte[]
. - See Also:
ImageTypes
-
getImage
byte[] getImage()
Gets the binary data of the image represented as the appropriate image type.- Returns:
- The image as binary data.
-
getImageSize
Rectangle getImageSize()
Gets the size of the image in pixels.- Returns:
- The size of the image in pixels.
-
getNodeArea
Map<Integer,Rectangle> getNodeArea()
Gets the areas in pixels where the nodes are located in the image. The index of the map is the corresponding node ID. If there are no nodes in the image, an empty map will be returned.- Returns:
- The areas in pixels where the nodes are located in the image, indexed by the corresponding node ID.
-
getDataElementArea
Map<Integer,Rectangle> getDataElementArea()
Gets the areas in pixels where the data elements are located in the image. The index of the map is the corresponding data element ID. If there are no data elements in the image, an empty map will be returned.- Returns:
- The areas in pixels where the data elements are located in the image, indexed by the corresponding data element ID.
-
-