Package com.teamdev.jxbrowser.menu
Interface ContextMenuItem
public interface ContextMenuItem
A custom context menu item.
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
Returnstrue
if the context menu item is checked.default boolean
Returnstrue
if the context menu item is enabled.default List<ContextMenuItem>
items()
Returns an immutable list of the sub-items of the context menu item.default 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.
-
Method Details
-
text
Returns a string that represents the text of the context menu item. -
isEnabled
default boolean isEnabled()Returnstrue
if the context menu item is enabled. -
isChecked
default boolean isChecked()Returnstrue
if 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.
-