java.lang.Object
org.jhotdraw8.draw.key.AbstractMapAccessor<javafx.geometry.Rectangle2D>
org.jhotdraw8.draw.key.Rectangle2DMapAccessor
- All Implemented Interfaces:
CompositeMapAccessor<javafx.geometry.Rectangle2D>,MapAccessor<javafx.geometry.Rectangle2D>
Rectangle2DStyleableMapAccessor.
- Author:
- Werner Randelshofer
-
Field Summary
Fields inherited from interface org.jhotdraw8.fxcollection.typesafekey.CompositeMapAccessor
serialVersionUID -
Constructor Summary
ConstructorsConstructorDescriptionRectangle2DMapAccessor(String name, @NonNull MapAccessor<Double> xKey, @NonNull MapAccessor<Double> yKey, @NonNull MapAccessor<Double> widthKey, @NonNull MapAccessor<Double> heightKey) Creates a new instance with the specified name. -
Method Summary
Methods inherited from class org.jhotdraw8.draw.key.AbstractMapAccessor
getDefaultValue, getName, getSubAccessors, getValueType, isTransient, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jhotdraw8.fxcollection.typesafekey.CompositeMapAccessor
containsKeyMethods inherited from interface org.jhotdraw8.fxcollection.typesafekey.MapAccessor
get, getRawValueType, set
-
Constructor Details
-
Rectangle2DMapAccessor
public Rectangle2DMapAccessor(String name, @NonNull MapAccessor<Double> xKey, @NonNull MapAccessor<Double> yKey, @NonNull MapAccessor<Double> widthKey, @NonNull MapAccessor<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
-
put
-
remove
-
put
public @NonNull ImmutableMap<Key<?>,Object> put(@NonNull ImmutableMap<Key<?>, Object> a, @Nullable javafx.geometry.Rectangle2D value) -
remove
-