Interface MenuBar

  • All Superinterfaces:
    javax.swing.Action, java.awt.event.ActionListener, java.util.EventListener, Feature, Initializable, java.beans.PropertyChangeListener
    All Known Implementing Classes:
    MenuBarImpl

    public interface MenuBar
    extends Feature
    • Field Summary

      • Fields inherited from interface javax.swing.Action

        ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addMenu​(Menu menu)  
      javax.swing.JMenuBar getJMenuBar()  
      • Methods inherited from interface javax.swing.Action

        accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
      • Methods inherited from interface java.awt.event.ActionListener

        actionPerformed
      • Methods inherited from interface java.beans.PropertyChangeListener

        propertyChange
    • Method Detail

      • getJMenuBar

        javax.swing.JMenuBar getJMenuBar()
      • addMenu

        void addMenu​(Menu menu)