Class AbstractStyleableMapAccessor<T>

java.lang.Object
org.jhotdraw8.draw.key.AbstractStyleableMapAccessor<T>
Type Parameters:
T - the value type
All Implemented Interfaces:
ReadOnlyStyleableMapAccessor<T>, WritableStyleableMapAccessor<T>, CompositeMapAccessor<T>, MapAccessor<T>
Direct Known Subclasses:
BoundingBoxStyleableMapAccessor, CssInsetsStyleableMapAccessor, CssPoint2DStyleableMapAccessor, CssRectangle2DStyleableMapAccessor, FontStyleableMapAccessor, InsetsStyleableMapAccessor, NullableCssRectangle2DStyleableMapAccessor, PaperSizeStyleableMapAccessor, Point2DStyleableMapAccessor, Point3DStyleableMapAccessor, Rectangle2DStyleableMapAccessor, Scale2DStyleableMapAccessor, Scale3DStyleableMapAccessor, StrokeStyleableMapAccessor, SymmetricCssPoint2DStyleableMapAccessor

public abstract class AbstractStyleableMapAccessor<T> extends Object implements WritableStyleableMapAccessor<T>, CompositeMapAccessor<T>
AbstractStyleableMapAccessor.
Author:
Werner Randelshofer
  • Constructor Details

    • AbstractStyleableMapAccessor

      public AbstractStyleableMapAccessor(String name, Class<T> type, MapAccessor<?>[] subAccessors, T defaultValue)
      Creates a new instance with the specified name, type token class, default value, and allowing or disallowing null values.
      Parameters:
      name - The name of the key.
      type - The type of the value.
      subAccessors - sub accessors which are used by this accessor
      defaultValue - The default value.
    • AbstractStyleableMapAccessor

      public AbstractStyleableMapAccessor(String name, Class<?> type, @Nullable Class<?>[] typeParameters, MapAccessor<?>[] subAccessors, @Nullable T defaultValue)
      Creates a new instance with the specified name, type token class, default value, and allowing or disallowing null values.
      Parameters:
      name - The name of the key.
      type - The type of the value.
      typeParameters - The type parameters of the class. Specify "" if no type parameters are given. Otherwise, specify them in arrow brackets.
      subAccessors - sub accessors which are used by this accessor
      defaultValue - The default value.
  • Method Details