Coverage Report - org.jtheque.films.view.able.AbstractView
 
Classes in this File Line Coverage Branch Coverage Complexity
AbstractView
0 %
0/12
N/A
1
 
 1  
 package org.jtheque.films.view.able;
 2  
 
 3  
 /*
 4  
  * This file is part of JTheque.
 5  
  *
 6  
  * JTheque is free software: you can redistribute it and/or modify
 7  
  * it under the terms of the GNU General Public License as published by
 8  
  * the Free Software Foundation, either version 3 of the License.
 9  
  *
 10  
  * JTheque is distributed in the hope that it will be useful,
 11  
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 12  
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 13  
  * GNU General Public License for more details.
 14  
  *
 15  
  * You should have received a copy of the GNU General Public License
 16  
  * along with JTheque.  If not, see <http://www.gnu.org/licenses/>.
 17  
  */
 18  
 
 19  
 import org.jtheque.core.managers.view.able.IView;
 20  
 import org.jtheque.core.managers.view.able.components.IModel;
 21  
 
 22  
 /**
 23  
  * An abstract view for simple views.
 24  
  *
 25  
  * @author Baptiste Wicht
 26  
  */
 27  0
 public abstract class AbstractView implements IView {
 28  
     @Override
 29  
     public final void display() {
 30  0
     }
 31  
 
 32  
     @Override
 33  
     public final void closeDown() {
 34  0
     }
 35  
 
 36  
     @Override
 37  
     public final void toFirstPlan() {
 38  0
     }
 39  
 
 40  
     @Override
 41  
     public final void build() {
 42  0
     }
 43  
 
 44  
     @Override
 45  
     public final void setEnabled(boolean enabled) {
 46  0
     }
 47  
 
 48  
     @Override
 49  
     public final boolean isEnabled() {
 50  0
         return true;
 51  
     }
 52  
 
 53  
     @Override
 54  
     public final void sendMessage(String message, Object value) {
 55  0
     }
 56  
 
 57  
     @Override
 58  
     public final void refresh() {
 59  0
     }
 60  
 
 61  
     @Override
 62  
     public final IModel getModel() {
 63  0
         return null;
 64  
     }
 65  
 
 66  
     @Override
 67  
     public final void setModel(IModel model) {
 68  0
     }
 69  
 
 70  
     @Override
 71  
     public final boolean validateContent() {
 72  0
         return true;
 73  
     }
 74  
 }