Package org.luwrain.popups
Class EditableListPopup<E>
java.lang.Object
org.luwrain.controls.ListArea<E>
org.luwrain.controls.EditableListArea<E>
org.luwrain.popups.EditableListPopup<E>
- All Implemented Interfaces:
ClipboardTranslator.Provider,RegionTextQueryTranslator.Provider,Area,HotPoint,Lines,Popup,PopupClosingTranslator.Provider
- Direct Known Subclasses:
CcEditPopup
public class EditableListPopup<E>
extends EditableListArea<E>
implements Popup, PopupClosingTranslator.Provider
-
Nested Class Summary
Nested classes/interfaces inherited from class org.luwrain.controls.EditableListArea
EditableListArea.Confirmation<E>, EditableListArea.Model<E>, EditableListArea.Params<E>Nested classes/interfaces inherited from class org.luwrain.controls.ListArea
ListArea.Appearance<E>, ListArea.ClickHandler<E>, ListArea.ClipboardSaver<E>, ListArea.Flags, ListArea.ListeningInfo, ListArea.TransitionNested classes/interfaces inherited from interface org.luwrain.core.Popup
Popup.Flags, Popup.Position -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final PopupClosingTranslatorprotected final Luwrainprotected final Set<Popup.Flags>Fields inherited from class org.luwrain.controls.EditableListArea
confirmation, editableListModelFields 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
ConstructorsConstructorDescriptionEditableListPopup(Luwrain luwrain, EditableListArea.Params<E> params, Set<Popup.Flags> popupFlags) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanonCancel()booleanonInputEvent(InputEvent event) booleanonOk()booleanonSystemEvent(SystemEvent event) Object[]result()booleanMethods inherited from class org.luwrain.controls.EditableListArea
getEditableListConfirmation, onClipboardCopy, onClipboardPaste, onDeleteMultiple, onDeleteRegion, onDeleteSingleMethods 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, setListClickHandlerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.luwrain.core.Area
getAreaActions, getAreaName, getHotPointX, getHotPointY, onAreaQueryMethods inherited from interface org.luwrain.core.Lines
getLine, getLineCount
-
Field Details
-
closing
-
luwrain
-
popupFlags
-
-
Constructor Details
-
EditableListPopup
public EditableListPopup(Luwrain luwrain, EditableListArea.Params<E> params, Set<Popup.Flags> popupFlags)
-
-
Method Details
-
onInputEvent
- Specified by:
onInputEventin interfaceArea- Overrides:
onInputEventin classEditableListArea<E>
-
onSystemEvent
- Specified by:
onSystemEventin interfaceArea- Overrides:
onSystemEventin classEditableListArea<E>
-
onOk
public boolean onOk()- Specified by:
onOkin interfacePopupClosingTranslator.Provider
-
onCancel
public boolean onCancel()- Specified by:
onCancelin interfacePopupClosingTranslator.Provider
-
result
-
getLuwrainObject
- Specified by:
getLuwrainObjectin interfacePopup
-
isPopupActive
public boolean isPopupActive()- Specified by:
isPopupActivein interfacePopup
-
wasCancelled
public boolean wasCancelled() -
getPopupFlags
- Specified by:
getPopupFlagsin interfacePopup
-