net.sourceforge.geeboss.view
Class MenuManager

java.lang.Object
  extended by net.sourceforge.geeboss.view.MenuManager

public class MenuManager
extends java.lang.Object

The MenuManager manages the disabled / enabled state of some MenuItems and ToolItems. For example, if no news is opened in the TabFolder, MenuItems like Export get disabled.


Field Summary
static int EMPTY_SEARCH_TAB
          A search did not brought any results
static int MORE_THAN_ONE_TAB_OPENED
          More than one tab
static int NEWS_HEADER_SELECTED
          State: Tab is displaying news and a header is selected
static int NEWS_TEXT_EMPTY
          State: Newstext view is empty
static int NEWS_TEXT_FILLED
          State: Newstext view is filled with text
static int ONE_ZERO_TAB_OPENED
          Only one tab or less opened
static int TAB_EMPTY
          State: Tab is not displaying any tab
static int TAB_ERROR
          State: Tab is not displaying an warning
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_SEARCH_TAB

public static final int EMPTY_SEARCH_TAB
A search did not brought any results

See Also:
Constant Field Values

MORE_THAN_ONE_TAB_OPENED

public static final int MORE_THAN_ONE_TAB_OPENED
More than one tab

See Also:
Constant Field Values

NEWS_HEADER_SELECTED

public static final int NEWS_HEADER_SELECTED
State: Tab is displaying news and a header is selected

See Also:
Constant Field Values

NEWS_TEXT_EMPTY

public static final int NEWS_TEXT_EMPTY
State: Newstext view is empty

See Also:
Constant Field Values

NEWS_TEXT_FILLED

public static final int NEWS_TEXT_FILLED
State: Newstext view is filled with text

See Also:
Constant Field Values

ONE_ZERO_TAB_OPENED

public static final int ONE_ZERO_TAB_OPENED
Only one tab or less opened

See Also:
Constant Field Values

TAB_EMPTY

public static final int TAB_EMPTY
State: Tab is not displaying any tab

See Also:
Constant Field Values

TAB_ERROR

public static final int TAB_ERROR
State: Tab is not displaying an warning

See Also:
Constant Field Values


Copyright (c) 2005 The Geeboss team (http://geeboss.sourceforge.net). All Rights Reserved.