Class CssPoint2DStyleableKey

All Implemented Interfaces:
ReadOnlyStyleableMapAccessor<CssPoint2D>, WritableStyleableMapAccessor<CssPoint2D>, Key<CssPoint2D>, MapAccessor<CssPoint2D>, NonNullKey<CssPoint2D>, NonNullMapAccessor<CssPoint2D>

public class CssPoint2DStyleableKey extends AbstractStyleableKey<CssPoint2D> implements WritableStyleableMapAccessor<CssPoint2D>, NonNullKey<CssPoint2D>
Non-null CssPoint2DStyleableFigureKey.
Author:
Werner Randelshofer
  • Constructor Details

    • CssPoint2DStyleableKey

      public CssPoint2DStyleableKey(String name)
      Creates a new instance with the specified name and with 0,0 as the default value.
      Parameters:
      name - The name of the key.
    • CssPoint2DStyleableKey

      public CssPoint2DStyleableKey(String key, CssPoint2D defaultValue)
      Creates a new instance with the specified name, type token class, default value, and allowing or disallowing null values.
      Parameters:
      key - The name of the name. type parameters are given. Otherwise specify them in arrow brackets.
      defaultValue - The default value.
    • CssPoint2DStyleableKey

      public CssPoint2DStyleableKey(String key, CssPoint2D defaultValue, CssConverter<CssPoint2D> converter)
  • Method Details