java.lang.Object
org.jhotdraw8.fxcollection.typesafekey.AbstractKey<CssPoint2D>
org.jhotdraw8.draw.key.AbstractStyleableKey<CssPoint2D>
org.jhotdraw8.draw.key.CssPoint2DStyleableKey
- All Implemented Interfaces:
ReadOnlyStyleableMapAccessor<CssPoint2D>,WritableStyleableMapAccessor<CssPoint2D>,Key<CssPoint2D>,MapAccessor<CssPoint2D>,NonNullKey<CssPoint2D>,NonNullMapAccessor<CssPoint2D>
public class CssPoint2DStyleableKey
extends AbstractStyleableKey<CssPoint2D>
implements WritableStyleableMapAccessor<CssPoint2D>, NonNullKey<CssPoint2D>
Non-null CssPoint2DStyleableFigureKey.
- Author:
- Werner Randelshofer
-
Field Summary
Fields inherited from interface org.jhotdraw8.fxcollection.typesafekey.Key
serialVersionUIDFields inherited from interface org.jhotdraw8.fxcollection.typesafekey.NonNullMapAccessor
serialVersionUIDFields inherited from interface org.jhotdraw8.fxbase.styleable.WritableStyleableMapAccessor
serialVersionUID -
Constructor Summary
ConstructorsConstructorDescriptionCssPoint2DStyleableKey(String name) Creates a new instance with the specified name and with 0,0 as the default value.CssPoint2DStyleableKey(String key, CssPoint2D defaultValue) Creates a new instance with the specified name, type token class, default value, and allowing or disallowing null values.CssPoint2DStyleableKey(String key, CssPoint2D defaultValue, 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(String key, CssPoint2D defaultValue, CssConverter<CssPoint2D> converter)
-
-
Method Details
-
getCssConverter
- Specified by:
getCssConverterin interfaceReadOnlyStyleableMapAccessor<CssPoint2D>
-