Class MoveGesture
java.lang.Object
com.levigo.jadice.web.client.util.Gesture
com.levigo.jadice.web.client.internal.annotation.wrangler.MoveGesture
Gesture for moving annotations. Several annotations can be moved at once.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.levigo.jadice.web.client.util.Gesture
Gesture.GestureHandler
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionMoveGesture
(Collection<? extends Annotation> annotations, PageView pageView, Page page) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
init()
Add your Dom-Handlers herestatic boolean
isAllowed
(PageView pageView, Page page, Collection<? extends Annotation> annotations) protected void
moveHandler
(int x, int y) Methods inherited from class com.levigo.jadice.web.client.util.Gesture
addDomHandler, addHandler, currentGestureStop, getSnapToForSelection, onStart, onStop, start, stop
-
Constructor Details
-
MoveGesture
-
-
Method Details
-
isAllowed
public static boolean isAllowed(PageView pageView, Page page, Collection<? extends Annotation> annotations) -
moveHandler
protected void moveHandler(int x, int y) -
init
protected void init()Description copied from class:Gesture
Add your Dom-Handlers here -
getDescription
- Overrides:
getDescription
in classGesture
-