Package org.luwrain.controls
Class RegionPointShift
java.lang.Object
org.luwrain.controls.RegionPointShift
- All Implemented Interfaces:
AbstractRegionPoint
,HotPoint
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
boolean
boolean
onSystemEvent
(SystemEvent event, int hotPointX, int hotPointY) void
reset()
void
set
(int hotPointX, int hotPointY) void
setOffset
(int offsetX, int offsetY) void
setOffsetX
(int offsetX) void
setOffsetY
(int offsetY)
-
Field Details
-
regionPoint
-
offsetX
protected int offsetX -
offsetY
protected int offsetY
-
-
Constructor Details
-
RegionPointShift
-
-
Method Details
-
getHotPointX
public int getHotPointX()- Specified by:
getHotPointX
in interfaceHotPoint
-
getHotPointY
public int getHotPointY()- Specified by:
getHotPointY
in interfaceHotPoint
-
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
-
reset
public void reset()- Specified by:
reset
in interfaceAbstractRegionPoint
-
getOffsetX
public int getOffsetX() -
setOffsetX
public void setOffsetX(int offsetX) -
getOffsetY
public int getOffsetY() -
setOffsetY
public void setOffsetY(int offsetY) -
setOffset
public void setOffset(int offsetX, int offsetY)
-