Package org.luwrain.controls
Class EditableListArea<E>
java.lang.Object
org.luwrain.controls.ListArea<E>
org.luwrain.controls.EditableListArea<E>
- All Implemented Interfaces:
ClipboardTranslator.Provider
,RegionTextQueryTranslator.Provider
,Area
,HotPoint
,Lines
- Direct Known Subclasses:
EditableListPopup
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
static class
Nested classes/interfaces inherited from class org.luwrain.controls.ListArea
ListArea.Appearance<E>, ListArea.ClickHandler<E>, ListArea.ClipboardSaver<E>, ListArea.Flags, ListArea.ListeningInfo, ListArea.Transition
-
Field Summary
Modifier and TypeFieldDescriptionprotected final EditableListArea.Confirmation<E>
protected final EditableListArea.Model<E>
Fields inherited from class org.luwrain.controls.ListArea
areaName, BRIEF_ANNOUNCEMENT_ONLY, clipboardTranslator, context, hotPointX, hotPointY, listAppearance, listClickHandler, listClipboardSaver, listFlags, listModel, listTransition, NONE_APPEARANCE_FLAGS, regionPoint, regionTextQueryTranslator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
onClipboardCopy
(int fromX, int fromY, int toX, int toY, boolean withDeleting) protected boolean
protected boolean
onDeleteMultiple
(int fromLineIndex, int toLineIndex, boolean withConfirmation) boolean
onDeleteRegion
(int fromX, int fromY, int toX, int toY) protected boolean
onDeleteSingle
(int lineIndex, boolean withConfirmation) boolean
onInputEvent
(InputEvent event) boolean
onSystemEvent
(SystemEvent event) Methods inherited from class org.luwrain.controls.ListArea
announceChar, announceSelected, getAreaActions, getAreaName, getExistingItemIndexOnLine, getHotPointX, getHotPointY, getItemIndexOnLine, getItemOnLine, getLine, getLineCount, getLineIndexByItemIndex, getListAppearance, getListItemCount, getListModel, getObservableSubstr, isEmpty, noContent, noContentStr, onAltEnd, onAltHome, onAltLeft, onAltRight, onAnnounce, onAnnounceLine, onAreaQuery, onBeginListeningQuery, onChar, onClipboardCopyAll, onEnd, onEnter, onHome, onListeningFinishedEvent, onMoveDown, onMoveHotPoint, onMoveLeft, onMoveRight, onMoveUp, onNewHotPointY, onOk, onPageDown, onPageUp, onRegionTextQuery, onTransition, redraw, refresh, reset, resetHotPoint, resetHotPoint, select, select, selected, selectedIndex, selectEmptyLineBottom, setAreaName, setListClickHandler
-
Field Details
-
editableListModel
-
confirmation
-
-
Constructor Details
-
EditableListArea
-
-
Method Details
-
getEditableListConfirmation
-
onInputEvent
- Specified by:
onInputEvent
in interfaceArea
- Overrides:
onInputEvent
in classListArea<E>
-
onSystemEvent
- Specified by:
onSystemEvent
in interfaceArea
- Overrides:
onSystemEvent
in classListArea<E>
-
onClipboardCopy
public boolean onClipboardCopy(int fromX, int fromY, int toX, int toY, boolean withDeleting) - Specified by:
onClipboardCopy
in interfaceClipboardTranslator.Provider
- Overrides:
onClipboardCopy
in classListArea<E>
-
onDeleteRegion
public boolean onDeleteRegion(int fromX, int fromY, int toX, int toY) - Specified by:
onDeleteRegion
in interfaceClipboardTranslator.Provider
- Overrides:
onDeleteRegion
in classListArea<E>
-
onClipboardPaste
protected boolean onClipboardPaste() -
onDeleteSingle
protected boolean onDeleteSingle(int lineIndex, boolean withConfirmation) -
onDeleteMultiple
protected boolean onDeleteMultiple(int fromLineIndex, int toLineIndex, boolean withConfirmation)
-