Class PanForceTouchTool
java.lang.Object
com.levigo.jadice.web.client.tool.Tool
com.levigo.jadice.web.client.tools.PanForceTool
com.levigo.jadice.web.client.tools.PanForceTouchTool
- All Implemented Interfaces:
MenuContributor
A tool for scrolling with one finger. Its equal to the
PanForceMouseTool.-
Nested Class Summary
Nested classes/interfaces inherited from class com.levigo.jadice.web.client.tools.PanForceTool
PanForceTool.PanForceGestureNested classes/interfaces inherited from class com.levigo.jadice.web.client.tool.Tool
Tool.ActivationRequest -
Field Summary
Fields inherited from class com.levigo.jadice.web.client.tools.PanForceTool
ACTIVATION_VOTE, HAND_CURSOR, modifierAndButtonMask, MODIFIERS_ONLY_MASK, useIdlePanModeCursorFields inherited from class com.levigo.jadice.web.client.tool.Tool
DEFAULT_PRIORITY, MAX_PRIORITY, MIN_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Tool.ActivationRequestReturn the auto-activation request for this this tool in response to a touch move.protected Tool.ActivationRequestReturn the auto-activation request for this this tool in response to a touch start.protected voidhandleTouchMove(TouchEditEvent e, boolean isActive) Invoked when a touch changed.booleanvoidsetShowOverlayInformation(boolean showOverlayInformation) Methods inherited from class com.levigo.jadice.web.client.tools.PanForceTool
getDispatchPriority, getModifierAndButtonMask, handleEditEvent, isUseIdlePanModeCursor, setModifierAndButtonMask, setUseIdlePanModeCursorMethods inherited from class com.levigo.jadice.web.client.tool.Tool
contribute, ensureDebugId, getActivationFeedback, getActivationFeedback, getActivationRequest, getActivationRequestForKeyPressed, getActivationRequestForMouseDragged, getActivationRequestForMousePressed, getManager, getRenderPriority, handleGestureChange, handleGestureEnd, handleGestureStart, handleKeyPressed, handleKeyReleased, handleKeyTyped, handleMouseClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMouseMoved, handleMousePressed, handleMouseReleased, handleMouseWheelMoved, handlePointerDown, handlePointerMove, handlePointerUp, handleTouchEnd, handleTouchStart, propagatePropertyChange, render, setActive, setCursor, setCursor, setEnabled, setManager, setStatusFeedback
-
Constructor Details
-
PanForceTouchTool
public PanForceTouchTool()
-
-
Method Details
-
isShowOverlayInformation
public boolean isShowOverlayInformation() -
setShowOverlayInformation
public void setShowOverlayInformation(boolean showOverlayInformation) -
handleTouchMove
Description copied from class:ToolInvoked when a touch changed.- Overrides:
handleTouchMovein classTool- Parameters:
e- theTouchEditEventisActive- whether this tool is currently active
-
getActivationRequestForTouchMove
Description copied from class:ToolReturn the auto-activation request for this this tool in response to a touch move. If the tool returns anTool.ActivationRequest, it becomes eligible for auto-activation. However, the final decision about which tool will actually be activated is up to theToolActivationPolicyused be the tool manager.- Overrides:
getActivationRequestForTouchMovein classTool- Parameters:
e- theKeyEditEvent- Returns:
- an
Tool.ActivationRequestornullif the tool does not seek to be auto-activated at this time.
-
getActivationRequestForTouchStart
Description copied from class:ToolReturn the auto-activation request for this this tool in response to a touch start. If the tool returns anTool.ActivationRequest, it becomes eligible for auto-activation. However, the final decision about which tool will actually be activated is up to theToolActivationPolicyused be the tool manager.- Overrides:
getActivationRequestForTouchStartin classTool- Parameters:
e- theKeyEditEvent- Returns:
- an
Tool.ActivationRequestornullif the tool does not seek to be auto-activated at this time.
-