- All Superinterfaces:
ConnectingFigure,Figure,PropertyBean,StyleableBean,StyleablePropertyBean,TreeNode<Figure>
- All Known Implementing Classes:
AbstractElbowLineConnectionWithMarkersFigure,AbstractLineConnectionFigure,AbstractPathConnectionWithMarkersFigure,AbstractStraightLineConnectionWithMarkersFigure,LineConnectionFigure,LineConnectionWithMarkersFigure
LineConnectingFigure.
- Author:
- Werner Randelshofer
-
Property Summary
Properties inherited from interface org.jhotdraw8.fxbase.styleable.StyleableBean
id -
Nested Class Summary
Nested classes/interfaces inherited from interface org.jhotdraw8.fxbase.tree.TreeNode
TreeNode.AncestorIterator<T extends TreeNode<T>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CssPoint2DStyleableMapAccessorThe end position of the line.static final NullableObjectKey<Connector> The end connector.static final NullableObjectKey<Figure> The end target.static final CssSizeStyleableKeyThe end position of the line.static final CssSizeStyleableKeyThe end position of the line.static final CssPoint2DStyleableMapAccessorThe start position of the line.static final NullableObjectKey<Connector> The start connector.static final NullableObjectKey<Figure> The start target.static final CssSizeStyleableKeyThe start position of the line.static final CssSizeStyleableKeyThe start position of the line.Fields inherited from interface org.jhotdraw8.draw.figure.Figure
declaredAndInheritedKeys, JHOTDRAW_CSS_PREFIX, PARENT_PROPERTY -
Method Summary
Modifier and TypeMethodDescriptiondefault javafx.geometry.Point2DGets the end target point or the end point if the end target point is not present.default javafx.geometry.Point2DGets the start target point or the start point if the start target point is not present.default booleandefault booleanMethods inherited from interface org.jhotdraw8.draw.figure.ConnectingFigure
canConnectMethods inherited from interface org.jhotdraw8.draw.figure.Figure
addChild, addedToDrawing, createHandles, createNode, disconnect, firePropertyChangeEvent, firePropertyChangeEvent, getBoundsInLocal, getBoundsInParent, getBoundsInWorld, getCenterInLocal, getCenterInParent, getChildren, getCssLayoutBounds, getDrawing, getLayer, getLayoutBounds, getLayoutBoundsInParent, getLayoutBoundsInWorld, getLayoutObservers, getLayoutSubjects, getLocalToParent, getLocalToWorld, getParent, getParentToLocal, getParentToWorld, getPreferredAspectRatio, getPropertyChangeListeners, getReadOnlyLayoutObservers, getRoot, getStyleableParent, getSupportedKeys, getVisualBounds, getVisualBoundsInWorld, getWorldToLocal, getWorldToParent, hasPropertyChangeListeners, invalidateTransforms, isAllowsChildren, isDecomposable, isDeletable, isDeletWithLastLayoutSubject, isEditable, isEditableKey, isGroupReshapeableWith, isLayoutable, isSelectable, isShowing, isSuitableChild, isSuitableParent, isSupportedKey, isVisible, layout, layoutChanged, layoutObserverChanged, layoutSubjectChanged, localToParent, localToWorld, localToWorld, parentProperty, propertyChanged, removeAllLayoutSubjects, removeChild, removedFromDrawing, removeFromParent, removeLayoutSubject, reshapeInLocal, reshapeInLocal, reshapeInLocal, reshapeInLocal, reshapeInParent, setParent, stylesheetChanged, transformChanged, transformInLocal, transformInParent, translateInLocal, translateInParent, updateCss, updateNode, worldToLocal, worldToLocal, worldToParent, worldToParentMethods inherited from interface org.jhotdraw8.fxbase.beans.PropertyBean
get, getNonNull, getProperties, getProperty, put, remove, set, setNonNull, valueAtMethods inherited from interface org.jhotdraw8.fxbase.styleable.StyleableBean
getId, getPseudoClassStates, getStyle, getStyleClasses, getTypeSelector, idPropertyMethods inherited from interface org.jhotdraw8.fxbase.styleable.StyleablePropertyBean
containsMapAccessor, getStyled, getStyled, getStyledNonNull, remove, removeAll, resetStyledValues, setStyledMethods inherited from interface org.jhotdraw8.fxbase.tree.TreeNode
ancestorIterable, breadthFirstIterable, depthFirstIterable, dumpTree, dumpTree, getAncestor, getChild, getDepth, getFirstChild, getLastChild, getMaxDepth, getPath, postorderIterable, preorderIterable, preorderSpliterator
-
Field Details
-
END
The end position of the line. -
END_CONNECTOR
The end connector. -
END_TARGET
The end target.This property can not be styled with CSS because it affects the layout observer relationship between the label and the target figure.
-
END_X
The end position of the line. -
END_Y
The end position of the line. -
START
The start position of the line. -
START_CONNECTOR
The start connector. -
START_TARGET
The start target.This property can not be styled with CSS because it affects the layout observer relationship between the label and the target figure.
-
START_X
The start position of the line. -
START_Y
The start position of the line.
-
-
Method Details
-
isStartConnected
default boolean isStartConnected() -
isEndConnected
default boolean isEndConnected() -
getStartTargetPoint
default javafx.geometry.Point2D getStartTargetPoint()Gets the start target point or the start point if the start target point is not present.- Returns:
- start target point or start point.
-
getEndTargetPoint
default javafx.geometry.Point2D getEndTargetPoint()Gets the end target point or the end point if the end target point is not present.- Returns:
- end target point or end point.
-