Uses of Enum Class
com.levigo.jadice.web.client.grid.Grid.SnapTo
Packages that use Grid.SnapTo
Package
Description
-
Uses of Grid.SnapTo in com.levigo.jadice.web.client.grid
Methods in com.levigo.jadice.web.client.grid that return Grid.SnapToModifier 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.Methods in com.levigo.jadice.web.client.grid with parameters of type Grid.SnapToModifier 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
Methods in com.levigo.jadice.web.client.internal.annotation that return Grid.SnapToModifier and TypeMethodDescriptionstatic Grid.SnapTo
AnnotationTransformHelper.getSnapToForAnnotations
(List<ShapeBasedAnnotation> annos) -
Uses of Grid.SnapTo in com.levigo.jadice.web.client.internal.annotation.wrangler
Methods in com.levigo.jadice.web.client.internal.annotation.wrangler with parameters of type Grid.SnapToModifier 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
Fields in com.levigo.jadice.web.client.util declared as Grid.SnapToMethods in com.levigo.jadice.web.client.util that return Grid.SnapToModifier and TypeMethodDescriptionprotected Grid.SnapTo
Gesture.getSnapToForSelection
(List<ShapeBasedAnnotation> selectedAnnos) Returns theGrid.SnapTo
for the current selection.