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.SnapToSnapToMappings.getFor(Class<? extends Annotation> annoClass) Returns theGrid.SnapToof a previously added mapping.static Grid.SnapToReturns 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 voidSnapToMappings.add(Class<? extends Annotation> annoClass, Grid.SnapTo snapTo) Adds a new mapping between anAnnotationclass and aGrid.SnapTolocation.BoundedGrid.snap(Point2D srcPoint, Grid.SnapTo snapTo) Grid.snap(Point2D point, Grid.SnapTo snapTo) Returns an aligned point which is residing on its correspondingCellat 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.SnapToAnnotationTransformHelper.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 voidLineAnnotationWrangler.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 voidLineAnnotationWrangler.ensureMinimumLength(Point2D start, Point2D end, Grid.SnapTo snapTo, Page page, Grid grid) voidResizeAnnotationsGesture.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.SnapToGesture.getSnapToForSelection(List<ShapeBasedAnnotation> selectedAnnos) Returns theGrid.SnapTofor the current selection.