net.curre.prefcount.gui.menu
Interface PrefCountMenuBar

All Known Implementing Classes:
AwtMenuBar, SwingMenuBar

public interface PrefCountMenuBar

This is interface for the prefcount menu bar.

Created date: Jul 28, 2007

Author:
Zhenya Nyden

Nested Class Summary
static class PrefCountMenuBar.MenuBarType
          Enumeration that represents type of a PrefCountMenuBar.
 
Method Summary
 void disableActionMenu()
          Disables the action menu.
 void disableLanguageMenu()
          Disables the language menu.
 void refreshMenuItemsLabels()
          Resets menu labels.
 void toggleBackAction(boolean enabled)
          Enables/disables the back menu item on the action menu.
 void toggleComputeAction(boolean enabled)
          Enables/disables the compute menu item on the action menu.
 void toggleNextAction(boolean enabled)
          Enables/disables the next menu item on the action menu.
 

Method Detail

disableActionMenu

void disableActionMenu()
Disables the action menu.


disableLanguageMenu

void disableLanguageMenu()
Disables the language menu.


refreshMenuItemsLabels

void refreshMenuItemsLabels()
Resets menu labels.


toggleNextAction

void toggleNextAction(boolean enabled)
Enables/disables the next menu item on the action menu.

Parameters:
enabled - True when the menu item should be enabled; false if disabled.
Throws:
java.lang.UnsupportedOperationException - If action menu does not exist.

toggleBackAction

void toggleBackAction(boolean enabled)
Enables/disables the back menu item on the action menu.

Parameters:
enabled - True when the menu item should be enabled; false if disabled.
Throws:
java.lang.UnsupportedOperationException - If action menu does not exist.

toggleComputeAction

void toggleComputeAction(boolean enabled)
Enables/disables the compute menu item on the action menu.

Parameters:
enabled - True when the menu item should be enabled; false if disabled.
Throws:
java.lang.UnsupportedOperationException - If action menu does not exist.


Copyright © 2008. All Rights Reserved.