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:
ReadOnlyStyleableMapAccessor<CssRectangle2D>,WritableStyleableMapAccessor<CssRectangle2D>,CompositeMapAccessor<CssRectangle2D>,MapAccessor<CssRectangle2D>
public class NullableCssRectangle2DStyleableMapAccessor
extends AbstractStyleableMapAccessor<@Nullable CssRectangle2D>
implements MapAccessor<CssRectangle2D>
Rectangle2DStyleableMapAccessor.
- Author:
- Werner Randelshofer
-
Field Summary
Fields inherited from interface org.jhotdraw8.fxcollection.typesafekey.CompositeMapAccessor
serialVersionUIDFields inherited from interface org.jhotdraw8.fxbase.styleable.WritableStyleableMapAccessor
serialVersionUID -
Constructor Summary
ConstructorsConstructorDescriptionNullableCssRectangle2DStyleableMapAccessor(String name, MapAccessor<CssSize> xKey, MapAccessor<CssSize> yKey, MapAccessor<CssSize> widthKey, MapAccessor<CssSize> heightKey) Creates a new instance with the specified name. -
Method Summary
Modifier and TypeMethodDescription@Nullable CssRectangle2Dorg.jhotdraw8.base.converter.Converter<CssRectangle2D> ImmutableMap<Key<?>, Object> put(ImmutableMap<Key<?>, Object> a, @Nullable CssRectangle2D value) ImmutableMap<Key<?>, Object> remove(ImmutableMap<Key<?>, Object> a) voidset(Map<? super Key<?>, Object> a, @Nullable CssRectangle2D value) Methods 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, MapAccessor<CssSize> xKey, MapAccessor<CssSize> yKey, MapAccessor<CssSize> widthKey, 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<CssRectangle2D>
-
set
- Specified by:
setin interfaceMapAccessor<CssRectangle2D>
-
remove
- Specified by:
removein interfaceMapAccessor<CssRectangle2D>
-
put
public ImmutableMap<Key<?>,Object> put(ImmutableMap<Key<?>, Object> a, @Nullable CssRectangle2D value) - Specified by:
putin interfaceMapAccessor<CssRectangle2D>
-
remove
- Specified by:
removein interfaceMapAccessor<CssRectangle2D>
-