Package org.luwrain.core.shell
Class MainMenu
- All Implemented Interfaces:
ClipboardTranslator.Provider
,RegionTextQueryTranslator.Provider
,Area
,HotPoint
,Lines
,PopupClosingTranslator.Provider
public final class MainMenu
extends ListArea<MainMenuItem>
implements PopupClosingTranslator.Provider
-
Nested Class Summary
Nested classes/interfaces inherited from class org.luwrain.controls.ListArea
ListArea.ClickHandler<E>, ListArea.ClipboardSaver<E>, ListArea.Flags, ListArea.ListeningInfo, ListArea.Model<E>, ListArea.Params<E>
-
Field Summary
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
-
Method Summary
Modifier and TypeMethodDescriptionstatic MainMenu
newMainMenu
(Luwrain luwrain) boolean
onAreaQuery
(AreaQuery query) boolean
onCancel()
boolean
onInputEvent
(InputEvent event) boolean
onOk()
boolean
onSystemEvent
(SystemEvent event) result()
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, onBeginListeningQuery, onChar, onClipboardCopy, onClipboardCopyAll, onDeleteRegion, 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
-
closing
-
-
Method Details
-
onInputEvent
- Specified by:
onInputEvent
in interfaceArea
- Overrides:
onInputEvent
in classListArea<MainMenuItem>
-
onSystemEvent
- Specified by:
onSystemEvent
in interfaceArea
- Overrides:
onSystemEvent
in classListArea<MainMenuItem>
-
onAreaQuery
- Specified by:
onAreaQuery
in interfaceArea
- Overrides:
onAreaQuery
in classListArea<MainMenuItem>
-
onOk
public boolean onOk()- Specified by:
onOk
in interfacePopupClosingTranslator.Provider
-
onCancel
public boolean onCancel()- Specified by:
onCancel
in interfacePopupClosingTranslator.Provider
-
result
-
newMainMenu
-