java.lang.Object
org.jhotdraw8.draw.key.AbstractStyleableMapAccessor<javafx.geometry.Point2D>
org.jhotdraw8.draw.key.Point2DStyleableMapAccessor
- All Implemented Interfaces:
Serializable,ReadOnlyStyleableMapAccessor<javafx.geometry.Point2D>,WritableStyleableMapAccessor<javafx.geometry.Point2D>,CompositeMapAccessor<javafx.geometry.Point2D>,MapAccessor<javafx.geometry.Point2D>
- Direct Known Subclasses:
SymmetricPoint2DStyleableMapAccessor
public class Point2DStyleableMapAccessor
extends AbstractStyleableMapAccessor<javafx.geometry.Point2D>
Point2DStyleableMapAccessor.
- Author:
- Werner Randelshofer
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPoint2DStyleableMapAccessor(String name, @NonNull NonNullMapAccessor<Double> xKey, @NonNull NonNullMapAccessor<Double> yKey) Creates a new instance with the specified name.Point2DStyleableMapAccessor(String name, @NonNull NonNullMapAccessor<Double> xKey, @NonNull NonNullMapAccessor<Double> yKey, org.jhotdraw8.base.converter.Converter<javafx.geometry.Point2D> converter) 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, getRawValueTypeMethods inherited from interface org.jhotdraw8.fxbase.styleable.ReadOnlyStyleableMapAccessor
getCssNamespaceMethods inherited from interface org.jhotdraw8.fxbase.styleable.WritableStyleableMapAccessor
getExamples
-
Constructor Details
-
Point2DStyleableMapAccessor
public Point2DStyleableMapAccessor(String name, @NonNull NonNullMapAccessor<Double> xKey, @NonNull NonNullMapAccessor<Double> yKey) Creates a new instance with the specified name.- Parameters:
name- the name of the accessorxKey- the key for the x coordinate of the pointyKey- the key for the y coordinate of the point
-
Point2DStyleableMapAccessor
public Point2DStyleableMapAccessor(String name, @NonNull NonNullMapAccessor<Double> xKey, @NonNull NonNullMapAccessor<Double> yKey, org.jhotdraw8.base.converter.Converter<javafx.geometry.Point2D> converter) Creates a new instance with the specified name.- Parameters:
name- the name of the accessorxKey- the key for the x coordinate of the pointyKey- the key for the y coordinate of the pointconverter- String converter for the point
-
-
Method Details
-
get
-
getCssConverter
public final @NonNull org.jhotdraw8.base.converter.Converter<javafx.geometry.Point2D> getCssConverter() -
remove
-
set
-
put
public @NonNull ImmutableMap<Key<?>,Object> put(@NonNull ImmutableMap<Key<?>, Object> a, @Nullable javafx.geometry.Point2D value) -
remove
-