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>
    • 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.