Package org.luwrain.controls
Class EmbeddedEdit
java.lang.Object
org.luwrain.controls.EmbeddedEdit
- All Implemented Interfaces:
SingleLineEdit.Model
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected final ControlContext
protected final SingleLineEdit
protected final HotPointControl
protected final EmbeddedEditLines
protected int
protected int
protected final EmbeddedEdit.ShiftedRegionPoint
-
Constructor Summary
ConstructorDescriptionEmbeddedEdit
(ControlContext context, EmbeddedEditLines lines, HotPointControl hotPoint, AbstractRegionPoint regionPoint, int offsetX, int offsetY) -
Method Summary
Modifier and TypeMethodDescriptionint
getLine()
boolean
isPosCovered
(int x, int y) boolean
onAreaQuery
(AreaQuery query) boolean
onInputEvent
(InputEvent event) boolean
onSystemEvent
(SystemEvent event) void
setHotPointX
(int value) void
void
setNewOffset
(int x, int y)
-
Field Details
-
context
-
edit
-
lines
-
hotPoint
-
regionPoint
-
offsetX
protected int offsetX -
offsetY
protected int offsetY
-
-
Constructor Details
-
EmbeddedEdit
public EmbeddedEdit(ControlContext context, EmbeddedEditLines lines, HotPointControl hotPoint, AbstractRegionPoint regionPoint, int offsetX, int offsetY)
-
-
Method Details
-
getEditObj
-
isPosCovered
public boolean isPosCovered(int x, int y) -
setNewOffset
public void setNewOffset(int x, int y) -
onInputEvent
-
onSystemEvent
-
onAreaQuery
-
getLine
- Specified by:
getLine
in interfaceSingleLineEdit.Model
-
setLine
- Specified by:
setLine
in interfaceSingleLineEdit.Model
-
getHotPointX
public int getHotPointX()- Specified by:
getHotPointX
in interfaceSingleLineEdit.Model
-
setHotPointX
public void setHotPointX(int value) - Specified by:
setHotPointX
in interfaceSingleLineEdit.Model
-
getTabSeq
- Specified by:
getTabSeq
in interfaceSingleLineEdit.Model
-