java.lang.Object
org.jhotdraw8.draw.key.AbstractMapAccessor<javafx.geometry.BoundingBox>
org.jhotdraw8.draw.key.BoundingBoxMapAccessor
- All Implemented Interfaces:
CompositeMapAccessor<javafx.geometry.BoundingBox>,MapAccessor<javafx.geometry.BoundingBox>
BoundingBoxMapAccessor.
- Author:
- Werner Randelshofer
-
Field Summary
Fields inherited from interface org.jhotdraw8.fxcollection.typesafekey.CompositeMapAccessor
serialVersionUID -
Constructor Summary
ConstructorsConstructorDescriptionBoundingBoxMapAccessor(String name, MapAccessor<Double> xKey, MapAccessor<Double> yKey, MapAccessor<Double> widthKey, MapAccessor<Double> heightKey) Creates a new instance with the specified name. -
Method Summary
Modifier and TypeMethodDescriptionjavafx.geometry.BoundingBoxjavafx.geometry.BoundingBoxImmutableMap<Key<?>, Object> put(ImmutableMap<Key<?>, Object> a, @Nullable javafx.geometry.BoundingBox value) javafx.geometry.BoundingBoxImmutableMap<Key<?>, Object> remove(ImmutableMap<Key<?>, Object> a) 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
-
BoundingBoxMapAccessor
public BoundingBoxMapAccessor(String name, MapAccessor<Double> xKey, MapAccessor<Double> yKey, MapAccessor<Double> widthKey, 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 ImmutableMap<Key<?>,Object> put(ImmutableMap<Key<?>, Object> a, @Nullable javafx.geometry.BoundingBox value) -
remove
-