java.lang.Object
org.jhotdraw8.draw.key.AbstractStyleableMapAccessor<@NonNull javafx.geometry.Rectangle2D>
org.jhotdraw8.draw.key.Rectangle2DStyleableMapAccessor
- All Implemented Interfaces:
ReadOnlyStyleableMapAccessor<javafx.geometry.Rectangle2D>,WritableStyleableMapAccessor<javafx.geometry.Rectangle2D>,CompositeMapAccessor<javafx.geometry.Rectangle2D>,MapAccessor<javafx.geometry.Rectangle2D>,NonNullMapAccessor<@NonNull javafx.geometry.Rectangle2D>
public class Rectangle2DStyleableMapAccessor
extends AbstractStyleableMapAccessor<@NonNull javafx.geometry.Rectangle2D>
implements NonNullMapAccessor<@NonNull javafx.geometry.Rectangle2D>
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
ConstructorsConstructorDescriptionRectangle2DStyleableMapAccessor(@NonNull String name, @NonNull NonNullMapAccessor<Double> xKey, @NonNull NonNullMapAccessor<Double> yKey, @NonNull NonNullMapAccessor<Double> widthKey, @NonNull NonNullMapAccessor<Double> heightKey) Creates a new instance with the specified name. -
Method Summary
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.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
-
Rectangle2DStyleableMapAccessor
public Rectangle2DStyleableMapAccessor(@NonNull String name, @NonNull NonNullMapAccessor<Double> xKey, @NonNull NonNullMapAccessor<Double> yKey, @NonNull NonNullMapAccessor<Double> widthKey, @NonNull NonNullMapAccessor<Double> 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
-
get
- Specified by:
getin interfaceMapAccessor<javafx.geometry.Rectangle2D>
-
getCssConverter
public @NonNull org.jhotdraw8.base.converter.Converter<javafx.geometry.Rectangle2D> getCssConverter()- Specified by:
getCssConverterin interfaceReadOnlyStyleableMapAccessor<javafx.geometry.Rectangle2D>
-
remove
- Specified by:
removein interfaceMapAccessor<javafx.geometry.Rectangle2D>
-
set
- Specified by:
setin interfaceMapAccessor<javafx.geometry.Rectangle2D>
-
put
public @NonNull ImmutableMap<Key<?>,Object> put(@NonNull ImmutableMap<Key<?>, Object> a, @Nullable javafx.geometry.Rectangle2D value) - Specified by:
putin interfaceMapAccessor<javafx.geometry.Rectangle2D>
-
remove
- Specified by:
removein interfaceMapAccessor<javafx.geometry.Rectangle2D>
-