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 |
---|---|
class |
AbstractAnchor
AbstractAnchor is the abstract base implementation for
IAnchor s. |
class |
DynamicAnchor
The
DynamicAnchor computes anchor positions based on a reference
position per anchored and one reference position for the anchorage. |
class |
StaticAnchor
An
StaticAnchor provides a position for each AnchorKey , based
on a reference position relative to the anchorage Node , to which the
StaticAnchor is bound, or based on a (global) static reference
position in case the StaticAnchor is unbound. |
Modifier and Type | Method and Description |
---|---|
IAnchor |
Connection.getAnchor(int index)
Returns the anchor at the given index.
|
IAnchor |
Connection.getControlAnchor(int index)
|
IAnchor |
Connection.getEndAnchor()
|
IAnchor |
Connection.getStartAnchor()
|
Modifier and Type | Method and Description |
---|---|
protected javafx.beans.property.ReadOnlyMapProperty<AnchorKey,IAnchor> |
Connection.anchorsProperty()
Returns the
ReadOnlyMapProperty which stores the
AnchorKey s and corresponding IAnchor s which determine the
start point, control points, and end point of this Connection . |
java.util.List<IAnchor> |
Connection.getAnchors()
Returns a
List containing the IAnchor s which are assigned
to this Connection in the order: start anchor, control point
anchors, end anchor. |
java.util.List<IAnchor> |
Connection.getControlAnchors()
|
Modifier and Type | Method and Description |
---|---|
protected void |
Connection.addAnchor(IAnchor anchor,
AnchorKey anchorKey,
int controlIndex)
|
void |
Connection.addControlAnchor(int index,
IAnchor anchor)
Adds the given
IAnchor as a control point anchor for the given
index into the Connection.anchorsProperty() of this Connection . |
boolean |
StraightRouter.isImplicitAnchor(IAnchor anchor) |
boolean |
OrthogonalRouter.isImplicitAnchor(IAnchor anchor) |
boolean |
IConnectionRouter.isImplicitAnchor(IAnchor anchor)
Returns
true if the given IAnchor was added by this
IConnectionRouter during IConnectionRouter.route(Connection) . |
protected void |
Connection.removeAnchor(AnchorKey anchorKey,
IAnchor anchor)
|
void |
Connection.setControlAnchor(int index,
IAnchor anchor)
Sets the control anchor for the given control anchor index to the given
IAnchor . |
void |
Connection.setEndAnchor(IAnchor anchor)
Sets the end
IAnchor of this Connection to the given
value. |
void |
Connection.setStartAnchor(IAnchor anchor)
Sets the start
IAnchor of this Connection to the given
value. |
Modifier and Type | Method and Description |
---|---|
void |
Connection.setAnchors(java.util.List<IAnchor> anchors)
|
void |
Connection.setControlAnchors(java.util.List<IAnchor> anchors)
|
Copyright (c) 2014 itemis AG and others. All rights reserved.