java.lang.Object
org.jhotdraw8.fxcollection.typesafekey.AbstractKey<CssPoint2D>
org.jhotdraw8.draw.key.AbstractStyleableKey<@NonNull CssPoint2D>
org.jhotdraw8.draw.key.CssPoint2DStyleableKey
- All Implemented Interfaces:
Serializable,ReadOnlyStyleableMapAccessor<CssPoint2D>,WritableStyleableMapAccessor<@NonNull CssPoint2D>,Key<CssPoint2D>,MapAccessor<CssPoint2D>,NonNullKey<@NonNull CssPoint2D>,NonNullMapAccessor<CssPoint2D>
public class CssPoint2DStyleableKey
extends AbstractStyleableKey<@NonNull CssPoint2D>
implements WritableStyleableMapAccessor<@NonNull CssPoint2D>, NonNullKey<@NonNull CssPoint2D>
Non-null CssPoint2DStyleableFigureKey.
- Author:
- Werner Randelshofer
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance with the specified name and with 0,0 as the default value.CssPoint2DStyleableKey(@NonNull String key, @NonNull CssPoint2D defaultValue) Creates a new instance with the specified name, type token class, default value, and allowing or disallowing null values.CssPoint2DStyleableKey(@NonNull String key, @NonNull CssPoint2D defaultValue, @NonNull CssConverter<CssPoint2D> converter) -
Method Summary
Methods inherited from class org.jhotdraw8.draw.key.AbstractStyleableKey
getCssName, getCssNamespaceMethods inherited from class org.jhotdraw8.fxcollection.typesafekey.AbstractKey
getDefaultValue, getName, getValueType, isNullable, 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.Key
cast, containsKey, getValue, getValueProperty, isAssignable, isDefault, isNullable, propertyAt, put, put, putValue, readOnlyPropertyAt, remove, remove, valueAtMethods inherited from interface org.jhotdraw8.fxcollection.typesafekey.MapAccessor
getDefaultValue, getName, getRawValueType, getValueType, isTransient, setMethods inherited from interface org.jhotdraw8.fxcollection.typesafekey.NonNullKey
get, getMethods inherited from interface org.jhotdraw8.fxcollection.typesafekey.NonNullMapAccessor
getDefaultValueNonNull, getNonNull, getNonNull, putNonNullMethods inherited from interface org.jhotdraw8.fxbase.styleable.ReadOnlyStyleableMapAccessor
getCssName, getCssNamespaceMethods inherited from interface org.jhotdraw8.fxbase.styleable.WritableStyleableMapAccessor
getExamples
-
Constructor Details
-
CssPoint2DStyleableKey
Creates a new instance with the specified name and with 0,0 as the default value.- Parameters:
name- The name of the key.
-
CssPoint2DStyleableKey
Creates a new instance with the specified name, type token class, default value, and allowing or disallowing null values.- Parameters:
key- The name of the name. type parameters are given. Otherwise specify them in arrow brackets.defaultValue- The default value.
-
CssPoint2DStyleableKey
public CssPoint2DStyleableKey(@NonNull String key, @NonNull CssPoint2D defaultValue, @NonNull CssConverter<CssPoint2D> converter)
-
-
Method Details
-
getCssConverter
- Specified by:
getCssConverterin interfaceReadOnlyStyleableMapAccessor<CssPoint2D>
-