com.droplets.api.event
Class MenuSelectionEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.droplets.api.event.MenuSelectionEvent
All Implemented Interfaces:
java.io.Serializable

Deprecated. Only for use with DeprecatedMenu Event fired when the user selects a choice from an application menu.

public class MenuSelectionEvent
extends java.util.EventObject

See Also:
Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MenuSelectionEvent(DeprecatedMenu source, java.lang.String menuItem)
          Deprecated. Constructs a new MenuSelectionEvent.
 
Method Summary
 DeprecatedMenu getMenu()
          Deprecated. Type-safe method to return the source object of this event, since we know it's a Menu.
 java.lang.String getMenuItem()
          Deprecated. Gets the menu item that was selected.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MenuSelectionEvent

public MenuSelectionEvent(DeprecatedMenu source,
                          java.lang.String menuItem)
Deprecated. 
Constructs a new MenuSelectionEvent.
Parameters:
source - the menu from which an item was selected
menuItem - the menu item that was selected
Method Detail

getMenu

public DeprecatedMenu getMenu()
Deprecated. 
Type-safe method to return the source object of this event, since we know it's a Menu.
Returns:
the menu from which an item was selected

getMenuItem

public java.lang.String getMenuItem()
Deprecated. 
Gets the menu item that was selected.
Returns:
the menu item that was selected


Copyright © Droplets, 2001. All Rights Reserved.