com.jbbres.lib.actions.workflow
Interface WorkflowDefinitionListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
AbstractVariableComboBox, JDateComboBox, JFileComboBox, JImageComboBox, JVComboBox

public interface WorkflowDefinitionListener
extends java.util.EventListener

The listener interface for receiving events occurring during the workflow definition.

The class that is interested in processing a WorkflowDefinitionEvent event implements this interface, and the object created with that class is registered with the Workflow, using the addWorkflowDefinitionListener(WorkflowDefinitionListener) method. When a change in the Workflow definition occurs, that object's corresponding method is invoked.


Release Notes:

v1.1.0:

  • Added notificationReceived(WorkflowDefinitionEvent)
  • Since:
    1.0.0
    Version:
    1.1.0
    Author:
    Jean-Baptiste Bres

    Method Summary
     void actionMoved(WorkflowDefinitionEvent e)
              Invoked when an action is moved from its current position to a new position.
     void elementAdded(WorkflowDefinitionEvent e)
              Invoked when a new element is added to the workflow.
     void elementRemoved(WorkflowDefinitionEvent e)
              Invoked when an element is removed from the workflow.
     void notificationReceived(WorkflowDefinitionEvent e)
              Invoked when a notification is received.
     

    Method Detail

    elementAdded

    void elementAdded(WorkflowDefinitionEvent e)
    Invoked when a new element is added to the workflow.

    Parameters:
    e - the event

    elementRemoved

    void elementRemoved(WorkflowDefinitionEvent e)
    Invoked when an element is removed from the workflow.

    Parameters:
    e - the event

    actionMoved

    void actionMoved(WorkflowDefinitionEvent e)
    Invoked when an action is moved from its current position to a new position.

    Parameters:
    e - the event

    notificationReceived

    void notificationReceived(WorkflowDefinitionEvent e)
    Invoked when a notification is received.

    Notification are messages that can be send to the workflow during the workflow definition process. They contain useful information for the user in order to improve or correct his/her workflow.

    Parameters:
    e - the event


    To file bugs or suggest feature enhancements, visit the app.jbbres.com Bug Reporter website.

    Additional documentation available online at http://app.jbbres.com/actions/developers.

    Copyright � 2009-2011 app.jbbres.com. All Rights Reserved.