-
- 所有已知实现类:
-
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
,JFXPanel
,JInternalFrame
,JInternalFrame.JDesktopIcon
,JLabel
,JLayer
,JLayeredPane
,JList
,JMenu
,JMenuBar
,JMenuItem
,JOptionPane
,JPanel
,JPasswordField
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
所有菜单相关容器的超类。
-
-
方法详细信息
-
getFont
Font getFont()
返回此容器正在使用的字体。- 结果
- 菜单字体
-
remove
void remove(MenuComponent comp)
从菜单中删除指定的菜单组件。- 参数
-
comp
- 要删除的菜单组件
-
postEvent
@Deprecated boolean postEvent(Event evt)
已过时。 由JDK版本1.1替换为dispatchEvent(AWTEvent)。向事件发送一个事件。- 参数
-
evt
- 发送的事件 - 结果
- 发布事件的结果
-
-