java.lang.Object
org.jhotdraw8.fxbase.styleable.AbstractStyleablePropertyBean
org.jhotdraw8.draw.figure.AbstractFigure
org.jhotdraw8.draw.figure.AbstractLeafFigure
org.jhotdraw8.draw.figure.AbstractLabelFigure
org.jhotdraw8.draw.figure.AbstractLabelConnectionFigure
org.jhotdraw8.draw.figure.SimpleLabelConnectionFigure
- All Implemented Interfaces:
CompositableFigure,ConnectableFigure,ConnectingFigure,Figure,FillableFigure,HideableFigure,LabelConnectionFigure,LockableFigure,PaddableFigure,PathIterableFigure,ShapeableFigure,StrokableFigure,StyleableFigure,TextableFigure,TextFillableFigure,TextFontableFigure,TextLayoutableFigure,TransformableFigure,TransformCachingFigure,PropertyBean,StyleableBean,StyleablePropertyBean,TreeNode<Figure>
public class SimpleLabelConnectionFigure
extends AbstractLabelConnectionFigure
implements HideableFigure, TextFontableFigure, TextLayoutableFigure, TextableFigure, StyleableFigure, LockableFigure, TransformableFigure, CompositableFigure
LabelConnectionFigure.
- Author:
- Werner Randelshofer
-
Property Summary
Properties inherited from class org.jhotdraw8.draw.figure.AbstractLabelConnectionFigure
connectedProperties inherited from class org.jhotdraw8.draw.figure.AbstractFigure
parentProperties inherited from interface org.jhotdraw8.draw.figure.StyleableFigure
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 StringThe CSS type selector for a label object is "LabelConnection".Fields inherited from class org.jhotdraw8.draw.figure.AbstractLabelConnectionFigure
LABEL_AUTOROTATE, LABEL_OFFSET, LABEL_OFFSET_X, LABEL_OFFSET_Y, LABEL_TRANSLATE, LABEL_TRANSLATE_X, LABEL_TRANSLATE_Y, LABELED_LOCATION, LABELED_LOCATION_X, LABELED_LOCATION_YFields inherited from class org.jhotdraw8.draw.figure.AbstractLabelFigure
ICON_FILL, ICON_POSITION, ICON_ROTATE, ICON_SHAPE, ICON_SIZE, ICON_TEXT_GAP, ICON_TRANSLATE, ICON_TRANSLATE_X, ICON_TRANSLATE_Y, ORIGIN, ORIGIN_X, ORIGIN_Y, TEXT_HPOSFields inherited from class org.jhotdraw8.fxbase.styleable.AbstractStyleablePropertyBean
keyMaps, propertiesFields inherited from interface org.jhotdraw8.draw.figure.CompositableFigure
BLEND_MODE, EFFECT, OPACITYFields inherited from interface org.jhotdraw8.draw.figure.Figure
declaredAndInheritedKeys, JHOTDRAW_CSS_PREFIX, PARENT_PROPERTYFields inherited from interface org.jhotdraw8.draw.figure.FillableFigure
FILLFields inherited from interface org.jhotdraw8.draw.figure.HideableFigure
VISIBLEFields inherited from interface org.jhotdraw8.draw.figure.LabelConnectionFigure
LABEL_CONNECTOR, LABEL_TARGETFields inherited from interface org.jhotdraw8.draw.figure.LockableFigure
LOCKEDFields inherited from interface org.jhotdraw8.draw.figure.PaddableFigure
PADDING, PADDING_BOTTOM, PADDING_LEFT, PADDING_RIGHT, PADDING_TOPFields inherited from interface org.jhotdraw8.draw.figure.ShapeableFigure
SHAPE, SHAPE_BOUNDS, SHAPE_BOUNDS_HEIGHT, SHAPE_BOUNDS_WIDTH, SHAPE_BOUNDS_X, SHAPE_BOUNDS_Y, SHAPE_SLICE, SHAPE_SLICE_BOTTOM, SHAPE_SLICE_LEFT, SHAPE_SLICE_RIGHT, SHAPE_SLICE_TOP, SVG_SQUAREFields inherited from interface org.jhotdraw8.draw.figure.StrokableFigure
STROKE, STROKE_DASH_ARRAY, STROKE_DASH_OFFSET, STROKE_LINE_CAP, STROKE_LINE_JOIN, STROKE_MITER_LIMIT, STROKE_STYLE, STROKE_TYPE, STROKE_WIDTHFields inherited from interface org.jhotdraw8.draw.figure.StyleableFigure
ID, PSEUDO_CLASS, STYLE, STYLE_CLASS, TYPE_SELECTOR_NODE_KEYFields inherited from interface org.jhotdraw8.draw.figure.TextableFigure
TEXTFields inherited from interface org.jhotdraw8.draw.figure.TextFillableFigure
TEXT_FILLFields inherited from interface org.jhotdraw8.draw.figure.TextFontableFigure
FONT, FONT_FAMILY, FONT_SIZE, FONT_STYLE, FONT_WEIGHT, STRIKETHROUGH, UNDERLINEFields inherited from interface org.jhotdraw8.draw.figure.TextLayoutableFigure
LINE_SPACING, TEXT_ALIGNMENT, TEXT_HPOS, TEXT_VPOS, WRAPPING_WIDTHFields inherited from interface org.jhotdraw8.draw.figure.TransformableFigure
CACHE, ROTATE, ROTATION_AXIS, ROTATION_PIVOT, SCALE, SCALE_X, SCALE_Y, SCALE_Z, TRANSFORMS, TRANSLATE, TRANSLATE_X, TRANSLATE_Y, TRANSLATE_ZFields inherited from interface org.jhotdraw8.draw.figure.TransformCachingFigure
CACHE -
Constructor Summary
ConstructorsConstructorDescriptionSimpleLabelConnectionFigure(double x, double y, String text, Object... keyValues) SimpleLabelConnectionFigure(javafx.geometry.Point2D position, String text) -
Method Summary
Methods inherited from class org.jhotdraw8.draw.figure.AbstractLabelConnectionFigure
connectedProperty, createHandles, doAddedToDrawing, doRemovedFromDrawing, getLayoutSubjects, isConnected, isGroupReshapeableWith, isLayoutable, layout, layoutOrigin, onPropertyChanged, removeAllLayoutSubjects, removeLayoutSubject, reshapeInLocal, setLabelConnection, translateInLocal, updateGroupNodeMethods inherited from class org.jhotdraw8.draw.figure.AbstractLabelFigure
createNode, findConnector, getCachedLayoutBounds, getCssLayoutBounds, getLayoutBounds, getPathIterator, hasIcon, setCachedLayoutBounds, updateIconNode, updateIconNodeImage, updateIconNodeTransform, updateNode, updatePathNode, updateTextNode, updateTextNodeFontAndText, updateTextNodeLayout, updateTextNodePaintMethods inherited from class org.jhotdraw8.draw.figure.AbstractLeafFigure
getChildren, isAllowsChildren, isSuitableChild, isSuitableParentMethods inherited from class org.jhotdraw8.draw.figure.AbstractFigure
addedToDrawing, createKeyMap, getCachedLocalToParent, getCachedLocalToWorld, getCachedParentToLocal, getCachedParentToWorld, getCachedWorldToLocal, getCachedWorldToParent, getDrawing, getLayoutObservers, getPropertyChangeListeners, getReadOnlyLayoutObservers, getStyledNonNull, hasPropertyChangeListeners, parentProperty, removedFromDrawing, setCachedLocalToParent, setCachedLocalToWorld, setCachedParentToLocal, setCachedParentToWorld, setCachedWorldToLocal, setCachedWorldToParent, updateCssMethods inherited from class org.jhotdraw8.fxbase.styleable.AbstractStyleablePropertyBean
callObservers, containsMapAccessor, getProperties, getStyleableMap, getStyled, getStyled, remove, removeAll, resetStyledValues, setStyledMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jhotdraw8.draw.figure.CompositableFigure
applyCompositableFigurePropertiesMethods inherited from interface org.jhotdraw8.draw.figure.ConnectableFigure
findConnectorMethods inherited from interface org.jhotdraw8.draw.figure.ConnectingFigure
canConnectMethods inherited from interface org.jhotdraw8.draw.figure.Figure
addChild, addedToDrawing, createHandles, createNode, disconnect, firePropertyChangeEvent, firePropertyChangeEvent, getBoundsInParent, getBoundsInWorld, getCenterInLocal, getCenterInParent, getChildren, getCssLayoutBounds, getDrawing, getLayer, getLayoutBounds, getLayoutBoundsInParent, getLayoutBoundsInWorld, getLayoutObservers, getLayoutSubjects, getParent, getPreferredAspectRatio, getPropertyChangeListeners, getReadOnlyLayoutObservers, getRoot, getStyleableParent, getSupportedKeys, getVisualBounds, getVisualBoundsInWorld, hasPropertyChangeListeners, isAllowsChildren, isDecomposable, isDeletWithLastLayoutSubject, isEditableKey, isGroupReshapeableWith, isLayoutable, isShowing, isSuitableChild, isSuitableParent, isSupportedKey, isVisible, layout, layoutChanged, layoutObserverChanged, layoutSubjectChanged, localToParent, localToWorld, localToWorld, parentProperty, propertyChanged, removeAllLayoutSubjects, removeChild, removedFromDrawing, removeFromParent, removeLayoutSubject, reshapeInLocal, reshapeInLocal, reshapeInLocal, setParent, stylesheetChanged, transformChanged, translateInLocal, translateInParent, updateCss, updateNode, worldToLocal, worldToLocal, worldToParent, worldToParentMethods inherited from interface org.jhotdraw8.draw.figure.FillableFigure
applyFillableFigurePropertiesMethods inherited from interface org.jhotdraw8.draw.figure.HideableFigure
applyHideableFigurePropertiesMethods inherited from interface org.jhotdraw8.draw.figure.LockableFigure
isDeletable, isEditable, isSelectableMethods inherited from interface org.jhotdraw8.fxbase.beans.PropertyBean
get, getNonNull, getProperties, getProperty, put, remove, set, setNonNull, valueAtMethods inherited from interface org.jhotdraw8.draw.figure.ShapeableFigure
applyShapeableProperties, applyShapeablePropertiesMethods inherited from interface org.jhotdraw8.draw.figure.StrokableFigure
applyStrokableFigureProperties, applyStrokeCapAndJoinProperties, applyStrokeColorProperties, applyStrokeDashProperties, applyStrokeTypeProperties, applyStrokeWidthProperties, getBoundsInLocal, getStyledStrokeMethods inherited from interface org.jhotdraw8.draw.figure.StyleableFigure
applyStyleableFigureProperties, getId, getPseudoClassStates, getStyle, getStyleClasses, idPropertyMethods inherited from interface org.jhotdraw8.fxbase.styleable.StyleablePropertyBean
containsMapAccessor, getStyled, getStyled, getStyledNonNull, remove, removeAll, resetStyledValues, setStyledMethods inherited from interface org.jhotdraw8.draw.figure.TextableFigure
applyTextableFigureProperties, applyTextableFigurePropertiesMethods inherited from interface org.jhotdraw8.draw.figure.TextFillableFigure
applyTextFillableFigureProperties, applyTextFillableFigurePropertiesMethods inherited from interface org.jhotdraw8.draw.figure.TextFontableFigure
applyTextFontableFigureProperties, applyTextFontableFigurePropertiesMethods inherited from interface org.jhotdraw8.draw.figure.TextLayoutableFigure
applyTextLayoutableFigureProperties, applyTextLayoutableFigurePropertiesMethods inherited from interface org.jhotdraw8.draw.figure.TransformableFigure
applyTransformableFigureProperties, clearTransforms, flattenTransforms, getInverseTransform, getLocalToParent, getLocalToParent, getLocalToParentAsList, getParentToLocal, getParentToLocal, getTransform, hasCenterTransforms, reshapeInLocal, reshapeInParent, setTransforms, transformInLocal, transformInParentMethods inherited from interface org.jhotdraw8.draw.figure.TransformCachingFigure
getCachedLocalToParent, getCachedLocalToWorld, getCachedParentToLocal, getCachedParentToWorld, getCachedWorldToLocal, getCachedWorldToParent, getLocalToWorld, getParentToWorld, getWorldToLocal, getWorldToParent, invalidateTransforms, setCachedLocalToParent, setCachedLocalToWorld, setCachedParentToLocal, setCachedParentToWorld, setCachedWorldToLocal, setCachedWorldToParentMethods 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
-
TYPE_SELECTOR
The CSS type selector for a label object is "LabelConnection".- See Also:
-
-
Constructor Details
-
SimpleLabelConnectionFigure
-
SimpleLabelConnectionFigure
-
-
Method Details
-
getText
- Specified by:
getTextin classAbstractLabelFigure
-
getTypeSelector
- Specified by:
getTypeSelectorin interfaceStyleableBean
-