Interface ProcessImageData
- All Superinterfaces:
PluginDataContainer,Serializable,UserAttributeContainer
Data representing an image of a process element (a process template or a
process instance).
- Author:
- Ulrich Kreher
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longGenerated ID for serialisation. -
Method Summary
Modifier and TypeMethodDescriptionGets 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.Gets the size of the image in pixels.Gets the areas in pixels where the nodes are located in the image.getType()Gets the type of the image which is provided asbyte[].Methods inherited from interface de.aristaflow.adept2.model.common.PluginDataContainer
getPluginData, getPluginDatas, getSupportedPluginsMethods inherited from interface de.aristaflow.adept2.model.common.UserAttributeContainer
getUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributeValue
-
Field Details
-
serialVersionUID
static final long serialVersionUIDGenerated ID for serialisation.- See Also:
-
-
Method Details
-
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:
-
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
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
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.
-