Package | Description |
---|---|
org.eclipse.gef4.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. |
org.eclipse.gef4.fx.nodes |
This package provides:
an adaptation of an
IGeometry to
Node : GeometryNode
a connection abstraction that is based on
IAnchor :
Connection
a visual to display an image which is overlayed by another image on mouse
hover: HoverOverlayImageView
a visual providing a scrollable infinite canvas with a background grid:
InfiniteCanvas
|
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(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<?>> |
DynamicAnchor.getComputationParameter(AnchorKey key,
java.lang.Class<T> parameterType)
Retrieves a computation parameter of the respective type for the given
AnchorKey . |
<T extends IComputationStrategy.Parameter<?>> |
DynamicAnchor.getComputationParameter(java.lang.Class<T> parameterType)
Retrieves a computation parameter of the respective type.
|
Modifier and Type | Method and Description |
---|---|
protected javafx.beans.property.ReadOnlySetProperty<IComputationStrategy.Parameter<?>> |
DynamicAnchor.anchorageComputationParametersProperty()
Returns a
ReadOnlySetProperty that provides the
computation parameters of kind
IComputationStrategy.Parameter.Kind.ANCHORAGE . |
protected ReadOnlySetMultimapProperty<AnchorKey,IComputationStrategy.Parameter<?>> |
DynamicAnchor.anchoredComputationParametersProperty()
Returns a
ReadOnlySetMultimapProperty that provides the
computation parameters of kind
IComputationStrategy.Parameter.Kind.ANCHORED per AnchorKey . |
protected java.util.Set<IComputationStrategy.Parameter<?>> |
DynamicAnchor.getParameters(AnchorKey key)
Retrieves the relevant parameters for the computation of the given
AnchorKey . |
java.util.Set<java.lang.Class<? extends IComputationStrategy.Parameter<?>>> |
ProjectionStrategy.getRequiredParameters() |
java.util.Set<java.lang.Class<? extends IComputationStrategy.Parameter<?>>> |
OrthogonalProjectionStrategy.getRequiredParameters() |
java.util.Set<java.lang.Class<? extends IComputationStrategy.Parameter<?>>> |
IComputationStrategy.getRequiredParameters()
Returns the types of parameters required by this strategy.
|
Modifier and Type | Method and Description |
---|---|
Point |
ChopBoxStrategy.computePositionInScene(javafx.scene.Node anchorage,
javafx.scene.Node anchored,
java.util.Set<IComputationStrategy.Parameter<?>> parameters) |
Point |
ProjectionStrategy.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.
|
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 Point |
OrthogonalProjectionStrategy.computeProjectionInScene(java.util.List<ICurve> anchorageOutlinesInScene,
Point anchoredReferencePointInScene,
java.util.Set<IComputationStrategy.Parameter<?>> parameters) |
protected static <T extends IComputationStrategy.Parameter<?>> |
IComputationStrategy.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 the
IComputationStrategy.Parameter.Kind returned by an instance of the given
IComputationStrategy.Parameter type. |
static boolean |
IComputationStrategy.Parameter.isOptional(java.lang.Class<? extends IComputationStrategy.Parameter<?>> paramType)
Returns
true if an instance of the given
IComputationStrategy.Parameter type is optional. |
Modifier and Type | Method and Description |
---|---|
protected <T extends IComputationStrategy.Parameter<?>> |
AbstractRouter.getComputationParameter(Connection connection,
int index,
java.lang.Class<T> parameterType)
Returns the specified parameter for the given index.
|
Copyright (c) 2014 itemis AG and others. All rights reserved.