• Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      Font getFont()

      Returns the font in use by this container.

      boolean postEvent​(Event evt)

      Deprecated.

      As of JDK version 1.1 replaced by dispatchEvent(AWTEvent).

      void remove​(MenuComponent comp)

      Removes the specified menu component from the menu.

    • Method Detail

      • getFont

        Font getFont()

        Returns the font in use by this container.

        Returns:
        the menu font
      • remove

        void remove​(MenuComponent comp)

        Removes the specified menu component from the menu.

        Parameters:
        comp - the menu component to remove
      • postEvent

        @Deprecated
        boolean postEvent​(Event evt)

        Posts an event to the listeners.

        Parameters:
        evt - the event to dispatch
        Returns:
        the results of posting the event