public interface ContextMenuItem
Modifier and Type | Method and Description |
---|---|
default boolean |
isChecked()
Returns
true if the context menu item is checked. |
default boolean |
isEnabled()
Returns
true if the context menu item is enabled. |
default java.util.List<ContextMenuItem> |
items()
Returns an immutable list of the sub-items of the context menu item.
|
default java.lang.String |
text()
Returns a string that represents the text of the context menu item.
|
default ContextMenuItemType |
type()
Returns the type of the context menu item.
|
default java.lang.String text()
default boolean isEnabled()
true
if the context menu item is enabled.default boolean isChecked()
true
if the context menu item is checked.default ContextMenuItemType type()
default java.util.List<ContextMenuItem> items()