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.PanForceGesture
Nested 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, useIdlePanModeCursor
Fields 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.ActivationRequest
Return the auto-activation request for this this tool in response to a touch move.protected Tool.ActivationRequest
Return the auto-activation request for this this tool in response to a touch start.protected void
handleTouchMove
(TouchEditEvent e, boolean isActive) Invoked when a touch changed.boolean
void
setShowOverlayInformation
(boolean showOverlayInformation) Methods inherited from class com.levigo.jadice.web.client.tools.PanForceTool
getDispatchPriority, getModifierAndButtonMask, handleEditEvent, isUseIdlePanModeCursor, setModifierAndButtonMask, setUseIdlePanModeCursor
Methods 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:Tool
Invoked when a touch changed.- Overrides:
handleTouchMove
in classTool
- Parameters:
e
- theTouchEditEvent
isActive
- whether this tool is currently active
-
getActivationRequestForTouchMove
Description copied from class:Tool
Return 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 theToolActivationPolicy
used be the tool manager.- Overrides:
getActivationRequestForTouchMove
in classTool
- Parameters:
e
- theKeyEditEvent
- Returns:
- an
Tool.ActivationRequest
ornull
if the tool does not seek to be auto-activated at this time.
-
getActivationRequestForTouchStart
Description copied from class:Tool
Return 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 theToolActivationPolicy
used be the tool manager.- Overrides:
getActivationRequestForTouchStart
in classTool
- Parameters:
e
- theKeyEditEvent
- Returns:
- an
Tool.ActivationRequest
ornull
if the tool does not seek to be auto-activated at this time.
-