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. |
Modifier and Type | Class and Description |
---|---|
static class |
DynamicAnchor.AnchorageReferenceGeometry
An
IComputationStrategy.Parameter that encapsulates an
(anchorage) reference geometry. |
static class |
DynamicAnchor.AnchorageReferencePosition
An
IComputationStrategy.Parameter that encapsulates an
(anchorage) reference point. |
static class |
DynamicAnchor.AnchoredReferencePoint
An
IComputationStrategy.Parameter that encapsulates a projection
reference point. |
static class |
DynamicAnchor.PreferredOrientation
An
IComputationStrategy.Parameter that encapsulates the preferred
orientation to be used for orthogonal projections. |
Modifier and Type | Method and Description |
---|---|
protected static <T extends IComputationStrategy.Parameter<?>> |
IComputationStrategy.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<?>> |
DynamicAnchor.getComputationParameter(AnchorKey key,
Class<T> parameterType)
Retrieves a computation parameter of the respective type for the given
AnchorKey . |
<T extends IComputationStrategy.Parameter<?>> |
DynamicAnchor.getComputationParameter(Class<T> parameterType)
Retrieves a computation parameter of the respective type.
|
Modifier and Type | Method and Description |
---|---|
Point |
ProjectionStrategy.computePositionInScene(Node anchorage,
Node anchored,
Set<IComputationStrategy.Parameter<?>> parameters) |
Point |
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.
|
Point |
ChopBoxStrategy.computePositionInScene(Node anchorage,
Node anchored,
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 Point |
OrthogonalProjectionStrategy.computeProjectionInScene(List<ICurve> anchorageOutlinesInScene,
Point anchoredReferencePointInScene,
Set<IComputationStrategy.Parameter<?>> parameters) |
protected static <T extends IComputationStrategy.Parameter<?>> |
IComputationStrategy.Parameter.get(Collection<? extends IComputationStrategy.Parameter<?>> parameters,
Class<T> parameterType)
Retrieves a parameter of the respective type from the set of given
parameters.
|
static IComputationStrategy.Parameter.Kind |
IComputationStrategy.Parameter.getKind(Class<? extends IComputationStrategy.Parameter<?>> paramType)
Returns the
IComputationStrategy.Parameter.Kind returned by an instance of the given
IComputationStrategy.Parameter type. |
static boolean |
IComputationStrategy.Parameter.isOptional(Class<? extends IComputationStrategy.Parameter<?>> paramType)
Returns
true if an instance of the given
IComputationStrategy.Parameter type is optional. |
Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.