Class ViewerControleur


  • public class ViewerControleur
    extends java.lang.Object
    Controleur du visualiseur d'images PIF. Gere le chargement du fichier PIF et la conversion en image affichable.
    • Constructor Summary

      Constructors 
      Constructor Description
      ViewerControleur​(ViewerWindow window, java.lang.String path)
      Constructeur du controleur.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void loadPIF()
      Charge et affiche un fichier PIF.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ViewerControleur

        public ViewerControleur​(ViewerWindow window,
                                java.lang.String path)
        Constructeur du controleur.
        Parameters:
        window - la fenetre du visualiseur
        path - le chemin du fichier PIF ou null si aucun
    • Method Detail

      • loadPIF

        public void loadPIF()
        Charge et affiche un fichier PIF. Si aucun fichier n'est fourni, ouvre un selecteur de fichier. Verifie que le fichier est au format PIF puis le decode et l'affiche.