Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide.menu.spi
Class MenuBar  view MenuBar download MenuBar.java

java.lang.Object
  extended byjavax.ide.menu.spi.MenuBar
All Implemented Interfaces:
javax.ide.Identifiable

public final class MenuBar
extends java.lang.Object
implements javax.ide.Identifiable

A menu bar is an identified collection of Menus.


Field Summary
private  java.lang.String _id
           
private  PositionMap _menus
           
 
Constructor Summary
MenuBar(java.lang.String id)
           
 
Method Summary
(package private)  void addMenu(Menu menu)
           
 java.lang.String getID()
          Gets this object's unique identifier.
 Menu getMenu(java.lang.String id)
           
 java.util.List getMenus()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_id

private final java.lang.String _id

_menus

private final PositionMap _menus
Constructor Detail

MenuBar

public MenuBar(java.lang.String id)
Method Detail

getID

public java.lang.String getID()
Description copied from interface: javax.ide.Identifiable
Gets this object's unique identifier.

Specified by:
getID in interface javax.ide.Identifiable

addMenu

void addMenu(Menu menu)

getMenu

public Menu getMenu(java.lang.String id)

getMenus

public java.util.List getMenus()