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
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic classNested 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
FieldsModifier 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanonClipboardCopy(int fromX, int fromY, int toX, int toY, boolean withDeleting) protected booleanprotected booleanonDeleteMultiple(int fromLineIndex, int toLineIndex, boolean withConfirmation) booleanonDeleteRegion(int fromX, int fromY, int toX, int toY) protected booleanonDeleteSingle(int lineIndex, boolean withConfirmation) booleanonInputEvent(InputEvent event) booleanonSystemEvent(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:
onInputEventin interfaceArea- Overrides:
onInputEventin classListArea<E>
-
onSystemEvent
- Specified by:
onSystemEventin interfaceArea- Overrides:
onSystemEventin classListArea<E>
-
onClipboardCopy
public boolean onClipboardCopy(int fromX, int fromY, int toX, int toY, boolean withDeleting) - Specified by:
onClipboardCopyin interfaceClipboardTranslator.Provider- Overrides:
onClipboardCopyin classListArea<E>
-
onDeleteRegion
public boolean onDeleteRegion(int fromX, int fromY, int toX, int toY) - Specified by:
onDeleteRegionin interfaceClipboardTranslator.Provider- Overrides:
onDeleteRegionin classListArea<E>
-
onClipboardPaste
protected boolean onClipboardPaste() -
onDeleteSingle
protected boolean onDeleteSingle(int lineIndex, boolean withConfirmation) -
onDeleteMultiple
protected boolean onDeleteMultiple(int fromLineIndex, int toLineIndex, boolean withConfirmation)
-