public interface MenuStructure<O extends OutputManager<?>> extends Widget<O>
Modifier and Type | Method and Description |
---|---|
default Menu<O> |
getParentMenu()
Returns the parent menu.
|
default AbstractContainer<O> |
getParentMenuContainer()
Returns the parent menu or sub-menu.
|
default SubMenu<O> |
getParentSubMenu()
Returns the parent menu.
|
default SubMenu<O> |
getRootSubMenu()
Returns the root sub-menu or null if no parent sub-menu exists for this menu element.
|
addFocusListener, addKeyListener, ancestor, ancestorId, bounds, clearWidget, config, defaultMousePtr, destroy, dimension, displayPhysicalLocation, draw, drawCaret, enclosingFrame, enforceDefaultMousePtr, findMouseSource, focusTraversable, forceCursorOnFocus, forceVisibility, getActualBounds, getCustomMousePointer, getEffectiveMousePointer, getId, getLegacyWidget, getLoadedMousePointer, getMenuMouse, getMouseActions, getSelectedText, getState, getVisiblePart, getZOrderClass, hasFocus, height, hidden, hide, highlighted, insets, isCurrent, isDirectManipulable, isDisplayed, isDroppable, isEnabled, isFocusable, isHeader, isRealized, isRepaintDisabled, isRMBEntrySupported, isTabStop, isThreeD, isTotallyObscured, isVisible, isVisible, location, maySwitchFocus, minimumSize, moveToBottom, moveToTop, name, navigable, parent, parent, parentObject, parentOrSelf, parentOrSelfObject, physicalBounds, physicalDimension, physicalLocation, postprocessConfig, processDirectManipulationEvent, processEvent, processFocusEvent, processKeyEvent, processKeyListeners, processMnemonic, raiseLegacyMouseEvents, repaint, repaint, requestFocus, requestFocus, requestSync, resizeTo, resolvePopupMenuId, screen, screenLocation, screenPhysicalLocation, setEnabled, setHidden, setHighlighted, setLocation, setLocation, setMousePointer, setParent, setPhysicalLocation, setState, setVisible, show, supportsCustomMousePointer, topLevelWindow, unrealize, width, window
default Menu<O> getParentMenu()
default SubMenu<O> getParentSubMenu()
null
,
in this case the menu element is not located under a sub-menu.default SubMenu<O> getRootSubMenu()
default AbstractContainer<O> getParentMenuContainer()