Coverage Report - org.jtheque.films.view.able.IInfosOthersView
 
Classes in this File Line Coverage Branch Coverage Complexity
IInfosOthersView
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  
  * @author Baptiste Wicht
 28  
  */
 29  
 public interface IInfosOthersView extends CurrentObjectListener {
 30  
     /**
 31  
      * Validate the view.
 32  
      *
 33  
      * @param errors The errors list to fill.
 34  
      */
 35  
     void validate(Collection<JThequeError> errors);
 36  
 
 37  
     /**
 38  
      * Fill the form bean.
 39  
      *
 40  
      * @param fb The form bean to fill.
 41  
      */
 42  
     void fillFilm(IFilmFormBean fb);
 43  
 
 44  
     /**
 45  
      * Set if the view is enabled or disabled.
 46  
      *
 47  
      * @param enabled A boolean tag indicating if the view must be enabled or not.
 48  
      */
 49  
     void setEnabled(boolean enabled);
 50  
 
 51  
     /**
 52  
      * Return the view implementation.
 53  
      *
 54  
      * @return The real implementation.
 55  
      */
 56  
     JComponent getImpl();
 57  
 }