public class ConnectionSnappingLocationProvider extends java.lang.Object implements ISnappingLocationProvider
Constructor and Description |
---|
ConnectionSnappingLocationProvider() |
Modifier and Type | Method and Description |
---|---|
protected Connection |
getConnection(IContentPart<? extends javafx.scene.Node> part)
Returns the
Connection that is used as the basis for
determination of SnappingModel.SnappingLocation s for the given
IContentPart . |
java.util.List<SnappingModel.SnappingLocation> |
getHorizontalSnappingLocations(IContentPart<? extends javafx.scene.Node> part)
Returns the horizontal
SnappingModel.SnappingLocation s for the given
IContentPart . |
protected java.util.List<SnappingModel.SnappingLocation> |
getSnappingLocations(IContentPart<? extends javafx.scene.Node> part,
javafx.geometry.Orientation orientation)
Returns
SnappingModel.SnappingLocation s with given Orientation for the
getConnection(IContentPart) of the given IContentPart . |
java.util.List<SnappingModel.SnappingLocation> |
getVerticalSnappingLocations(IContentPart<? extends javafx.scene.Node> part)
Returns the vertical
SnappingModel.SnappingLocation s for the given
IContentPart . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
union
protected Connection getConnection(IContentPart<? extends javafx.scene.Node> part)
Connection
that is used as the basis for
determination of SnappingModel.SnappingLocation
s for the given
IContentPart
.part
- The IContentPart
for which to determine a
Connection
visual.Connection
that is used as the basis for
determination of SnappingModel.SnappingLocation
s for the given
IContentPart
.public java.util.List<SnappingModel.SnappingLocation> getHorizontalSnappingLocations(IContentPart<? extends javafx.scene.Node> part)
ISnappingLocationProvider
SnappingModel.SnappingLocation
s for the given
IContentPart
.getHorizontalSnappingLocations
in interface ISnappingLocationProvider
part
- The IContentPart
for which to compute the
SnappingModel.SnappingLocation
s.List
of all horizontal SnappingModel.SnappingLocation
s for
the given IContentPart
.protected java.util.List<SnappingModel.SnappingLocation> getSnappingLocations(IContentPart<? extends javafx.scene.Node> part, javafx.geometry.Orientation orientation)
SnappingModel.SnappingLocation
s with given Orientation
for the
getConnection(IContentPart)
of the given IContentPart
.part
- The IContentPart
for which to determine
SnappingModel.SnappingLocation
s.orientation
- The Orientation
for the locations.SnappingModel.SnappingLocation
s for the given IContentPart
and Orientation
.public java.util.List<SnappingModel.SnappingLocation> getVerticalSnappingLocations(IContentPart<? extends javafx.scene.Node> part)
ISnappingLocationProvider
SnappingModel.SnappingLocation
s for the given
IContentPart
.getVerticalSnappingLocations
in interface ISnappingLocationProvider
part
- The IContentPart
for which to compute the
SnappingModel.SnappingLocation
s.List
of all vertical SnappingModel.SnappingLocation
s for the
given IContentPart
.Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.