Class NullablePaintableStyleableKey

All Implemented Interfaces:
ReadOnlyStyleableMapAccessor<Paintable>, WritableStyleableMapAccessor<Paintable>, Key<Paintable>, MapAccessor<Paintable>

public class NullablePaintableStyleableKey extends AbstractStyleableKey<Paintable> implements WritableStyleableMapAccessor<Paintable>
PaintStyleableFigureKey.
Author:
Werner Randelshofer
  • Constructor Details

    • NullablePaintableStyleableKey

      public NullablePaintableStyleableKey(@NonNull String name)
      Creates a new instance with the specified name and with null as the default value.
      Parameters:
      name - The name of the key.
    • NullablePaintableStyleableKey

      public NullablePaintableStyleableKey(@NonNull String key, Paintable 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.
  • Method Details