Interface MenuEvent

All Superinterfaces:
Event
All Known Implementing Classes:
MenuEventImpl

public interface MenuEvent extends Event
The MenuEvent interface provides specific contextual information associated with Menu events.
Since:
Epic 4.3
  • Method Details

    • initMenuEvent

      void initMenuEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg)
      Initializes the value of a MenuEvent created through the Window createEvent method. This method should only be called before the MenuEvent has been dispatched with the dispatchEvent method, though it may be called multiple times during that phase if necessary. If called multiple times, the final invocation takes precedence.
      Parameters:
      typeArg - Specifies the event type.
      canBubbleArg - Specifies whether or not the event can bubble.
      cancelableArg - Specifies whether or not the event's default action can be prevented.