java.lang.Object
org.jhotdraw8.fxbase.styleable.AbstractStyleablePropertyBean
org.jhotdraw8.draw.figure.AbstractFigure
org.jhotdraw8.draw.figure.AbstractCompositeFigure
org.jhotdraw8.svg.figure.SvgGFigure
- All Implemented Interfaces:
DefaultableFigure,Figure,Grouping,HideableFigure,LockableFigure,ResizableFigure,StyleableFigure,TransformCachingFigure,org.jhotdraw8.fxbase.beans.PropertyBean,org.jhotdraw8.fxbase.styleable.StyleableBean,org.jhotdraw8.fxbase.styleable.StyleablePropertyBean,org.jhotdraw8.fxbase.tree.TreeNode<Figure>,SvgDefaultableFigure,SvgElementFigure,SvgTransformableFigure
public class SvgGFigure
extends AbstractCompositeFigure
implements Grouping, ResizableFigure, SvgTransformableFigure, HideableFigure, StyleableFigure, LockableFigure, SvgDefaultableFigure, SvgElementFigure
Represents an SVG 'g' element.
- Author:
- Werner Randelshofer
-
Property Summary
Properties 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
org.jhotdraw8.fxbase.tree.TreeNode.AncestorIterator<T extends org.jhotdraw8.fxbase.tree.TreeNode<T>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CSS type selector for a label object is "g".Fields inherited from class org.jhotdraw8.fxbase.styleable.AbstractStyleablePropertyBean
keyMaps, propertiesFields inherited from interface org.jhotdraw8.draw.figure.Figure
declaredAndInheritedKeys, JHOTDRAW_CSS_PREFIX, PARENT_PROPERTYFields inherited from interface org.jhotdraw8.draw.figure.HideableFigure
VISIBLEFields inherited from interface org.jhotdraw8.draw.figure.LockableFigure
LOCKEDFields inherited from interface org.jhotdraw8.draw.figure.StyleableFigure
ID, PSEUDO_CLASS, STYLE, STYLE_CLASS, TYPE_SELECTOR_NODE_KEYFields inherited from interface org.jhotdraw8.svg.figure.SvgDefaultableFigure
COLOR_KEY, DISPLAY_KEY, FILL_KEY, FILL_OPACITY_KEY, FILL_RULE_KEY, FONT_FAMILY_KEY, FONT_SIZE_KEY, MIX_BLEND_MODE_KEY, OPACITY_KEY, SHAPE_RENDERING_KEY, STOP_COLOR_KEY, STOP_OPACITY_KEY, STROKE_ALIGNMENT_KEY, STROKE_DASHARRAY_KEY, STROKE_DASHOFFSET_KEY, STROKE_KEY, STROKE_LINECAP_KEY, STROKE_LINEJOIN_KEY, STROKE_MITERLIMIT_KEY, STROKE_OPACITY_KEY, STROKE_WIDTH_KEY, TEXT_ANCHOR_KEY, VISIBILITY_KEYFields inherited from interface org.jhotdraw8.svg.figure.SvgElementFigure
DESC_KEY, TITLE_KEYFields inherited from interface org.jhotdraw8.svg.figure.SvgTransformableFigure
CACHE, TRANSFORMSFields inherited from interface org.jhotdraw8.draw.figure.TransformCachingFigure
CACHE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull javafx.scene.NodecreateNode(@NonNull RenderContext drawingView) booleanisSuitableChild(@NonNull Figure newChild) booleanisSuitableParent(@NonNull Figure newParent) voidreshapeInLocal(javafx.scene.transform.Transform transform) voidreshapeInLocal(@NonNull org.jhotdraw8.css.value.CssSize x, @NonNull org.jhotdraw8.css.value.CssSize y, @NonNull org.jhotdraw8.css.value.CssSize width, @NonNull org.jhotdraw8.css.value.CssSize height) voidupdateNode(@NonNull RenderContext ctx, @NonNull javafx.scene.Node n) Methods inherited from class org.jhotdraw8.draw.figure.AbstractCompositeFigure
firePropertyChangeEvent, firePropertyChangeEvent, getBoundsInLocal, getChildren, getCssLayoutBounds, getLayoutBounds, getLayoutBoundsInParent, isAllowsChildrenMethods inherited from class org.jhotdraw8.draw.figure.AbstractFigure
addedToDrawing, createKeyMap, doAddedToDrawing, doRemovedFromDrawing, getCachedLocalToParent, getCachedLocalToWorld, getCachedParentToLocal, getCachedParentToWorld, getCachedWorldToLocal, getCachedWorldToParent, getDrawing, getLayoutObservers, getPropertyChangeListeners, getReadOnlyLayoutObservers, getStyledNonNull, hasPropertyChangeListeners, onPropertyChanged, parentProperty, removeAllLayoutSubjects, removedFromDrawing, removeLayoutSubject, 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.DefaultableFigure
getDefaultableStyled, getDefaultableStyled, getDefaultableStyledNonNullMethods inherited from interface org.jhotdraw8.draw.figure.Figure
addChild, addedToDrawing, createHandles, disconnect, firePropertyChangeEvent, firePropertyChangeEvent, getBoundsInLocal, 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, isSupportedKey, isVisible, layout, layoutChanged, layoutObserverChanged, layoutSubjectChanged, localToParent, localToWorld, localToWorld, parentProperty, propertyChanged, removeAllLayoutSubjects, removeChild, removedFromDrawing, removeLayoutSubject, reshapeInLocal, reshapeInLocal, setParent, stylesheetChanged, transformChanged, translateInLocal, translateInParent, updateCss, worldToLocal, worldToLocal, worldToParent, worldToParentMethods 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.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.svg.figure.SvgDefaultableFigure
applySvgDefaultableCompositingProperties, applySvgDefaultableFillProperties, applySvgDefaultableStrokeProperties, applySvgShapeProperties, getDefaultableStyled, getDefaultableStyledMethods inherited from interface org.jhotdraw8.svg.figure.SvgTransformableFigure
applyTransformableFigureProperties, clearTransforms, flattenTransforms, getInverseTransform, getLocalToParent, getLocalToParent, getLocalToParentAsList, getParentToLocal, getParentToLocal, getTransform, hasCenterTransforms, hasTransforms, 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 "g".- See Also:
-
-
Constructor Details
-
SvgGFigure
public SvgGFigure()
-
-
Method Details
-
createNode
- Specified by:
createNodein interfaceFigure
-
getTypeSelector
- Specified by:
getTypeSelectorin interfaceorg.jhotdraw8.fxbase.styleable.StyleableBean
-
reshapeInLocal
public void reshapeInLocal(javafx.scene.transform.Transform transform) - Specified by:
reshapeInLocalin interfaceFigure- Specified by:
reshapeInLocalin interfaceSvgTransformableFigure
-
reshapeInLocal
public void reshapeInLocal(@NonNull org.jhotdraw8.css.value.CssSize x, @NonNull org.jhotdraw8.css.value.CssSize y, @NonNull org.jhotdraw8.css.value.CssSize width, @NonNull org.jhotdraw8.css.value.CssSize height) - Specified by:
reshapeInLocalin interfaceFigure
-
updateNode
- Specified by:
updateNodein interfaceFigure
-
isSuitableParent
- Specified by:
isSuitableParentin interfaceFigure- Specified by:
isSuitableParentin interfaceorg.jhotdraw8.fxbase.tree.TreeNode<Figure>
-
isSuitableChild
- Specified by:
isSuitableChildin interfaceFigure- Specified by:
isSuitableChildin interfaceorg.jhotdraw8.fxbase.tree.TreeNode<Figure>
-