java.lang.Object
org.jhotdraw8.draw.key.AbstractStyleableMapAccessor<@NonNull CssRectangle2D>
org.jhotdraw8.draw.key.CssRectangle2DStyleableMapAccessor
- All Implemented Interfaces:
ReadOnlyStyleableMapAccessor<CssRectangle2D>,WritableStyleableMapAccessor<CssRectangle2D>,CompositeMapAccessor<CssRectangle2D>,MapAccessor<CssRectangle2D>,NonNullMapAccessor<@NonNull CssRectangle2D>
public class CssRectangle2DStyleableMapAccessor
extends AbstractStyleableMapAccessor<@NonNull CssRectangle2D>
implements NonNullMapAccessor<@NonNull CssRectangle2D>
Rectangle2DStyleableMapAccessor.
- 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
ConstructorsConstructorDescriptionCssRectangle2DStyleableMapAccessor(String name, @NonNull NonNullMapAccessor<CssSize> xKey, @NonNull NonNullMapAccessor<CssSize> yKey, @NonNull NonNullMapAccessor<CssSize> widthKey, @NonNull NonNullMapAccessor<CssSize> heightKey) Creates a new instance with the specified name. -
Method Summary
Modifier and TypeMethodDescription@NonNull org.jhotdraw8.base.converter.Converter<CssRectangle2D> put(@NonNull ImmutableMap<Key<?>, Object> a, @Nullable CssRectangle2D 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
-
CssRectangle2DStyleableMapAccessor
public CssRectangle2DStyleableMapAccessor(String name, @NonNull NonNullMapAccessor<CssSize> xKey, @NonNull NonNullMapAccessor<CssSize> yKey, @NonNull NonNullMapAccessor<CssSize> widthKey, @NonNull NonNullMapAccessor<CssSize> heightKey) Creates a new instance with the specified name.- Parameters:
name- the name of the accessorxKey- the key for the x coordinate of the rectangleyKey- the key for the y coordinate of the rectanglewidthKey- the key for the width of the rectangleheightKey- the key for the height of the rectangle
-
-
Method Details
-
getCssConverter
- Specified by:
getCssConverterin interfaceReadOnlyStyleableMapAccessor<CssRectangle2D>
-
get
- Specified by:
getin interfaceMapAccessor<CssRectangle2D>
-
set
- Specified by:
setin interfaceMapAccessor<CssRectangle2D>
-
remove
- Specified by:
removein interfaceMapAccessor<CssRectangle2D>
-
put
public @NonNull ImmutableMap<Key<?>,Object> put(@NonNull ImmutableMap<Key<?>, Object> a, @Nullable CssRectangle2D value) - Specified by:
putin interfaceMapAccessor<CssRectangle2D>
-
remove
- Specified by:
removein interfaceMapAccessor<CssRectangle2D>
-