Package org.luwrain.popups
Class FormPopup
java.lang.Object
org.luwrain.controls.NavigationArea
org.luwrain.controls.FormArea
org.luwrain.popups.FormPopup
- All Implemented Interfaces:
ClipboardTranslator.Provider
,RegionTextQueryTranslator.Provider
,Area
,HotPoint
,HotPointControl
,Lines
,Popup
,PopupClosingTranslator.Provider
-
Nested Class Summary
Nested classes/interfaces inherited from class org.luwrain.controls.FormArea
FormArea.Item, FormArea.ListChoosing, FormArea.MultilineEditChangeListener, FormArea.MultilineEditUpdating, FormArea.Type
Nested classes/interfaces inherited from interface org.luwrain.core.Popup
Popup.Flags, Popup.Position
-
Field Summary
Modifier and TypeFieldDescriptionprotected final PopupClosingTranslator
protected final Luwrain
protected final Set<Popup.Flags>
Fields inherited from class org.luwrain.controls.FormArea
context, items, mlEdit, mlEditChangeListeners, mlEditContent, mlEditHotPoint, multilineEditCaption, multilineEditEnabled, name, nextAutoNameNum
Fields inherited from class org.luwrain.controls.NavigationArea
clipboardTranslator, hotPointX, hotPointY, regionPoint, regionTextQueryTranslator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
onCancel()
boolean
onInputEvent
(InputEvent event) boolean
onOk()
boolean
onSystemEvent
(SystemEvent event) boolean
Methods inherited from class org.luwrain.controls.FormArea
activateMultilineEdit, activateMultilineEdit, activateMultilineEdit, addCheckbox, addCheckbox, addEdit, addEdit, addEdit, addList, addPasswd, addStatic, addStatic, addStatic, addUniRef, announceLine, clear, createMultilineEditParams, findItemByIndex, findItemByName, getAreaName, getCheckboxState, getEnteredText, getEnteredText, getItemCount, getItemNameOnLine, getItemNewAutoName, getItemObj, getItemObjByName, getItemTypeOnLine, getLine, getLineCount, getMultilineEditChangeListeners, getMultilineEditContent, getMultilineEditHotPoint, getMultilineEditText, getMultilineEditText, getNewHotPointX, getSelectedListItem, getUniRefInfo, getUniRefInfo, hasItemWithName, isHotPointInMultilineEdit, isMultilineEditActivated, isMultilineEditEnabled, isPointInMultilineEdit, multilineEditHasCaption, notifyChangeListeners, onAreaQuery, removeItemByName, removeItemOnLine, setAreaName, setEnteredText, updateItems, updateMultilineEdit
Methods inherited from class org.luwrain.controls.NavigationArea
beginHotPointTrans, defaultLineAnnouncement, endHotPointTrans, getAreaActions, getHotPointX, getHotPointY, getLineNotNull, getNextBlockLine, getPrevBlockLine, getRegionPoint, getValidLineCount, isBlockBoundLine, onAltEnd, onAltHome, onAltLeft, onAltRight, onClipboardCopy, onClipboardCopyAll, onDeleteRegion, onEnd, onHome, onMoveDown, onMoveLeft, onMoveRight, onMoveUp, onPageDown, onPageUp, onRegionTextQuery, redraw, reset, setHotPoint, setHotPointX, setHotPointY
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
-
closing
-
luwrain
-
popupFlags
-
-
Constructor Details
-
FormPopup
-
-
Method Details
-
onInputEvent
- Specified by:
onInputEvent
in interfaceArea
- Overrides:
onInputEvent
in classFormArea
-
onSystemEvent
- Specified by:
onSystemEvent
in interfaceArea
- Overrides:
onSystemEvent
in classFormArea
-
onOk
public boolean onOk()- Specified by:
onOk
in interfacePopupClosingTranslator.Provider
-
onCancel
public boolean onCancel()- Specified by:
onCancel
in interfacePopupClosingTranslator.Provider
-
getLuwrainObject
- Specified by:
getLuwrainObject
in interfacePopup
-
isPopupActive
public boolean isPopupActive()- Specified by:
isPopupActive
in interfacePopup
-
wasCancelled
public boolean wasCancelled() -
getPopupFlags
- Specified by:
getPopupFlags
in interfacePopup
-