View Javadoc

1   /*
2    * @(#)$Id: TabbedView.java 689 2009-07-22 00:10:27Z bsigner $
3    *
4    * Author   : Ueli Kurmann, igesture@uelikurmann.ch
5    *                                   
6    *                                   
7    * Purpose  : 
8    *
9    * -----------------------------------------------------------------------
10   *
11   * Revision Information:
12   *
13   * Date       Who     Reason
14   *
15   * 23.03.2008 ukurmann  Initial Release
16   *
17   * -----------------------------------------------------------------------
18   *
19   * Copyright 1999-2009 ETH Zurich. All Rights Reserved.
20   *
21   * This software is the proprietary information of ETH Zurich.
22   * Use is subject to license terms.
23   * 
24   */
25  
26  
27  package org.ximtec.igesture.tool.core;
28  
29  import javax.swing.Icon;
30  import javax.swing.JComponent;
31  
32  
33  /**
34   * Tabbed view interface to be implemented by the different tab views.
35   * @version 1.0 23.03.2008
36   * @author Ueli Kurmann, igesture@uelikurmann.ch
37   * @author Beat Signer, signer@inf.ethz.ch
38   */
39  public interface TabbedView {
40  
41     /**
42      * Returns the name of the tab. This name is used as the tab name.
43      * @return the name of the tab. This name is used as the tab name.
44      */
45     String getTabName();
46  
47  
48     /**
49      * Returns the icon of the tab. This icon is used in the tab browser.
50      * @return the icon of the tab. This icon is used in the tab browser.
51      */
52     Icon getIcon();
53  
54  
55     /**
56      * Returns the pane of the tab. This JComponent represents the content of the
57      * pane.
58      * @return the pane of the tab. This JComponent represents the content of the
59      *         pane.
60      */
61     JComponent getPane();
62  }