com.karneim.util.collection.set
Interface SAutomaton.IChangeListener

Enclosing interface:
SAutomaton

public static interface SAutomaton.IChangeListener

The listener interface for receiving change events of a SAutomaton. The class that is interested in processing an automaton's change event implements this interface. A listener instance of that class is registered with the automaton using the automaton's addChangeListener method.

Version:
1.0
Author:
Ralf Meyer

Method Summary
 void startStateChanged(IStatePro oldStartState, IStatePro newStartState)
          The Automaton invokes this method on all registered listener if the automaton's current startState has been changed.
 void stateAdded(IStatePro state)
          The Automaton invokes this method on all registered listener if a new state has been added to the automaton.
 void stateRemoved(IStatePro state)
          The Automaton invokes this method on all registered listener if an existing state has been removed from the automaton.
 

Method Detail

stateAdded

public void stateAdded(IStatePro state)
The Automaton invokes this method on all registered listener if a new state has been added to the automaton.


stateRemoved

public void stateRemoved(IStatePro state)
The Automaton invokes this method on all registered listener if an existing state has been removed from the automaton.


startStateChanged

public void startStateChanged(IStatePro oldStartState,
                              IStatePro newStartState)
The Automaton invokes this method on all registered listener if the automaton's current startState has been changed. Both oldStartState and newStartState can be null.