AbstractButton
, AbstractColorChooserPanel
, Applet
, BasicArrowButton
, BasicComboBoxRenderer
, BasicComboBoxRenderer.UIResource
, BasicComboPopup
, BasicInternalFrameTitlePane
, BasicInternalFrameTitlePane.SystemMenuBar
, BasicSplitPaneDivider
, BasicToolBarUI.DragWindow
, Box
, Box.Filler
, Button
, Canvas
, CellRendererPane
, Checkbox
, Choice
, Component
, Container
, DefaultListCellRenderer
, DefaultListCellRenderer.UIResource
, DefaultTableCellRenderer
, DefaultTableCellRenderer.UIResource
, DefaultTreeCellEditor.DefaultTextField
, DefaultTreeCellEditor.EditorContainer
, DefaultTreeCellRenderer
, Dialog
, FileDialog
, Frame
, JApplet
, JButton
, JCheckBox
, JCheckBoxMenuItem
, JColorChooser
, JComboBox
, JComponent
, JDesktopPane
, JDialog
, JEditorPane
, JFileChooser
, JFormattedTextField
, JFrame
, JInternalFrame
, JInternalFrame.JDesktopIcon
, JLabel
, JLayer
, JLayeredPane
, JList
, JMenu
, JMenuBar
, JMenuItem
, JOptionPane
, JPanel
, JPasswordField
, JPopupMenu
, JPopupMenu.Separator
, JProgressBar
, JRadioButton
, JRadioButtonMenuItem
, JRootPane
, JScrollBar
, JScrollPane
, JScrollPane.ScrollBar
, JSeparator
, JSlider
, JSpinner
, JSpinner.DateEditor
, JSpinner.DefaultEditor
, JSpinner.ListEditor
, JSpinner.NumberEditor
, JSplitPane
, JTabbedPane
, JTable
, JTableHeader
, JTextArea
, JTextComponent
, JTextField
, JTextPane
, JToggleButton
, JToolBar
, JToolBar.Separator
, JToolTip
, JTree
, JViewport
, JWindow
, Label
, List
, Menu
, MenuBar
, MetalComboBoxButton
, MetalComboBoxUI.MetalComboPopup
, MetalFileChooserUI.FileRenderer
, MetalFileChooserUI.FilterComboBoxRenderer
, MetalInternalFrameTitlePane
, MetalScrollButton
, Panel
, PopupMenu
, Scrollbar
, ScrollPane
, TextArea
, TextComponent
, TextField
, Window
public interface MenuContainer
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.
|
Font getFont()
void remove(MenuComponent comp)
comp
- the menu component to remove@Deprecated boolean postEvent(Event evt)
evt
- the event to dispatch Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps