Class ProvenanceHolder

All Implemented Interfaces:
Serializable, Cloneable, Iterable<ProvenanceEntry>, Collection<ProvenanceEntry>, List<ProvenanceEntry>, RandomAccess, SequencedCollection<ProvenanceEntry>

public class ProvenanceHolder extends Vector<ProvenanceEntry>
Class that stores matrices (owned by ModelImage) with accessor functions to the matrix map/adding and changing matrices.
Author:
linkb
See Also:
  • Field Details

    • listenerList

      private EventListenerList listenerList
      A list of the ChangeListeners which are interested in the ChangeEvent.
  • Constructor Details

    • ProvenanceHolder

      public ProvenanceHolder()
      Default constructor.
      Parameters:
      nDims - dimensions of image
  • Method Details

    • clone

      public Object clone()
      Copies the object.
      Overrides:
      clone in class Vector<ProvenanceEntry>
      Returns:
      Object A copy of the file info.
    • addElement

      public void addElement(ProvenanceEntry entry)
      Catches the Vector's addElement for listener notifaction
      Overrides:
      addElement in class Vector<ProvenanceEntry>
    • fireProvenanceStateChanged

      private void fireProvenanceStateChanged(ProvenanceEntry entry)
      Notify the listeners (dialogs) that a provenance entry has been stored
      Parameters:
      entry - the provenance entry
    • addProvenanceChangeListener

      public void addProvenanceChangeListener(ProvenanceChangeListener l)
      Adds a listener (JDialogDataProvenance) to receive notifications
      Parameters:
      l -