Class SvgGFigure

java.lang.Object
org.jhotdraw8.fxbase.styleable.AbstractStyleablePropertyBean
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

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

    • TYPE_SELECTOR

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

    • SvgGFigure

      public SvgGFigure()
  • 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
    • reshapeInLocal

      public void reshapeInLocal(javafx.scene.transform.Transform transform)
      Specified by:
      reshapeInLocal in interface Figure
      Specified by:
      reshapeInLocal in interface SvgTransformableFigure
    • 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
    • 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>