Coverage Report - org.jtheque.films.view.able.IInfosPersoView
 
Classes in this File Line Coverage Branch Coverage Complexity
IInfosPersoView
N/A
N/A
1
 
 1  
 package org.jtheque.films.view.able;
 2  
 
 3  
 import org.jtheque.core.managers.error.JThequeError;
 4  
 import org.jtheque.films.view.impl.fb.IFilmFormBean;
 5  
 import org.jtheque.primary.view.impl.listeners.CurrentObjectListener;
 6  
 
 7  
 import javax.swing.JComponent;
 8  
 import java.util.Collection;
 9  
 
 10  
 /*
 11  
  * This file is part of JTheque.
 12  
  *
 13  
  * JTheque is free software: you can redistribute it and/or modify
 14  
  * it under the terms of the GNU General Public License as published by
 15  
  * the Free Software Foundation, either version 3 of the License.
 16  
  *
 17  
  * JTheque is distributed in the hope that it will be useful,
 18  
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 19  
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 20  
  * GNU General Public License for more details.
 21  
  *
 22  
  * You should have received a copy of the GNU General Public License
 23  
  * along with JTheque.  If not, see <http://www.gnu.org/licenses/>.
 24  
  */
 25  
 
 26  
 /**
 27  
  * A view for the personal informations specification.
 28  
  *
 29  
  * @author Baptiste Wicht
 30  
  */
 31  
 public interface IInfosPersoView extends CurrentObjectListener {
 32  
     /**
 33  
      * Validate the view.
 34  
      *
 35  
      * @param errors The errors list to fill.
 36  
      */
 37  
     void validate(Collection<JThequeError> errors);
 38  
 
 39  
     /**
 40  
      * Fill the form bean.
 41  
      *
 42  
      * @param fb The form bean to fill.
 43  
      */
 44  
     void fillFilm(IFilmFormBean fb);
 45  
 
 46  
     /**
 47  
      * Set if the view is enabled or disabled.
 48  
      *
 49  
      * @param enabled A boolean tag indicating if the view must be enabled or not.
 50  
      */
 51  
     void setEnabled(boolean enabled);
 52  
 
 53  
     /**
 54  
      * Return the view implementation.
 55  
      *
 56  
      * @return The real implementation.
 57  
      */
 58  
     JComponent getImpl();
 59  
 }