KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > awt > Menu

java.awt
Class Menu

java.lang.Object
  extended by java.awt.MenuComponent
      extended by java.awt.MenuItem
          extended by java.awt.Menu
All Implemented Interfaces:
MenuContainer, Serializable, Accessible
Direct Known Subclasses:
PopupMenu
See Also:
Top Examples, Source Code, CheckboxMenuItem

public MenuItem add(MenuItem mi)
See Also:
insert(java.awt.MenuItem, int), insert(java.lang.String, int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void add(String label)
See Also:
insert(java.awt.MenuItem, int), insert(java.lang.String, int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


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


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


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


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


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


public void insert(MenuItem menuitem,
                   int index)
See Also:
add(java.awt.MenuItem), add(java.lang.String), IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void insert(String label,
                   int index)
See Also:
add(java.awt.MenuItem), add(java.lang.String), IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void insertSeparator(int index)
See Also:
addSeparator(), IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


public Menu()
     throws HeadlessException
See Also:
GraphicsEnvironment.isHeadless()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Menu(String label)
     throws HeadlessException
See Also:
GraphicsEnvironment.isHeadless()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Menu(String label,
            boolean tearOff)
     throws HeadlessException
See Also:
GraphicsEnvironment.isHeadless()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


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


public void remove(MenuComponent item)
See Also:
MenuContainer
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


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

Popular Tags