Class SvgDefsFigure

java.lang.Object
org.jhotdraw8.fxbase.styleable.AbstractStyleablePropertyBean
All Implemented Interfaces:
DefaultableFigure, Figure, Grouping, HideableFigure, LockableFigure, NonTransformableFigure, 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

Represents an SVG 'defs' element.
Author:
Werner Randelshofer
  • Field Details

    • TYPE_SELECTOR

      public static final String TYPE_SELECTOR
      The CSS type selector for a label object is "defs".
      See Also:
  • Constructor Details

    • SvgDefsFigure

      public SvgDefsFigure()
  • Method Details

    • createNode

      public javafx.scene.Node createNode(RenderContext drawingView)
      Specified by:
      createNode in interface Figure
    • getTypeSelector

      public String getTypeSelector()
      Specified by:
      getTypeSelector in interface org.jhotdraw8.fxbase.styleable.StyleableBean
    • updateNode

      public void updateNode(RenderContext ctx, javafx.scene.Node n)
      Specified by:
      updateNode in interface Figure
    • isSuitableParent

      public boolean isSuitableParent(Figure newParent)
      Specified by:
      isSuitableParent in interface Figure
      Specified by:
      isSuitableParent in interface org.jhotdraw8.fxbase.tree.TreeNode<Figure>
    • isSuitableChild

      public boolean isSuitableChild(Figure newChild)
      Specified by:
      isSuitableChild in interface Figure
      Specified by:
      isSuitableChild in interface org.jhotdraw8.fxbase.tree.TreeNode<Figure>
    • reshapeInLocal

      public void reshapeInLocal(org.jhotdraw8.css.value.CssSize x, org.jhotdraw8.css.value.CssSize y, org.jhotdraw8.css.value.CssSize width, org.jhotdraw8.css.value.CssSize height)
      Specified by:
      reshapeInLocal in interface Figure