Interface QMenuItemContainerInterface
- All Known Implementing Classes:
QMenu,QMenuDefaultViewScreenActionsMenu,QMenuDefaultViewScreenActionsMenu.FooterSubList,QMenuDefaultViewScreenActionsMenu.HeaderSubList,QMenuItemSubList,QMenuItemSubMenu
public interface QMenuItemContainerInterface
Interface for objects that contain a collection of menu items.
This interface is implemented by both menus and menu items that can contain other items (such as sub-menus and sub-lists). It provides a common way to access the items within a container.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetItems()Returns the list of menu items contained within this container.
-
Method Details
-
getItems
List<QMenuItemInterface> getItems()Returns the list of menu items contained within this container.- Returns:
- the list of menu items, which may be empty but should not be null
-