Interface ActivityNode
-
- All Known Implementing Classes:
MxSymbolActivityNode
,MxTaskActivityNode
public interface ActivityNode
Represents an activity in a Process Instance Diagram.- Author:
- Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ActivityNode.ClickEvent
static interface
ActivityNode.ClickListener
static interface
ActivityNode.Event<T extends ActivityNode.Listener>
static interface
ActivityNode.Listener
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addClickListener(ActivityNode.ClickListener listener)
Adds a click listener.boolean
isEnabled()
boolean
isExecuted()
void
removeAllClickListeners()
Removes all click listener.void
removeClickListener(ActivityNode.ClickListener listener)
Removes a click listener.void
setEnabled(boolean enabled)
Sets if the activity is enabled.void
setExecuted(boolean execute)
Sets if the activity was executed.
-
-
-
Method Detail
-
isEnabled
boolean isEnabled()
- Returns:
- True if the activity is enabled.
-
setEnabled
void setEnabled(boolean enabled)
Sets if the activity is enabled.- Parameters:
enabled
- Set true if the activity is enabled.
-
isExecuted
boolean isExecuted()
- Returns:
- True if the activity was executed
-
setExecuted
void setExecuted(boolean execute)
Sets if the activity was executed.- Parameters:
execute
- Set true if the activity was executed.
-
addClickListener
void addClickListener(ActivityNode.ClickListener listener)
Adds a click listener.- Parameters:
listener
- The click listener.
-
removeClickListener
void removeClickListener(ActivityNode.ClickListener listener)
Removes a click listener.- Parameters:
listener
- Click listener.
-
removeAllClickListeners
void removeAllClickListeners()
Removes all click listener.
-
-