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:
Yevgeny Nyden

Nested Class Summary
static class PrefCountMenuBar.MenuBarType
          Enumeration that represents type of a PrefCountMenuBar.
 
Method Summary
 void refreshLanguageIcon()
          Resets menu language icon.
 void setDialogFrameItemState(boolean isSelected)
          Sets the selected status of the dialog frame menu bar menu item.
 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

refreshLanguageIcon

void refreshLanguageIcon()
Resets menu language icon.


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.

setDialogFrameItemState

void setDialogFrameItemState(boolean isSelected)
Sets the selected status of the dialog frame menu bar menu item.

Parameters:
isSelected - true if the item should be selected; false otherwise.


Copyright © 2008. All Rights Reserved.