Class PointerEditEvent
java.lang.Object
com.levigo.jadice.web.client.tool.events.EventObject
com.levigo.jadice.web.client.tool.events.EditEvent
com.levigo.jadice.web.client.tool.events.PointedEditEvent
com.levigo.jadice.web.client.tool.events.PointerEditEvent
-
Field Summary
Fields inherited from class com.levigo.jadice.web.client.tool.events.EditEvent
document, inputEvent, pageBounds
Fields inherited from class com.levigo.jadice.web.client.tool.events.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionPointerEditEvent
(PageView source, com.google.gwt.event.dom.client.DomEvent<?> inputEvent, Page page, int pageIndex, Rectangle pageBounds, RenderControls pageRenderControls) -
Method Summary
Modifier and TypeMethodDescriptiongetAbsolutePoint
(int finger) Overridden in subclasses.getPoint()
getPoint
(int finger) Return the point relative to the RenderedPage's origin in screen coordinates.boolean
Methods inherited from class com.levigo.jadice.web.client.tool.events.PointedEditEvent
getConstrainedDocumentPoint, getConstrainedDocumentPoint, getConstrainedPoint, getDocumentPoint, getDocumentPoint, getPointerRelativeX, getPointerRelativeY, getX, getY, isWithinPageBounds, setOldPosition
Methods inherited from class com.levigo.jadice.web.client.tool.events.EditEvent
consume, create, getDocument, getGwtEvent, getInputEventType, getModifiers, getModifiersEx, getPage, getPageIndex, getPageRenderControls, getRenderedPageBounds, getRenderedSize, getWhen, hasCanvasTargetSource, hasPageContext, isAltDown, isAltGraphDown, isConsumed, isControlDown, isMetaDown, isPreventPageViewFocus, isShiftDown, preventPageViewFocus, toString
Methods inherited from class com.levigo.jadice.web.client.tool.events.EventObject
getSource
-
Constructor Details
-
Method Details
-
getPoint
Description copied from class:PointedEditEvent
Return the point relative to the RenderedPage's origin in screen coordinates.- Specified by:
getPoint
in classPointedEditEvent
- Parameters:
finger
- the finger of the touch (only for touch event)- Returns:
- The point relative to the RenderedPage's origin.
- See Also:
-
getPoint
-
getAbsolutePoint
- Specified by:
getAbsolutePoint
in classPointedEditEvent
- Parameters:
finger
- the finger of the touch (only for touch event)- Returns:
- the Point relative to the PageView-TopLeft
-
getInputEvent
Description copied from class:EditEvent
Overridden in subclasses.Implement only for legacy purposes.
- Specified by:
getInputEvent
in classEditEvent
- Returns:
- The inputEvent used for legacy purposes.
-
isWithinPageBounds
public boolean isWithinPageBounds()
-