Package org.luwrain.controls
Class MarkableListArea
- All Implemented Interfaces:
ClipboardTranslator.Provider,RegionTextQueryTranslator.Provider,Area,HotPoint,Lines
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic 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.Model<E>, ListArea.Transition -
Field Summary
FieldsFields 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) booleanonInputEvent(InputEvent event) booleanonSystemEvent(SystemEvent event) protected booleanvoidrefresh()Refreshes the content of the list.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, onDeleteRegion, onEnd, onEnter, onHome, onListeningFinishedEvent, onMoveDown, onMoveHotPoint, onMoveLeft, onMoveRight, onMoveUp, onNewHotPointY, onOk, onPageDown, onPageUp, onRegionTextQuery, onTransition, redraw, reset, resetHotPoint, resetHotPoint, select, select, selected, selectedIndex, selectEmptyLineBottom, setAreaName, setListClickHandler
-
Field Details
-
marksInfo
-
-
Constructor Details
-
MarkableListArea
-
-
Method Details
-
onInputEvent
- Specified by:
onInputEventin interfaceArea- Overrides:
onInputEventin classListArea<Object>
-
onSystemEvent
- Specified by:
onSystemEventin interfaceArea- Overrides:
onSystemEventin classListArea<Object>
-
onToggleMark
protected boolean onToggleMark() -
refresh
public void refresh()Description copied from class:ListAreaRefreshes the content of the list. This method callsrefresh()method of the model and displays new items. It does not produce any speech announcement of the change. HotPointY is preserved if it is possible (meaning, the new number of lines not less than old value of hotPointY), but hotPointX is moved to the beginning of the line. -
onClipboardCopy
public boolean onClipboardCopy(int fromX, int fromY, int toX, int toY, boolean withDeleting) - Specified by:
onClipboardCopyin interfaceClipboardTranslator.Provider- Overrides:
onClipboardCopyin classListArea<Object>
-