KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > columba > api > gui > IAbstractColumbaAction


1 package org.columba.api.gui;
2
3 import org.columba.api.gui.frame.IFrameMediator;
4
5 public interface IAbstractColumbaAction {
6
7   /**
8    * special label for toolbar buttons which is smaller
9    * than the regular label
10    *
11    * Example: Reply to Sender -> Reply
12    *
13    */

14   public static final String JavaDoc TOOLBAR_NAME = "ToolbarName";
15
16   /**
17    * The toolbar uses the large icon, whereas menuitems
18    * use the small one.
19    *
20    */

21   public static final String JavaDoc LARGE_ICON = "LargeIcon";
22
23   /**
24    * JavaHelp topic ID
25    */

26   public static final String JavaDoc TOPIC_ID = "TopicID";
27
28   /**
29    * Returns the frame controller
30    *
31    * @return FrameController
32    */

33   IFrameMediator getFrameMediator();
34
35   /**
36    * Sets the frameMediator.
37    *
38    * @param frameMediator
39    */

40   void setFrameMediator(IFrameMediator frameController);
41
42   /**
43    * Return true if toolbar text should be visible
44    *
45    * @return boolean true, if toolbar text should be enabled, false otherwise
46    *
47    */

48   boolean isShowToolBarText();
49
50   /**
51    * Sets whether the toolbar text should be visible or not.
52    *
53    * @param showToolbarText
54    */

55   void setShowToolBarText(boolean showToolbarText);
56
57 }
Popular Tags