Class SequenceEvent

  • java.lang.Object
    • java.util.EventObject
      • uk.ac.qmul.eecs.depic.patterns.SequenceEvent


  • public class SequenceEvent
    extends java.util.EventObject
    An event in a sequence. Objects of this type are passed to the listeners of a sequence when it get changed.
    See Also:
    Serialized Form
    • Method Detail

      • getSource

        public Sequence getSource()
        Overrides:
        getSource in class java.util.EventObject
      • getValue

        public Sequence.Value getValue()
        If the event concerns a particular value, it returns a reference to that value. If the event concerns the whole sequence it returns null.
        Returns:
        a reference to the value, or null if the event concerns no value