Class Point2DStyleableMapAccessor

java.lang.Object
org.jhotdraw8.draw.key.AbstractStyleableMapAccessor<javafx.geometry.Point2D>
org.jhotdraw8.draw.key.Point2DStyleableMapAccessor
All Implemented Interfaces:
ReadOnlyStyleableMapAccessor<javafx.geometry.Point2D>, WritableStyleableMapAccessor<javafx.geometry.Point2D>, CompositeMapAccessor<javafx.geometry.Point2D>, MapAccessor<javafx.geometry.Point2D>
Direct Known Subclasses:
SymmetricPoint2DStyleableMapAccessor

public class Point2DStyleableMapAccessor extends AbstractStyleableMapAccessor<javafx.geometry.Point2D>
Point2DStyleableMapAccessor.
Author:
Werner Randelshofer
  • Constructor Details

    • Point2DStyleableMapAccessor

      public Point2DStyleableMapAccessor(String name, NonNullMapAccessor<Double> xKey, NonNullMapAccessor<Double> yKey)
      Creates a new instance with the specified name.
      Parameters:
      name - the name of the accessor
      xKey - the key for the x coordinate of the point
      yKey - the key for the y coordinate of the point
    • Point2DStyleableMapAccessor

      public Point2DStyleableMapAccessor(String name, NonNullMapAccessor<Double> xKey, NonNullMapAccessor<Double> yKey, org.jhotdraw8.base.converter.Converter<javafx.geometry.Point2D> converter)
      Creates a new instance with the specified name.
      Parameters:
      name - the name of the accessor
      xKey - the key for the x coordinate of the point
      yKey - the key for the y coordinate of the point
      converter - String converter for the point
  • Method Details