Uses of Enum Class
com.levigo.jadice.web.client.grid.Grid.SnapTo
Package
Description
-
Uses of Grid.SnapTo in com.levigo.jadice.web.client.grid
Modifier and TypeMethodDescriptionstatic Grid.SnapTo
SnapToMappings.getFor
(Class<? extends Annotation> annoClass) Returns theGrid.SnapTo
of a previously added mapping.static Grid.SnapTo
Returns the enum constant of this class with the specified name.static Grid.SnapTo[]
Grid.SnapTo.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic void
SnapToMappings.add
(Class<? extends Annotation> annoClass, Grid.SnapTo snapTo) Adds a new mapping between anAnnotation
class and aGrid.SnapTo
location.BoundedGrid.snap
(Point2D srcPoint, Grid.SnapTo snapTo) Grid.snap
(Point2D point, Grid.SnapTo snapTo) Returns an aligned point which is residing on its correspondingCell
at the position determined byGrid.SnapTo
.NoOpGrid.snap
(Point2D point, Grid.SnapTo snapTo) -
Uses of Grid.SnapTo in com.levigo.jadice.web.client.internal.annotation
Modifier and TypeMethodDescriptionstatic Grid.SnapTo
AnnotationTransformHelper.getSnapToForAnnotations
(List<ShapeBasedAnnotation> annos) -
Uses of Grid.SnapTo in com.levigo.jadice.web.client.internal.annotation.wrangler
Modifier and TypeMethodDescriptionprotected void
LineAnnotationWrangler.ensureMinimumLength
(Point2D start, Point2D end, double minLength, Grid.SnapTo snapTo, Page page, Grid grid) Makes sure the line length does not fall below the minimum length by maintaining a minimum distance between the edited point and its opposite.protected void
LineAnnotationWrangler.ensureMinimumLength
(Point2D start, Point2D end, Grid.SnapTo snapTo, Page page, Grid grid) void
ResizeAnnotationsGesture.setBoundsWithinPageAndGrid
(Rectangle newBounds, Grid grid, Grid.SnapTo snapTo) -
Uses of Grid.SnapTo in com.levigo.jadice.web.client.util
Modifier and TypeMethodDescriptionprotected Grid.SnapTo
Gesture.getSnapToForSelection
(List<ShapeBasedAnnotation> selectedAnnos) Returns theGrid.SnapTo
for the current selection.