public class TopLeftSnappingLocationProvider extends BoundsSnappingLocationProvider
TopLeftSnappingLocationProvider returns the top left corner of
the bounds as the only snapping location. It can be used, for example, to
provide locations for SnapToGrid.| Constructor and Description |
|---|
TopLeftSnappingLocationProvider() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<SnappingModel.SnappingLocation> |
getHorizontalSnappingLocations(IContentPart<? extends javafx.scene.Node> part)
Returns the horizontal
SnappingModel.SnappingLocations for the given
IContentPart. |
java.util.List<SnappingModel.SnappingLocation> |
getVerticalSnappingLocations(IContentPart<? extends javafx.scene.Node> part)
Returns the vertical
SnappingModel.SnappingLocations for the given
IContentPart. |
getSnappingLocationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitunionpublic java.util.List<SnappingModel.SnappingLocation> getHorizontalSnappingLocations(IContentPart<? extends javafx.scene.Node> part)
ISnappingLocationProviderSnappingModel.SnappingLocations for the given
IContentPart.getHorizontalSnappingLocations in interface ISnappingLocationProvidergetHorizontalSnappingLocations in class BoundsSnappingLocationProviderpart - The IContentPart for which to compute the
SnappingModel.SnappingLocations.List of all horizontal SnappingModel.SnappingLocations for
the given IContentPart.public java.util.List<SnappingModel.SnappingLocation> getVerticalSnappingLocations(IContentPart<? extends javafx.scene.Node> part)
ISnappingLocationProviderSnappingModel.SnappingLocations for the given
IContentPart.getVerticalSnappingLocations in interface ISnappingLocationProvidergetVerticalSnappingLocations in class BoundsSnappingLocationProviderpart - The IContentPart for which to compute the
SnappingModel.SnappingLocations.List of all vertical SnappingModel.SnappingLocations for the
given IContentPart.Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.