Interface WidgetAction.WidgetLocationEvent
- All Superinterfaces:
WidgetAction.WidgetEvent
- All Known Implementing Classes:
WidgetAction.WidgetDropTargetDragEvent
,WidgetAction.WidgetDropTargetDropEvent
,WidgetAction.WidgetMouseEvent
,WidgetAction.WidgetMouseWheelEvent
- Enclosing interface:
WidgetAction
Represents an location event used for controlling mouse location.
-
Method Summary
Modifier and TypeMethodDescriptiongetPoint()
Returns stored location.void
Sets a new location.void
translatePoint
(int x, int y) Translates the stored location.Methods inherited from interface org.netbeans.api.visual.action.WidgetAction.WidgetEvent
getEventID
-
Method Details
-
getPoint
-
setPoint
Sets a new location. This is called by a event provider only. Do not call this method unless you know what it does exactly.- Parameters:
point
- the new location
-
translatePoint
void translatePoint(int x, int y) Translates the stored location. Do not call this method unless you know what it does exactly.- Parameters:
x
- the x-axis additiony
- the y-axis addition
-