Class NullableCssColorStyleableKey

All Implemented Interfaces:
Serializable, ReadOnlyStyleableMapAccessor<CssColor>, WritableStyleableMapAccessor<CssColor>, Key<CssColor>, MapAccessor<CssColor>

public class NullableCssColorStyleableKey extends AbstractStyleableKey<CssColor> implements WritableStyleableMapAccessor<CssColor>
NullableCssColorStyleableKey.
Author:
Werner Randelshofer
See Also:
  • Constructor Details

    • NullableCssColorStyleableKey

      public NullableCssColorStyleableKey(@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.
    • NullableCssColorStyleableKey

      public NullableCssColorStyleableKey(@NonNull String key, CssColor 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