All Packages Class Hierarchy This Package Previous Next Index
Class semper.preferences.PrefMenuItem
java.lang.Object
|
+----java.awt.MenuComponent
|
+----java.awt.MenuItem
|
+----semper.preferences.PrefMenuItem
- public class PrefMenuItem
- extends MenuItem
This allows to lauch the editing of the group
corresponding to a menu item. It is roughly a JDK menu item
with an extra field describing the group to call when this
item is selected.
- Version:
- $Revision: 1.3 $ $Date: 1997/01/17 19:53:13 $
- Author:
- Louis Salvail
-
PrefMenuItem(String, String)
- This construct a menu item associated with a group name which must
be called when the item is selected by the user.
-
getName()
- This return the name associated with this MenuItem.
PrefMenuItem
public PrefMenuItem(String label,
String theName) throws PreferencesException
- This construct a menu item associated with a group name which must
be called when the item is selected by the user. These menuitems
are used to display the preferences menu on the TINGUIN.
- Parameters:
- label - is the label appearing in the menu.
- theName - is the name of the group which correspond to that label.
- parent - is the parent for that item.
- Returns:
- the new object.
getName
public String getName()
- This return the name associated with this MenuItem.
- Returns:
- the name.
- Overrides:
- getName in class MenuComponent
All Packages Class Hierarchy This Package Previous Next Index