Package org.luwrain.controls
Class EmbeddedEdit.ShiftedRegionPoint
java.lang.Object
org.luwrain.controls.EmbeddedEdit.ShiftedRegionPoint
- All Implemented Interfaces:
AbstractRegionPoint
,HotPoint
- Enclosing class:
EmbeddedEdit
protected static final class EmbeddedEdit.ShiftedRegionPoint
extends Object
implements AbstractRegionPoint
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
boolean
boolean
onSystemEvent
(SystemEvent event, int hotPointX, int hotPointY) void
reset()
void
set
(int hotPointX, int hotPointY) void
setOffset
(int x, int y)
-
Field Details
-
regionPoint
-
offsetX
protected int offsetX -
offsetY
protected int offsetY
-
-
Method Details
-
onSystemEvent
- Specified by:
onSystemEvent
in interfaceAbstractRegionPoint
-
isInitialized
public boolean isInitialized()- Specified by:
isInitialized
in interfaceAbstractRegionPoint
-
set
public void set(int hotPointX, int hotPointY) - Specified by:
set
in interfaceAbstractRegionPoint
-
getHotPointX
public int getHotPointX()- Specified by:
getHotPointX
in interfaceHotPoint
-
getHotPointY
public int getHotPointY()- Specified by:
getHotPointY
in interfaceHotPoint
-
reset
public void reset()- Specified by:
reset
in interfaceAbstractRegionPoint
-
setOffset
public void setOffset(int x, int y)
-