Class AbstractStyleableKey<T>

java.lang.Object
org.jhotdraw8.fxcollection.typesafekey.AbstractKey<T>
org.jhotdraw8.draw.key.AbstractStyleableKey<T>
Type Parameters:
T - the value type
All Implemented Interfaces:
ReadOnlyStyleableMapAccessor<T>, Key<T>, MapAccessor<T>
Direct Known Subclasses:
CssDimension2DStyleableKey, CssPoint2DStyleableKey, CssSizeStyleableKey, DefaultableStyleableKey, DoubleListStyleableKey, DoubleStyleableKey, EffectStyleableKey, InsetsStyleableKey, NullableBezierPathStyleableKey, NullableBooleanStyleableKey, NullableCssColorStyleableKey, NullableCssSizeStyleableKey, NullableDoubleStyleableKey, NullableFXPathElementsStyleableKey, NullableFXPathStyleableKey, NullablePaintableStyleableKey, NullablePathMetricsStyleableKey, NullablePoint2DStyleableKey, NullableStringStyleableKey, NullableUriStyleableKey, Point2DListStyleableKey, Point2DStyleableKey, Rectangle2DStyleableKey, RegexStyleableKey, StringOrIdentStyleableKey, StringReadOnlyStyleableKey, StringStyleableKey, TransformListStyleableKey

public abstract class AbstractStyleableKey<T> extends AbstractKey<T> implements ReadOnlyStyleableMapAccessor<T>
AbstractStyleableKey.
Author:
Werner Randelshofer
  • Constructor Details

    • AbstractStyleableKey

      public AbstractStyleableKey(@NonNull String key, @NonNull Type type, @Nullable T defaultValue)
      Creates a new instance with the specified name, type token class, default value.
      Parameters:
      key - The name of the name.
      type - The type of the value.
      defaultValue - The default value.
    • AbstractStyleableKey

      public AbstractStyleableKey(@Nullable String namespace, @NonNull String name, @NonNull Type type, boolean isNullable, @Nullable T defaultValue)
      Creates a new instance with the specified name, type token class, default value, and allowing or disallowing null values.
      Parameters:
      namespace - The namespace
      name - The name of the key.
      type - The type of the value.
      isNullable - Whether the value may be set to null
      defaultValue - The default value.
    • AbstractStyleableKey

      public AbstractStyleableKey(@Nullable String namespace, @NonNull String name, @NonNull String cssName, @NonNull Type type, boolean isNullable, @Nullable T defaultValue)
      Creates a new instance with the specified name, type token class, default value, and allowing or disallowing null values.
      Parameters:
      namespace - The namespace
      name - The name of the key.
      cssName - The name of the as seen by CSS.
      type - The type of the value.
      isNullable - Whether the value may be set to null
      defaultValue - The default value.
  • Method Details