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, pageBoundsFields 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.booleanMethods inherited from class com.levigo.jadice.web.client.tool.events.PointedEditEvent
getConstrainedDocumentPoint, getConstrainedDocumentPoint, getConstrainedPoint, getDocumentPoint, getDocumentPoint, getPointerRelativeX, getPointerRelativeY, getX, getY, isWithinPageBounds, setOldPositionMethods 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, toStringMethods inherited from class com.levigo.jadice.web.client.tool.events.EventObject
getSource
-
Constructor Details
-
Method Details
-
getPoint
Description copied from class:PointedEditEventReturn the point relative to the RenderedPage's origin in screen coordinates.- Specified by:
getPointin 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:
getAbsolutePointin 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:EditEventOverridden in subclasses.Implement only for legacy purposes.
- Specified by:
getInputEventin classEditEvent- Returns:
- The inputEvent used for legacy purposes.
-
isWithinPageBounds
public boolean isWithinPageBounds()
-