Uses of Class
org.eclipse.gef.fx.anchors.IComputationStrategy.Parameter
Packages that use IComputationStrategy.Parameter
Package
Description
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.anchorsModifier and TypeClassDescriptionstatic class
AnIComputationStrategy.Parameter
that encapsulates an (anchorage) reference geometry.static class
AnIComputationStrategy.Parameter
that encapsulates an (anchorage) reference point.static class
AnIComputationStrategy.Parameter
that encapsulates a projection reference point.static class
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.ParameterModifier and TypeMethodDescriptionprotected static <T extends IComputationStrategy.Parameter<?>>
TIComputationStrategy.Parameter.get
(Collection<? extends IComputationStrategy.Parameter<?>> parameters, Class<T> parameterType) Retrieves a parameter of the respective type from the set of given parameters.<T extends IComputationStrategy.Parameter<?>>
TDynamicAnchor.getComputationParameter
(Class<T> parameterType) Retrieves a computation parameter of the respective type.<T extends IComputationStrategy.Parameter<?>>
TDynamicAnchor.getComputationParameter
(AnchorKey key, 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.ParameterModifier and TypeMethodDescriptionprotected ReadOnlySetProperty<IComputationStrategy.Parameter<?>>
DynamicAnchor.anchorageComputationParametersProperty()
Returns aReadOnlySetProperty
that provides thecomputation parameters
of kindIComputationStrategy.Parameter.Kind.ANCHORAGE
.DynamicAnchor.anchoredComputationParametersProperty()
Returns aReadOnlySetMultimapProperty
that provides thecomputation parameters
of kindIComputationStrategy.Parameter.Kind.ANCHORED
perAnchorKey
.protected Set<IComputationStrategy.Parameter<?>>
DynamicAnchor.getParameters
(AnchorKey key) Retrieves the relevant parameters for the computation of the givenAnchorKey
.Set<Class<? extends IComputationStrategy.Parameter<?>>>
IComputationStrategy.getRequiredParameters()
Returns the types of parameters required by this strategy.Set<Class<? extends IComputationStrategy.Parameter<?>>>
OrthogonalProjectionStrategy.getRequiredParameters()
Set<Class<? extends IComputationStrategy.Parameter<?>>>
ProjectionStrategy.getRequiredParameters()
Method parameters in org.eclipse.gef.fx.anchors with type arguments of type IComputationStrategy.ParameterModifier and TypeMethodDescriptionChopBoxStrategy.computePositionInScene
(Node anchorage, Node anchored, Set<IComputationStrategy.Parameter<?>> parameters) IComputationStrategy.computePositionInScene
(Node anchorage, Node anchored, Set<IComputationStrategy.Parameter<?>> parameters) Computes an anchor position based on the given anchorage visual, anchored visual, and anchored reference point.ProjectionStrategy.computePositionInScene
(Node anchorage, Node anchored, Set<IComputationStrategy.Parameter<?>> parameters) protected Point
OrthogonalProjectionStrategy.computeProjectionInScene
(List<ICurve> anchorageOutlinesInScene, Point anchoredReferencePointInScene, Set<IComputationStrategy.Parameter<?>> parameters) protected Point
ProjectionStrategy.computeProjectionInScene
(List<ICurve> anchorageOutlinesInScene, Point anchoredReferencePointInScene, 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
(Collection<? extends IComputationStrategy.Parameter<?>> parameters, Class<T> parameterType) Retrieves a parameter of the respective type from the set of given parameters.IComputationStrategy.Parameter.getKind
(Class<? extends IComputationStrategy.Parameter<?>> paramType) Returns theIComputationStrategy.Parameter.Kind
returned by an instance of the givenIComputationStrategy.Parameter
type.static boolean
IComputationStrategy.Parameter.isOptional
(Class<? extends IComputationStrategy.Parameter<?>> paramType) Returnstrue
if an instance of the givenIComputationStrategy.Parameter
type is optional.