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

Quick Search    Search Deep

com.flexstor.common.awt.menu
Class FlexMenu  view FlexMenu download FlexMenu.java

java.lang.Object
  extended byjava.awt.MenuComponent
      extended byjava.awt.MenuItem
          extended byjava.awt.Menu
              extended bycom.flexstor.common.awt.menu.FlexMenu
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.MenuContainer, java.io.Serializable
Direct Known Subclasses:
HelpMenu

public class FlexMenu
extends java.awt.Menu

This class adds functionality to java menu


Nested Class Summary
 
Nested classes inherited from class java.awt.Menu
java.awt.Menu.AccessibleAWTMenu
 
Nested classes inherited from class java.awt.MenuItem
java.awt.MenuItem.AccessibleAWTMenuItem
 
Nested classes inherited from class java.awt.MenuComponent
java.awt.MenuComponent.AccessibleAWTMenuComponent
 
Field Summary
 
Fields inherited from class java.awt.Menu
 
Fields inherited from class java.awt.MenuItem
 
Fields inherited from class java.awt.MenuComponent
 
Constructor Summary
FlexMenu(java.lang.String sLabel)
           
FlexMenu(java.lang.String sLabel, boolean bTearOff)
           
 
Method Summary
 void addNotify()
          Creates the native peer for this object.
 void getActionItems(java.util.Vector vItems)
          Gets all menu items of this and all sub menus recursively.
 com.flexstor.common.awt.ActionComponentI getMenuItemForId(int nActionId)
          Scans through all action components (menu items) on this menu to find the matching action id.
 
Methods inherited from class java.awt.Menu
add, add, addSeparator, countItems, getAccessibleContext, getItem, getItemCount, insert, insert, insertSeparator, isTearOff, paramString, remove, remove, removeAll, removeNotify
 
Methods inherited from class java.awt.MenuItem
addActionListener, deleteShortcut, disable, disableEvents, enable, enable, enableEvents, getActionCommand, getActionListeners, getLabel, getListeners, getShortcut, isEnabled, processActionEvent, processEvent, removeActionListener, setActionCommand, setEnabled, setLabel, setShortcut
 
Methods inherited from class java.awt.MenuComponent
dispatchEvent, getFont, getName, getParent, getPeer, getTreeLock, postEvent, setFont, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Constructor Detail

FlexMenu

public FlexMenu(java.lang.String sLabel)

FlexMenu

public FlexMenu(java.lang.String sLabel,
                boolean bTearOff)
Method Detail

addNotify

public void addNotify()
Description copied from class: java.awt.Menu
Creates the native peer for this object.


getActionItems

public void getActionItems(java.util.Vector vItems)
Gets all menu items of this and all sub menus recursively. Only items with action(IActionComponents) are added.


getMenuItemForId

public com.flexstor.common.awt.ActionComponentI getMenuItemForId(int nActionId)
Scans through all action components (menu items) on this menu to find the matching action id.