|
ALBPM Process API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProcessDiagram
This interface represents the diagram of a given process. It has several methods to decorate the process or add different labels to activities and other objects.
Field Summary | |
---|---|
static String |
THEME_BPMN
|
static String |
THEME_BUSINESS_ANALYST
|
static String |
THEME_CLASSIC
|
static String |
THEME_COLOR_BPMN
|
static String |
THEME_UML
|
static String[] |
themes
|
static String |
TRANSITION_CONDITION
|
static String |
TRANSITION_DESCRIPTION
|
static String |
TRANSITION_NAME
|
Method Summary | |
---|---|
fuego.ui.Image |
getIconForActivity(String activityId)
Gets the icon image of the activity using the selected theme. |
fuego.ui.Image |
getImage()
Gets the image of the process. |
fuego.ui.Image |
getImageForActivity(String activityId)
Gets the image being used to render the activity shape by returning the corresponding image taken from the used theme or the custom image if the designer has used a local image |
fuego.geom.Rectangle |
getRectangleForActivity(String activityId)
Gets the rectangle of the bounds of the passed activity |
String |
getRelativePathForActivityIconImage(String activityId)
|
String |
getRelativePathForActivityImage(String activityId)
|
void |
highlightActivityPath(String[] activityIds)
Sets an activity path to be highlighted in the process diagram. |
void |
setDrawFlowOnly(boolean value)
Sets the diagram to draw only the flow of the process excluding global activities and roles with only globals inside |
void |
setHeadless(boolean isHeadless)
|
void |
setHorizontalDrawing(boolean isHorizontalDrawing)
Defines if the process will be drawn horizontally. |
void |
setLocale(Locale loc)
Sets the default locale for the process so all visible labels are printed in this locale if available Otherwise the default locale will be used. |
void |
setScale(float scale)
|
void |
setTheme(String themeName)
Sets the theme to be used in the drawing |
void |
setTransitionMessageType(String type)
Sets what to render as label for conditional transitions |
void |
showIconInActivity(String activityId,
fuego.ui.Image icon)
Shows an icon in the upper right side of the activity |
void |
showTextInActivity(String activityId,
String text)
Sets a label to be located in the upper side of the activity. |
Field Detail |
---|
@NonNls static final String THEME_BPMN
@NonNls static final String THEME_BUSINESS_ANALYST
@NonNls static final String THEME_CLASSIC
@NonNls static final String THEME_COLOR_BPMN
@NonNls static final String THEME_UML
static final String[] themes
@NonNls static final String TRANSITION_CONDITION
@NonNls static final String TRANSITION_DESCRIPTION
@NonNls static final String TRANSITION_NAME
Method Detail |
---|
void setHeadless(boolean isHeadless)
void setDrawFlowOnly(boolean value)
value
- void setHorizontalDrawing(boolean isHorizontalDrawing)
isHorizontalDrawing
- fuego.ui.Image getIconForActivity(String activityId)
activityId
-
fuego.ui.Image getImage()
fuego.ui.Image getImageForActivity(String activityId)
activityId
-
void setLocale(Locale loc)
loc
- fuego.geom.Rectangle getRectangleForActivity(String activityId)
activityId
- - The activity's name
String getRelativePathForActivityIconImage(String activityId)
String getRelativePathForActivityImage(String activityId)
void setScale(float scale)
void setTheme(String themeName)
themeName
- void setTransitionMessageType(String type)
type
- The type of message to render: TRANSITION_CONDITION, TRANSITION_NAME, TRANSITION_DESCRIPTIONTRANSITION_CONDITION
,
TRANSITION_NAME
,
TRANSITION_DESCRIPTION
void highlightActivityPath(String[] activityIds)
activityIds
- void showIconInActivity(String activityId, fuego.ui.Image icon)
activityId
- icon
- void showTextInActivity(String activityId, String text)
activityId
- text
-
|
ALBPM Process API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |