Interface RenderOptions
- All Superinterfaces:
Serializable
Various options for rendering process elements as images.
- Author:
- Ulrich Kreher
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longGenerated ID for serialisation. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets whether data edges of the process template should be rendered.booleanGets whether data elements of the process template should be rendered.booleanGets whether the data flow lane (part displaying data elements and edges) is visible.booleanGets whether edges of decision data elements of the process template should be rendered.booleanGets whether decision data elements of the process template should be rendered.Gets advanced options for rendering the image.intGets the desired height for the returned image.getType()Gets the type of the image to create.Gets the part of the rendered image that is to be returned.intgetWidth()Gets the desired width for the returned image.booleanGets whether hidden nodes of the process template should be rendered.booleanGets whether synchronisation edges of the process template should be rendered.booleanGets whether system data edges of the process template should be rendered.booleanGets whether system data elements of the process template should be rendered.
-
Field Details
-
serialVersionUID
static final long serialVersionUIDGenerated ID for serialisation.- See Also:
-
-
Method Details
-
getType
String getType()Gets the type of the image to create.- Returns:
- The type of the image to create.
- See Also:
-
getWidth
int getWidth()Gets the desired width for the returned image. The rendered image is scaled appropriately. If this is 0 or negative, no scaling for the width will take place.- Returns:
- The desired width for the returned image, it will be scaled appropriately.
-
getHeight
int getHeight()Gets the desired height for the returned image. The rendered image is scaled appropriately. If this is 0 or negative, no scaling for the height will take place.- Returns:
- The desired height for the returned image, it will be scaled appropriately.
-
getViewPort
Rectangle getViewPort()Gets the part of the rendered image that is to be returned. This allows for retrieving details of a big image. Usenullfor retrieving the complete rendered image.- Returns:
- The part of the rendered image that is to be returned or
nullfor the complete image.
-
dataEdgesVisible
boolean dataEdgesVisible()Gets whether data edges of the process template should be rendered.- Returns:
- Whether data edges of the process template should be rendered.
-
dataElementsVisible
boolean dataElementsVisible()Gets whether data elements of the process template should be rendered.- Returns:
- Whether data elements of the process template should be rendered.
-
systemDataEdgesVisible
boolean systemDataEdgesVisible()Gets whether system data edges of the process template should be rendered.- Returns:
- Whether system data edges of the process template should be rendered.
-
systemDataElementsVisible
boolean systemDataElementsVisible()Gets whether system data elements of the process template should be rendered.- Returns:
- Whether system data elements of the process template should be rendered.
-
decisionDataEdgesVisible
boolean decisionDataEdgesVisible()Gets whether edges of decision data elements of the process template should be rendered.- Returns:
- Whether edges of decision data elements of the process template should be rendered.
-
decisionDataElementsVisible
boolean decisionDataElementsVisible()Gets whether decision data elements of the process template should be rendered.- Returns:
- Whether decision data elements of the process template should be rendered.
-
dataFlowLaneVisible
boolean dataFlowLaneVisible()Gets whether the data flow lane (part displaying data elements and edges) is visible. If not, there will be no whitespace for data elements and edges. This is only allowed if all data elements and edges are hidden. If any data flow element is visible, this value will be ignored.- Returns:
- Whether the data flow lane (part displaying data elements and edges) is visible.
-
syncEdgesVisible
boolean syncEdgesVisible()Gets whether synchronisation edges of the process template should be rendered.- Returns:
- Whether synchronisation edges of the process template should be rendered.
-
getAdvancedOptions
Gets advanced options for rendering the image. These options depend on the used rendering implementation. For no advanced options use the empty map.The main implementation using advanced options is
UISettings.- Returns:
- Advanced options for rendering the image depending on the used rendering implementation or the empty map.
-