java.lang.Object
org.jhotdraw8.draw.key.AbstractStyleableMapAccessor<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<javafx.geometry.Rectangle2D>
public class Rectangle2DStyleableMapAccessor
extends AbstractStyleableMapAccessor<javafx.geometry.Rectangle2D>
implements NonNullMapAccessor<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(String name, NonNullMapAccessor<Double> xKey, NonNullMapAccessor<Double> yKey, NonNullMapAccessor<Double> widthKey, NonNullMapAccessor<Double> heightKey) Creates a new instance with the specified name. -
Method Summary
Modifier and TypeMethodDescriptionjavafx.geometry.Rectangle2Dorg.jhotdraw8.base.converter.Converter<javafx.geometry.Rectangle2D> ImmutableMap<Key<?>, Object> put(ImmutableMap<Key<?>, Object> a, @Nullable javafx.geometry.Rectangle2D value) javafx.geometry.Rectangle2DImmutableMap<Key<?>, Object> remove(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.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(String name, NonNullMapAccessor<Double> xKey, NonNullMapAccessor<Double> yKey, NonNullMapAccessor<Double> widthKey, 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 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 ImmutableMap<Key<?>,Object> put(ImmutableMap<Key<?>, Object> a, @Nullable javafx.geometry.Rectangle2D value) - Specified by:
putin interfaceMapAccessor<javafx.geometry.Rectangle2D>
-
remove
- Specified by:
removein interfaceMapAccessor<javafx.geometry.Rectangle2D>
-