CheckMenuItem Class Reference

Inheritance diagram for CheckMenuItem:

MenuItem RadioMenuItem List of all members.

Detailed Description

Check menu item.


Public Member Functions

 this ()
 Create a new check menu item.

 this (char[] label)
 Creates a new check menu item with a label.

 this (MenuItemListener listener, char[] label, char[] action)
 Creates a new check menu item with a label an action and set the MenuItemListener.

bit getActive ()
 Gets the current active state.

void setActive (bit active)
 Sets the active state.

void setShowToggle (bit always)
 Sets the show toggle policy.

void toggled ()
 Toggles the button state.

gboolean getInconsistent ()
 Gets the inconsistent state.

void setInconsistent (bit setting)
 Sets the inconsisten state.


Member Function Documentation

bit CheckMenuItem.getActive  ) 
 

Gets the current active state.

Returns:
the current active state

gboolean CheckMenuItem.getInconsistent  ) 
 

Gets the inconsistent state.

Returns:
true the the state is inconsistent

void CheckMenuItem.setActive bit  active  ) 
 

Sets the active state.

Parameters:
active the active state

void CheckMenuItem.setInconsistent bit  setting  ) 
 

Sets the inconsisten state.

Parameters:
setting the bew inconsistent state

void CheckMenuItem.setShowToggle bit  always  ) 
 

Sets the show toggle policy.

Parameters:
always 

CheckMenuItem.this MenuItemListener  listener,
char[]  label,
char[]  action
 

Creates a new check menu item with a label an action and set the MenuItemListener.

Parameters:
listener the menu item MenuItemListener
label the item label text
action the item action text

Reimplemented from MenuItem.

CheckMenuItem.this char[]  label  ) 
 

Creates a new check menu item with a label.

Parameters:
label the label text

Reimplemented from MenuItem.

CheckMenuItem.this  ) 
 

Create a new check menu item.

Reimplemented from MenuItem.

void CheckMenuItem.toggled  ) 
 

Toggles the button state.


Generated on Sun Dec 21 02:47:09 2003 for DUI by doxygen 1.3.4