Uses of Class
org.eclipse.gef.fx.anchors.IComputationStrategy.Parameter
-
Packages that use IComputationStrategy.Parameter Package Description org.eclipse.gef.fx.anchors This package provides a visual anchor abstraction (IAnchor
), a related abstract base implementation (AbstractAnchor
), as well as concrete anchor implementations (StaticAnchor
,DynamicAnchor
) to manage dynamic positioning of visuals in dependence of others. -
-
Uses of IComputationStrategy.Parameter in org.eclipse.gef.fx.anchors
Subclasses of IComputationStrategy.Parameter in org.eclipse.gef.fx.anchors Modifier and Type Class Description static class
DynamicAnchor.AnchorageReferenceGeometry
AnIComputationStrategy.Parameter
that encapsulates an (anchorage) reference geometry.static class
DynamicAnchor.AnchorageReferencePosition
AnIComputationStrategy.Parameter
that encapsulates an (anchorage) reference point.static class
DynamicAnchor.AnchoredReferencePoint
AnIComputationStrategy.Parameter
that encapsulates a projection reference point.static class
DynamicAnchor.PreferredOrientation
AnIComputationStrategy.Parameter
that encapsulates the preferred orientation to be used for orthogonal projections.Methods in org.eclipse.gef.fx.anchors with type parameters of type IComputationStrategy.Parameter Modifier and Type Method Description protected static <T extends IComputationStrategy.Parameter<?>>
TIComputationStrategy.Parameter. get(java.util.Collection<? extends IComputationStrategy.Parameter<?>> parameters, java.lang.Class<T> parameterType)
Retrieves a parameter of the respective type from the set of given parameters.<T extends IComputationStrategy.Parameter<?>>
TDynamicAnchor. getComputationParameter(java.lang.Class<T> parameterType)
Retrieves a computation parameter of the respective type.<T extends IComputationStrategy.Parameter<?>>
TDynamicAnchor. getComputationParameter(AnchorKey key, java.lang.Class<T> parameterType)
Retrieves a computation parameter of the respective type for the givenAnchorKey
.Methods in org.eclipse.gef.fx.anchors that return types with arguments of type IComputationStrategy.Parameter Modifier and Type Method Description protected javafx.beans.property.ReadOnlySetProperty<IComputationStrategy.Parameter<?>>
DynamicAnchor. anchorageComputationParametersProperty()
Returns aReadOnlySetProperty
that provides thecomputation parameters
of kindIComputationStrategy.Parameter.Kind.ANCHORAGE
.protected ReadOnlySetMultimapProperty<AnchorKey,IComputationStrategy.Parameter<?>>
DynamicAnchor. anchoredComputationParametersProperty()
Returns aReadOnlySetMultimapProperty
that provides thecomputation parameters
of kindIComputationStrategy.Parameter.Kind.ANCHORED
perAnchorKey
.protected java.util.Set<IComputationStrategy.Parameter<?>>
DynamicAnchor. getParameters(AnchorKey key)
Retrieves the relevant parameters for the computation of the givenAnchorKey
.java.util.Set<java.lang.Class<? extends IComputationStrategy.Parameter<?>>>
IComputationStrategy. getRequiredParameters()
Returns the types of parameters required by this strategy.java.util.Set<java.lang.Class<? extends IComputationStrategy.Parameter<?>>>
OrthogonalProjectionStrategy. getRequiredParameters()
java.util.Set<java.lang.Class<? extends IComputationStrategy.Parameter<?>>>
ProjectionStrategy. getRequiredParameters()
Method parameters in org.eclipse.gef.fx.anchors with type arguments of type IComputationStrategy.Parameter Modifier and Type Method Description Point
ChopBoxStrategy. computePositionInScene(javafx.scene.Node anchorage, javafx.scene.Node anchored, java.util.Set<IComputationStrategy.Parameter<?>> parameters)
Point
IComputationStrategy. computePositionInScene(javafx.scene.Node anchorage, javafx.scene.Node anchored, java.util.Set<IComputationStrategy.Parameter<?>> parameters)
Computes an anchor position based on the given anchorage visual, anchored visual, and anchored reference point.Point
ProjectionStrategy. computePositionInScene(javafx.scene.Node anchorage, javafx.scene.Node anchored, java.util.Set<IComputationStrategy.Parameter<?>> parameters)
protected Point
OrthogonalProjectionStrategy. computeProjectionInScene(java.util.List<ICurve> anchorageOutlinesInScene, Point anchoredReferencePointInScene, java.util.Set<IComputationStrategy.Parameter<?>> parameters)
protected Point
ProjectionStrategy. computeProjectionInScene(java.util.List<ICurve> anchorageOutlinesInScene, Point anchoredReferencePointInScene, java.util.Set<IComputationStrategy.Parameter<?>> parameters)
Computes the anchorage reference position in scene coordinates, based on the given anchorage outlines and the given anchored reference point.protected static <T extends IComputationStrategy.Parameter<?>>
TIComputationStrategy.Parameter. get(java.util.Collection<? extends IComputationStrategy.Parameter<?>> parameters, java.lang.Class<T> parameterType)
Retrieves a parameter of the respective type from the set of given parameters.static IComputationStrategy.Parameter.Kind
IComputationStrategy.Parameter. getKind(java.lang.Class<? extends IComputationStrategy.Parameter<?>> paramType)
Returns theIComputationStrategy.Parameter.Kind
returned by an instance of the givenIComputationStrategy.Parameter
type.static boolean
IComputationStrategy.Parameter. isOptional(java.lang.Class<? extends IComputationStrategy.Parameter<?>> paramType)
Returnstrue
if an instance of the givenIComputationStrategy.Parameter
type is optional.
-