java.lang.Object
org.jhotdraw8.fxbase.styleable.AbstractStyleablePropertyBean
org.jhotdraw8.draw.figure.AbstractFigure
org.jhotdraw8.draw.figure.AbstractCompositeFigure
org.jhotdraw8.draw.figure.AbstractDrawing
org.jhotdraw8.svg.figure.SvgDrawing
- All Implemented Interfaces:
DefaultableFigure,Drawing,Figure,LockableFigure,NonTransformableFigure,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
public class SvgDrawing
extends AbstractDrawing
implements StyleableFigure, LockableFigure, NonTransformableFigure, SvgDefaultableFigure, SvgElementFigure
Represents an SVG 'svg' element.
-
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 org.jhotdraw8.fxcollection.typesafekey.Key<String> static final org.jhotdraw8.fxcollection.typesafekey.Key<CssRectangle2D> static final org.jhotdraw8.fxcollection.typesafekey.Key<String> Fields inherited from class org.jhotdraw8.fxbase.styleable.AbstractStyleablePropertyBean
keyMaps, propertiesFields inherited from interface org.jhotdraw8.draw.figure.Drawing
AUTHOR_STYLESHEETS, BACKGROUND, DOCUMENT_HOME, HEIGHT, INLINE_STYLESHEETS, TYPE_SELECTOR, USER_AGENT_STYLESHEETS, WIDTHFields inherited from interface org.jhotdraw8.draw.figure.Figure
declaredAndInheritedKeys, JHOTDRAW_CSS_PREFIX, PARENT_PROPERTYFields 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.draw.figure.TransformCachingFigure
CACHE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisSuitableChild(Figure newChild) voidupdateNode(RenderContext ctx, javafx.scene.Node n) Methods inherited from class org.jhotdraw8.draw.figure.AbstractDrawing
createNode, createStyleManager, getCssLayoutBounds, getLayoutBounds, getStyleManager, isSuitableParent, reshapeInLocal, reshapeInLocal, stylesheetChanged, updateBackground, updateStyleManagerMethods inherited from class org.jhotdraw8.draw.figure.AbstractCompositeFigure
firePropertyChangeEvent, firePropertyChangeEvent, getBoundsInLocal, getChildren, 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.Drawing
layoutAll, layoutAll, layoutDependenciesIterable, updateAllCssMethods 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, getParent, getPreferredAspectRatio, getPropertyChangeListeners, getReadOnlyLayoutObservers, getRoot, getStyleableParent, getSupportedKeys, getVisualBounds, getVisualBoundsInWorld, hasPropertyChangeListeners, isAllowsChildren, isDecomposable, isDeletWithLastLayoutSubject, isEditableKey, isGroupReshapeableWith, isLayoutable, isShowing, 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, worldToLocal, worldToLocal, worldToParent, worldToParentMethods inherited from interface org.jhotdraw8.draw.figure.LockableFigure
isDeletable, isEditable, isSelectableMethods inherited from interface org.jhotdraw8.draw.figure.NonTransformableFigure
getLocalToParent, getParentToLocal, reshapeInLocal, reshapeInParent, transformInLocal, transformInParentMethods 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.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
-
SVG_VIEW_BOX
-
BASE_PROFILE
-
VERSION
-
-
Constructor Details
-
SvgDrawing
public SvgDrawing()
-
-
Method Details
-
isSuitableChild
- Specified by:
isSuitableChildin interfaceFigure- Specified by:
isSuitableChildin interfaceorg.jhotdraw8.fxbase.tree.TreeNode<Figure>
-
updateNode
- Specified by:
updateNodein interfaceFigure- Overrides:
updateNodein classAbstractDrawing
-
getTypeSelector
- Specified by:
getTypeSelectorin interfaceDrawing- Specified by:
getTypeSelectorin interfaceorg.jhotdraw8.fxbase.styleable.StyleableBean
-