public interface ISnappingLocationProvider
ISnappingLocationProvider is used to determine
SnappingModel.SnappingLocations for an IContentPart.| 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. |
static ISnappingLocationProvider |
union(java.util.List<ISnappingLocationProvider> providers)
Combines the given
ISnappingLocationProviders by wrapping them in
a new ISnappingLocationProvider that returns a combination of all
SnappingModel.SnappingLocations that are returned by the individual providers. |
static ISnappingLocationProvider union(java.util.List<ISnappingLocationProvider> providers)
ISnappingLocationProviders by wrapping them in
a new ISnappingLocationProvider that returns a combination of all
SnappingModel.SnappingLocations that are returned by the individual providers.providers - The ISnappingLocationProviders to combine.ISnappingLocationProvider that represents the
combination of the given providers.java.util.List<SnappingModel.SnappingLocation> getHorizontalSnappingLocations(IContentPart<? extends javafx.scene.Node> part)
SnappingModel.SnappingLocations for the given
IContentPart.part - The IContentPart for which to compute the
SnappingModel.SnappingLocations.List of all horizontal SnappingModel.SnappingLocations for
the given IContentPart.java.util.List<SnappingModel.SnappingLocation> getVerticalSnappingLocations(IContentPart<? extends javafx.scene.Node> part)
SnappingModel.SnappingLocations for the given
IContentPart.part - 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.