KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sshtools > ui > swing > Tab


1 /*
2  * SSHTools - Java SSH2 API
3  *
4  * Copyright (C) 2002 Lee David Painter.
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Library General Public License
8  * as published by the Free Software Foundation; either version 2 of
9  * the License, or (at your option) any later version.
10  *
11  * You may also distribute it and/or modify it under the terms of the
12  * Apache style J2SSH Software License. A copy of which should have
13  * been provided with the distribution.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * License document supplied with your distribution for more details.
19  *
20  */

21
22 package com.sshtools.ui.swing;
23
24 import java.awt.Component JavaDoc;
25 import javax.swing.Icon JavaDoc;
26
27 /**
28  *
29  *
30  * @author $author$
31  * @version $Revision: 1.1 $
32  */

33
34 public interface Tab {
35
36   /**
37    *
38    *
39    * @return
40    */

41
42   public String JavaDoc getTabCategory();
43
44   /**
45    *
46    *
47    * @return
48    */

49
50   public Icon JavaDoc getTabIcon();
51
52   /**
53    * @return
54    */

55   public Icon JavaDoc getTabLargeIcon();
56
57
58   /**
59    *
60    *
61    * @return
62    */

63
64   public String JavaDoc getTabTitle();
65
66   /**
67    *
68    *
69    * @return
70    */

71
72   public String JavaDoc getTabToolTipText();
73
74   /**
75    *
76    *
77    * @return
78    */

79
80   public int getTabMnemonic();
81
82   /**
83    *
84    *
85    * @return
86    */

87
88   public Component JavaDoc getTabComponent();
89
90   /**
91    *
92    *
93    * @return
94    */

95
96   public boolean validateTab();
97
98   /**
99    *
100    */

101
102   public void applyTab();
103
104   /**
105    *
106    */

107
108   public void tabSelected();
109 }
110
Popular Tags