Interface NonTransformableFigure

All Superinterfaces:
Figure, PropertyBean, StyleableBean, StyleablePropertyBean, TransformCachingFigure, TreeNode<Figure>
All Known Implementing Classes:
AbstractElbowLineConnectionWithMarkersFigure, AbstractLineConnectionFigure, AbstractPathConnectionWithMarkersFigure, AbstractStraightLineConnectionWithMarkersFigure, ClippingFigure, LayerFigure, LineConnectionFigure, LineConnectionWithMarkersFigure, SimpleLayeredDrawing

public interface NonTransformableFigure extends TransformCachingFigure
Provides default implementations for figures which can not be transformed.
Author:
Werner Randelshofer
  • Method Details

    • transformInParent

      default void transformInParent(javafx.scene.transform.Transform transform)
      Description copied from interface: Figure
      Attempts to transform the figure.

      The figure may choose to only partially change its transformation.

      Specified by:
      transformInParent in interface Figure
      Parameters:
      transform - the desired transformation in parent coordinates
    • transformInLocal

      default void transformInLocal(javafx.scene.transform.Transform transform)
      Description copied from interface: Figure
      Attempts to transform the figure.

      The figure may choose to only partially change its transformation.

      Specified by:
      transformInLocal in interface Figure
      Parameters:
      transform - the desired transformation in local coordinates
    • reshapeInParent

      default void reshapeInParent(javafx.scene.transform.Transform transform)
      Description copied from interface: Figure
      Attempts to change the parent bounds of the figure.

      The figure may choose to only partially change its parent bounds.

      This method may also call reshapeInLocal on child figures.

      Specified by:
      reshapeInParent in interface Figure
      Parameters:
      transform - the desired transformation in parent coordinates
    • getLocalToParent

      default javafx.scene.transform.Transform getLocalToParent()
      Description copied from interface: Figure
      Returns the transformation from local coordinates into parent coordinates.

      This method may use caching and return incorrect results if the cache is stale.

      Specified by:
      getLocalToParent in interface Figure
      Returns:
      the transformation
    • getParentToLocal

      default javafx.scene.transform.Transform getParentToLocal()
      Description copied from interface: Figure
      Returns the transformation from parent coordinates into local coordinates.

      This method may use caching and return incorrect results if the cache is stale.

      Specified by:
      getParentToLocal in interface Figure
      Returns:
      the transformation
    • reshapeInLocal

      default void reshapeInLocal(javafx.scene.transform.Transform transform)
      Description copied from interface: Figure
      Attempts to change the local bounds of the figure.

      The figure may choose to only partially change its local bounds.

      Specified by:
      reshapeInLocal in interface Figure
      Parameters:
      transform - the desired transformation in local coordinates