Module org.jhotdraw8.draw
Package org.jhotdraw8.draw.key
Class NullableCssRectangle2DStyleableMapAccessor
java.lang.Object
org.jhotdraw8.draw.key.AbstractStyleableMapAccessor<@Nullable CssRectangle2D>
org.jhotdraw8.draw.key.NullableCssRectangle2DStyleableMapAccessor
- All Implemented Interfaces:
Serializable,ReadOnlyStyleableMapAccessor<CssRectangle2D>,WritableStyleableMapAccessor<CssRectangle2D>,CompositeMapAccessor<CssRectangle2D>,MapAccessor<@NonNull CssRectangle2D>
public class NullableCssRectangle2DStyleableMapAccessor
extends AbstractStyleableMapAccessor<@Nullable CssRectangle2D>
implements MapAccessor<@NonNull CssRectangle2D>
Rectangle2DStyleableMapAccessor.
- Author:
- Werner Randelshofer
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNullableCssRectangle2DStyleableMapAccessor(String name, @NonNull MapAccessor<CssSize> xKey, @NonNull MapAccessor<CssSize> yKey, @NonNull MapAccessor<CssSize> widthKey, @NonNull MapAccessor<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.fxbase.styleable.ReadOnlyStyleableMapAccessor
getCssNamespaceMethods inherited from interface org.jhotdraw8.fxbase.styleable.WritableStyleableMapAccessor
getExamples
-
Constructor Details
-
NullableCssRectangle2DStyleableMapAccessor
public NullableCssRectangle2DStyleableMapAccessor(String name, @NonNull MapAccessor<CssSize> xKey, @NonNull MapAccessor<CssSize> yKey, @NonNull MapAccessor<CssSize> widthKey, @NonNull MapAccessor<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<@NonNull CssRectangle2D>
-
set
- Specified by:
setin interfaceMapAccessor<@NonNull CssRectangle2D>
-
remove
- Specified by:
removein interfaceMapAccessor<@NonNull CssRectangle2D>
-
put
public @NonNull ImmutableMap<Key<?>,Object> put(@NonNull ImmutableMap<Key<?>, Object> a, @Nullable CssRectangle2D value) - Specified by:
putin interfaceMapAccessor<@NonNull CssRectangle2D>
-
remove
- Specified by:
removein interfaceMapAccessor<@NonNull CssRectangle2D>
-