com.cc.framework.ui
Interface MenuState


public interface MenuState

Enumeration for the states of menu items

Since:
1.0
Version:
$Revision: 1.1 $
Author:
Gernot Schulz

Field Summary
static int CHECKED
          Acts as a toggle with CCMENU_UNCHECKED to place the default check mark next to the item.
static int DEFAULT
          state: DEFAULT
static int ENABLED
          Enables the menu item so that it can be selected and restores it from its dimmed state.
static int GRAYED
          Disables the menu item so that it cannot be selected and dims it.
static int POPUP
          Specifies that the menu item has a pop-up menu associated with it.
static int SELECTED
          Specifies that the menu item is a character string.
static int SEPARATOR
          Draws a horizontal dividing line.
static int VISIBLE
          The menu item is visible
 

Field Detail

CHECKED

public static final int CHECKED
Acts as a toggle with CCMENU_UNCHECKED to place the default check mark next to the item.

See Also:
Constant Field Values

ENABLED

public static final int ENABLED
Enables the menu item so that it can be selected and restores it from its dimmed state.

See Also:
Constant Field Values

VISIBLE

public static final int VISIBLE
The menu item is visible

See Also:
Constant Field Values

GRAYED

public static final int GRAYED
Disables the menu item so that it cannot be selected and dims it.

See Also:
Constant Field Values

POPUP

public static final int POPUP
Specifies that the menu item has a pop-up menu associated with it. The ID parameter specifies a handle to a pop-up menu that is to be associated with the item. This is used for adding either a top-level pop-up menu or a hierarchical pop-up menu to a pop-up menu item.

See Also:
Constant Field Values

SEPARATOR

public static final int SEPARATOR
Draws a horizontal dividing line. Can only be used in a pop-up menu. This line cannot be dimmed, disabled, or highlighted. Other parameters are ignored.

See Also:
Constant Field Values

SELECTED

public static final int SELECTED
Specifies that the menu item is a character string.

See Also:
Constant Field Values

DEFAULT

public static final int DEFAULT
state: DEFAULT

See Also:
Constant Field Values


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.