Generated by
JDiff

Class java.awt.MenuItem

Documentation changed from old to new.

Changed Constructors
MenuItem(String) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Constructs a new MenuItem with the specified label and no keyboard shortcut.
MenuItem(String, MenuShortcut) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Create a menu item with an associated keyboard shortcut.
MenuItem(void) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Constructs a new MenuItem with an empty label and no keyboard shortcut.
 

Added Methods
ActionListener[] getActionListeners() Returns an array of all the action listeners registered on this menu item.
 

Changed Methods
void addActionListener(ActionListener) Documentation changed from old to new.
Adds the specified action listener to receive action events from this menu item.
void disableEvents(long) Documentation changed from old to new.
Disables event delivery to this menu item for events defined by the specified event mask parameter.
void enableEvents(long) Documentation changed from old to new.
Enables event delivery to this menu item for events to be defined by the specified event mask parameter
EventListener[] getListeners(Class) Documentation changed from old to new.
Returns an array of all the objects currently registered as FooListeners upon this MenuItem.
String paramString() Documentation changed from old to new.
Returns a string representing the state of this MenuItem.
void processActionEvent(ActionEvent) Documentation changed from old to new.
Processes action events occurring on this menu item by dispatching them to any registered ActionListener objects.
void processEvent(AWTEvent) Documentation changed from old to new.
Processes events on this menu item.
void removeActionListener(ActionListener) Documentation changed from old to new.
Removes the specified action listener so it no longer receives action events from this menu item.