Class SelectedFileObservable

java.lang.Object
be.gaudry.swing.file.SelectedFileObservable

public class SelectedFileObservable extends Object
Since:
1.0 Aug 31, 2009
Author:
Steph GAUDRY
  • Field Details

  • Constructor Details

    • SelectedFileObservable

      public SelectedFileObservable()
  • Method Details

    • update

      public void update(File file)
    • getFile

      public File getFile()
      Returns:
      the file
    • addObserver

      public void addObserver(PropertyChangeListener pcl)
      Adds an observer to the set of observers for this object, provided that it is not the same as some observer already in the set. The order in which notifications will be delivered to multiple observers is not specified.
    • removeObserver

      public void removeObserver(PropertyChangeListener pcl)
      Removes an observer from the set of observers of this object. Passing null to this method will have no effect.