KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > swing > JMenuBar

javax.swing
Class JMenuBar

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JMenuBar
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, MenuElement
Direct Known Subclasses:
BasicInternalFrameTitlePane.SystemMenuBar
See Also:
Top Examples, Source Code, XMLEncoder, JMenu, JPopupMenu, JMenuItem

public JMenu add(JMenu c)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void addNotify()
See Also:
JComponent.registerKeyboardAction(java.awt.event.ActionListener, java.lang.String, javax.swing.KeyStroke, int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public AccessibleContext getAccessibleContext()
See Also:
JComponent, Accessible
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Component getComponent()
See Also:
getSubElements(), MenuElement
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
public Component getComponentAtIndex(int i)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getComponentIndex(Component c)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public JMenu getHelpMenu()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Insets getMargin()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public JMenu getMenu(int index)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getMenuCount()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public SingleSelectionModel getSelectionModel()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public MenuElement[] getSubElements()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public MenuBarUI getUI()
See Also:
setUI(javax.swing.plaf.MenuBarUI)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getUIClassID()
See Also:
UIDefaults.getUI(javax.swing.JComponent), JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isBorderPainted()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isSelected()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public JMenuBar()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void menuSelectionChanged(boolean isIncluded)
See Also:
getSubElements(), MenuElement
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void paintBorder(Graphics g)
See Also:
JComponent.setBorder(javax.swing.border.Border), JComponent.paint(java.awt.Graphics)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected String paramString()
See Also:
JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean processKeyBinding(KeyStroke ks,
                                    KeyEvent e,
                                    int condition,
                                    boolean pressed)
See Also:
JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void processKeyEvent(KeyEvent e,
                            MenuElement[] path,
                            MenuSelectionManager manager)
See Also:
getSubElements()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void processMouseEvent(MouseEvent event,
                              MenuElement[] path,
                              MenuSelectionManager manager)
See Also:
getSubElements()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeNotify()
See Also:
JComponent.registerKeyboardAction(java.awt.event.ActionListener, java.lang.String, javax.swing.KeyStroke, int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setBorderPainted(boolean b)
See Also:
isBorderPainted()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setHelpMenu(JMenu menu)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setMargin(Insets m)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setSelected(Component sel)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setSelectionModel(SingleSelectionModel model)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setUI(MenuBarUI ui)
See Also:
UIDefaults.getUI(javax.swing.JComponent)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void updateUI()
See Also:
JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags