Package jexer
Interface EditMenuUser
-
- All Known Implementing Classes:
TEditorWidget
,TField
,TImage
,TPasswordField
,TTerminalWidget
public interface EditMenuUser
EditMenuUser is used by TApplication to enable/disable edit menu items. A widget that supports these functions should define an onCommand method that operates on cmCut, cmCopy, cmPaste, and cmClear.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isEditMenuClear()
Check if the clear menu item should be enabled.boolean
isEditMenuCopy()
Check if the copy menu item should be enabled.boolean
isEditMenuCut()
Check if the cut menu item should be enabled.boolean
isEditMenuPaste()
Check if the paste menu item should be enabled.
-
-
-
Method Detail
-
isEditMenuCut
boolean isEditMenuCut()
Check if the cut menu item should be enabled.- Returns:
- true if the cut menu item should be enabled
-
isEditMenuCopy
boolean isEditMenuCopy()
Check if the copy menu item should be enabled.- Returns:
- true if the copy menu item should be enabled
-
isEditMenuPaste
boolean isEditMenuPaste()
Check if the paste menu item should be enabled.- Returns:
- true if the paste menu item should be enabled
-
isEditMenuClear
boolean isEditMenuClear()
Check if the clear menu item should be enabled.- Returns:
- true if the clear menu item should be enabled
-
-