java.lang.Object
org.jhotdraw8.draw.key.AbstractStyleableMapAccessor<@NonNull CssPoint2D>
org.jhotdraw8.draw.key.CssPoint2DStyleableMapAccessor
- All Implemented Interfaces:
ReadOnlyStyleableMapAccessor<CssPoint2D>,WritableStyleableMapAccessor<CssPoint2D>,CompositeMapAccessor<CssPoint2D>,MapAccessor<CssPoint2D>,NonNullMapAccessor<@NonNull CssPoint2D>
public class CssPoint2DStyleableMapAccessor
extends AbstractStyleableMapAccessor<@NonNull CssPoint2D>
implements NonNullMapAccessor<@NonNull CssPoint2D>
CssPoint2DStyleableMapAccessor.
- Author:
- Werner Randelshofer
-
Field Summary
Fields inherited from interface org.jhotdraw8.fxcollection.typesafekey.CompositeMapAccessor
serialVersionUIDFields inherited from interface org.jhotdraw8.fxcollection.typesafekey.NonNullMapAccessor
serialVersionUIDFields inherited from interface org.jhotdraw8.fxbase.styleable.WritableStyleableMapAccessor
serialVersionUID -
Constructor Summary
ConstructorsConstructorDescriptionCssPoint2DStyleableMapAccessor(@NonNull String name, @NonNull NonNullMapAccessor<CssSize> xKey, @NonNull NonNullMapAccessor<CssSize> yKey) Creates a new instance with the specified name.CssPoint2DStyleableMapAccessor(@NonNull String name, @NonNull NonNullMapAccessor<CssSize> xKey, @NonNull NonNullMapAccessor<CssSize> yKey, @NonNull org.jhotdraw8.base.converter.Converter<CssPoint2D> converter) Creates a new instance with the specified name. -
Method Summary
Modifier and TypeMethodDescription@NonNull org.jhotdraw8.base.converter.Converter<@NonNull CssPoint2D> put(@NonNull ImmutableMap<Key<?>, Object> a, @Nullable CssPoint2D value) remove(@NonNull ImmutableMap<Key<?>, Object> a) voidMethods inherited from class org.jhotdraw8.draw.key.AbstractStyleableMapAccessor
containsKey, getCssName, getDefaultValue, getName, getSubAccessors, getValueType, isTransient, put, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jhotdraw8.fxcollection.typesafekey.MapAccessor
get, getDefaultValue, getName, getRawValueType, getValueType, isTransient, putMethods inherited from interface org.jhotdraw8.fxcollection.typesafekey.NonNullMapAccessor
getDefaultValueNonNull, getNonNull, getNonNull, putNonNullMethods inherited from interface org.jhotdraw8.fxbase.styleable.ReadOnlyStyleableMapAccessor
getCssNamespaceMethods inherited from interface org.jhotdraw8.fxbase.styleable.WritableStyleableMapAccessor
getExamples
-
Constructor Details
-
CssPoint2DStyleableMapAccessor
public CssPoint2DStyleableMapAccessor(@NonNull String name, @NonNull NonNullMapAccessor<CssSize> xKey, @NonNull NonNullMapAccessor<CssSize> yKey) Creates a new instance with the specified name.- Parameters:
name- the name of the accessorxKey- the key for the x coordinate of the pointyKey- the key for the y coordinate of the point
-
CssPoint2DStyleableMapAccessor
public CssPoint2DStyleableMapAccessor(@NonNull String name, @NonNull NonNullMapAccessor<CssSize> xKey, @NonNull NonNullMapAccessor<CssSize> yKey, @NonNull org.jhotdraw8.base.converter.Converter<CssPoint2D> converter) Creates a new instance with the specified name.- Parameters:
name- the name of the accessorxKey- the key for the x coordinate of the pointyKey- the key for the y coordinate of the pointconverter- String converter for the point
-
-
Method Details
-
get
- Specified by:
getin interfaceMapAccessor<CssPoint2D>
-
getCssConverter
- Specified by:
getCssConverterin interfaceReadOnlyStyleableMapAccessor<CssPoint2D>
-
set
- Specified by:
setin interfaceMapAccessor<CssPoint2D>
-
remove
- Specified by:
removein interfaceMapAccessor<CssPoint2D>
-
put
public @NonNull ImmutableMap<Key<?>,Object> put(@NonNull ImmutableMap<Key<?>, Object> a, @Nullable CssPoint2D value) - Specified by:
putin interfaceMapAccessor<CssPoint2D>
-
remove
- Specified by:
removein interfaceMapAccessor<CssPoint2D>
-