interface org.aswing.MenuElement
| Implementors | ||||||||||
![]()  | JMenu, JMenuBar, JMenuItem, JPopupMenu | 
  | ||||||||
Any component that can be placed into a menu should implement this interface.
This interface is used by MenuSelectionManager
to handle selection and navigation in menu hierarchies.
@author paling
Instance Fields
function getMenuComponent(): Component
This method should return the Component used to paint the receiving element. The returned component will be used to convert events and detect if an event is inside a MenuElement's component.
| returns | the Component value  | 
function getSubElements(): Array<Dynamic>
This method should return an array containing the sub-elements for the receiving menu element
| returns | an array of MenuElements  | 
function menuSelectionChanged(isIncluded:Bool): Void
Call by the MenuSelectionManager when the
MenuElement is added or remove from 
the menu selection.
            