Coverage Report - org.jtheque.core.managers.view.able.IMainView
 
Classes in this File Line Coverage Branch Coverage Complexity
IMainView
N/A
N/A
1
 
 1  
 package org.jtheque.core.managers.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.ViewComponent;
 20  
 
 21  
 import javax.swing.JComponent;
 22  
 import java.awt.Component;
 23  
 
 24  
 /**
 25  
  * A main view specification.
 26  
  *
 27  
  * @author Baptiste Wicht
 28  
  */
 29  
 public interface IMainView extends IView {
 30  
     /**
 31  
      * Return the principal tabbed pane. This tabbed pane is used to display the different principal data of
 32  
      * JTheque.
 33  
      *
 34  
      * @return The tabbed pane who display the principal data.
 35  
      */
 36  
     ViewComponent getTabbedPane();
 37  
 
 38  
     /**
 39  
      * Build the entire view with the final content.
 40  
      */
 41  
     void fill();
 42  
 
 43  
     /**
 44  
      * Set the glass pane of the view.
 45  
      *
 46  
      * @param glassPane The glass pane.
 47  
      */
 48  
     void setGlassPane(Component glassPane);
 49  
 
 50  
     /**
 51  
      * Return the height of the view.
 52  
      *
 53  
      * @return The height of the view.
 54  
      */
 55  
     int getHeight();
 56  
 
 57  
     /**
 58  
      * Start the waiting process.
 59  
      */
 60  
     void startWait();
 61  
 
 62  
     /**
 63  
      * Stop the waiting process.
 64  
      */
 65  
     void stopWait();
 66  
 
 67  
     /**
 68  
      * Set the selected component.
 69  
      *
 70  
      * @param component The selected component.
 71  
      */
 72  
     void setSelectedComponent(Object component);
 73  
 
 74  
     /**
 75  
      * Return the selected component.
 76  
      *
 77  
      * @return The selected component.
 78  
      */
 79  
     JComponent getSelectedComponent();
 80  
 }