Package org.luwrain.popups
Class WebSearchResultPopup
- All Implemented Interfaces:
ClipboardTranslator.Provider
,ListArea.ClickHandler<Object>
,RegionTextQueryTranslator.Provider
,Area
,HotPoint
,Lines
,Popup
,PopupClosingTranslator.Provider
public class WebSearchResultPopup
extends ListPopupBase<Object>
implements ListArea.ClickHandler<Object>
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
protected static class
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>
Nested classes/interfaces inherited from interface org.luwrain.core.Popup
Popup.Flags, Popup.Position
-
Field Summary
Fields inherited from class org.luwrain.popups.ListPopupBase
closing, luwrain, popupFlags
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
ConstructorDescriptionWebSearchResultPopup
(Luwrain luwrain, String name, WebSearchResult webSearchResult, Set<Popup.Flags> popupFlags) -
Method Summary
Modifier and TypeMethodDescriptionprotected static Object[]
protected static ListArea.Params<Object>
createParams
(Luwrain luwrain, String name, WebSearchResult res) boolean
onListClick
(ListArea area, int index, Object item) static WebSearchResult.Item
open
(Luwrain luwrain, WebSearchResult webSearchResult) result()
Methods inherited from class org.luwrain.popups.ListPopupBase
getLuwrainObject, getPopupFlags, isPopupActive, onCancel, onInputEvent, onOk, onSystemEvent, wasCancelled
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, 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.luwrain.core.Area
getAreaActions, getAreaName, getHotPointX, getHotPointY, onAreaQuery
Methods inherited from interface org.luwrain.core.Lines
getLine, getLineCount
-
Field Details
-
webSearchResult
-
result
-
-
Constructor Details
-
WebSearchResultPopup
public WebSearchResultPopup(Luwrain luwrain, String name, WebSearchResult webSearchResult, Set<Popup.Flags> popupFlags)
-
-
Method Details
-
result
-
onListClick
- Specified by:
onListClick
in interfaceListArea.ClickHandler<Object>
-
createParams
protected static ListArea.Params<Object> createParams(Luwrain luwrain, String name, WebSearchResult res) -
createListItems
-
open
-