KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ejtools > adwt > service > StatusBarService


1 /*
2  * EJTools, the Enterprise Java Tools
3  *
4  * Distributable under LGPL license.
5  * See terms of license at www.gnu.org.
6  */

7 package org.ejtools.adwt.service;
8
9 import java.beans.beancontext.BeanContextContainerProxy JavaDoc;
10
11 import javax.swing.Icon JavaDoc;
12 import javax.swing.SwingConstants JavaDoc;
13
14 /**
15  * Description of the Class
16  *
17  * @author Laurent Etiemble
18  * @version $Revision: 1.5 $
19  * @todo Javadoc to complete
20  */

21 public interface StatusBarService extends BeanContextContainerProxy JavaDoc
22 {
23    /** Description of the Field */
24    public final int LEFT = SwingConstants.LEFT;
25    /** Description of the Field */
26    public final int CENTER = SwingConstants.CENTER;
27    /** Description of the Field */
28    public final int RIGHT = SwingConstants.RIGHT;
29
30
31    /**
32     * Adds a feature to the Zone attribute of the StatusBarService object
33     *
34     * @param name The feature to be added to the Zone attribute
35     */

36    public void addZone(String JavaDoc name);
37
38
39    /**
40     * Adds a feature to the Zone attribute of the StatusBarService object
41     *
42     * @param name The feature to be added to the Zone attribute
43     * @param alignement The feature to be added to the Zone attribute
44     */

45    public void addZone(String JavaDoc name, int alignement);
46
47
48    /**
49     * Description of the Method
50     *
51     * @param name Description of Parameter
52     */

53    public void removeZone(String JavaDoc name);
54
55
56    /**
57     * Sets the content attribute of the StatusBarService object
58     *
59     * @param name The new content value
60     * @param text The new content value
61     */

62    public void setContent(String JavaDoc name, String JavaDoc text);
63
64
65    /**
66     * Sets the content attribute of the StatusBarService object
67     *
68     * @param name The new content value
69     * @param icon The new content value
70     */

71    public void setContent(String JavaDoc name, Icon JavaDoc icon);
72
73
74    /**
75     * Sets the content attribute of the StatusBarService object
76     *
77     * @param name The new content value
78     * @param text The new content value
79     * @param icon The new content value
80     */

81    public void setContent(String JavaDoc name, String JavaDoc text, Icon JavaDoc icon);
82 }
83
84
Popular Tags