Package com.teamdev.jxbrowser.menu
Interface ContextMenuItem
public interface ContextMenuItem
A custom context menu item.
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanReturnstrueif the context menu item is checked.default booleanReturnstrueif the context menu item is enabled.default List<ContextMenuItem>items()Returns an immutable list of the sub-items of the context menu item.default Stringtext()Returns a string that represents the text of the context menu item.default ContextMenuItemTypetype()Returns the type of the context menu item.
-
Method Details
-
text
Returns a string that represents the text of the context menu item. -
isEnabled
default boolean isEnabled()Returnstrueif the context menu item is enabled. -
isChecked
default boolean isChecked()Returnstrueif the context menu item is checked. -
type
Returns the type of the context menu item. -
items
Returns an immutable list of the sub-items of the context menu item.
-