Uses of Class
eu.webtoolkit.jwt.WMenuItem
Packages that use WMenuItem
-
Uses of WMenuItem in eu.webtoolkit.jwt
Methods in eu.webtoolkit.jwt that return WMenuItemModifier and TypeMethodDescriptionAdds an item.final WMenuItemWMenu.addItem(CharSequence name) Adds an item.final WMenuItemWMenu.addItem(CharSequence name, WWidget contents) Adds an item.WMenu.addItem(CharSequence name, WWidget contents, ContentLoading policy) Adds an item.final WMenuItemWMenu.addItem(String iconPath, CharSequence name) Adds an item.final WMenuItemWMenu.addItem(String iconPath, CharSequence name, WWidget contents) Adds an item.WMenu.addItem(String iconPath, CharSequence name, WWidget contents, ContentLoading policy) Adds an item.WMenu.addMenu(CharSequence text, WMenu menu) Adds a submenu, with given text.WMenu.addMenu(String iconPath, CharSequence text, WMenu menu) Adds a submenu, with given icon and text.WMenu.addSectionHeader(CharSequence text) Adds a section header to the menu.WMenu.addSeparator()Adds a separator to the menu.final WMenuItemWTabWidget.addTab(WWidget child, CharSequence label) Adds a new tab, with child as content, and the given label.WTabWidget.addTab(WWidget child, CharSequence label, ContentLoading loadPolicy) Adds a new tab, with child as content, and the given label.WPopupMenu.exec(WMouseEvent e) Executes the the popup at the location of a mouse event.Executes the the popup at a position.final WMenuItemExecutes the popup besides a widget.WPopupMenu.exec(WWidget location, Orientation orientation) Executes the popup besides a widget.WMenu.getCurrentItem()Returns the currently selected item.WTabWidget.getCurrentItem()Returns the item of the activated tab.WTabWidget.getItemAt(int index) Returns the item at the given tab index.WMenu.getParentItem()Returns the parent item (for a submenu)WPopupMenu.getResult()Returns the last triggered menu item.WMenu.insertItem(int index, WMenuItem item) Inserts an item.final WMenuItemWMenu.insertItem(int index, CharSequence name) inserts an item.final WMenuItemWMenu.insertItem(int index, CharSequence name, WWidget contents) inserts an item.WMenu.insertItem(int index, CharSequence name, WWidget contents, ContentLoading policy) inserts an item.final WMenuItemWMenu.insertItem(int index, String iconPath, CharSequence name) inserts an item.final WMenuItemWMenu.insertItem(int index, String iconPath, CharSequence name, WWidget contents) inserts an item.WMenu.insertItem(int index, String iconPath, CharSequence name, WWidget contents, ContentLoading policy) inserts an item.WMenu.insertMenu(int index, CharSequence text, WMenu menu) inserts a submenu, with given text.WMenu.insertMenu(int index, String iconPath, CharSequence text, WMenu menu) inserts a submenu, with given icon and text.final WMenuItemWTabWidget.insertTab(int index, WWidget child, CharSequence label) Inserts a new tab, with child as content, and the given label.WTabWidget.insertTab(int index, WWidget child, CharSequence label, ContentLoading loadPolicy) Inserts a new tab, with child as content, and the given label.WMenu.itemAt(int index) Returns the item by index.WMenu.removeItem(WMenuItem item) Removes an item.Methods in eu.webtoolkit.jwt that return types with arguments of type WMenuItemModifier and TypeMethodDescriptionWMenu.getItems()Returns the items.WMenu.itemClosed()Signal which indicates that an item was closed.WMenu.itemSelected()Signal which indicates that a new item was selected.WMenu.itemSelectRendered()Signal which indicates that a new selected item is rendered.WMenuItem.triggered()Signal emitted when an item is activated.WPopupMenu.triggered()Signal emitted when an item is selected.Methods in eu.webtoolkit.jwt with parameters of type WMenuItemModifier and TypeMethodDescriptionAdds an item.voidCloses an item.intReturns the index of an item.WMenu.insertItem(int index, WMenuItem item) Inserts an item.booleanWMenu.isItemDisabled(WMenuItem item) Returns whether the item widget of the given item is disabled.booleanWMenu.isItemHidden(WMenuItem item) Returns whether the item widget of the given item is hidden.voidMoves an item.WMenu.removeItem(WMenuItem item) Removes an item.protected voidWMenu.renderSelected(WMenuItem item, boolean selected) protected voidWPopupMenu.renderSelected(WMenuItem item, boolean selected) voidSelects an item.voidWMenu.setItemDisabled(WMenuItem item, boolean disabled) Disables an item.voidWMenu.setItemHidden(WMenuItem item, boolean hidden) Hides an item.