java.lang.Object
org.jhotdraw8.fxcollection.typesafekey.AbstractKey<CssColor>
org.jhotdraw8.draw.key.AbstractStyleableKey<CssColor>
org.jhotdraw8.draw.key.NullableCssColorStyleableKey
- All Implemented Interfaces:
ReadOnlyStyleableMapAccessor<CssColor>,WritableStyleableMapAccessor<CssColor>,Key<CssColor>,MapAccessor<CssColor>
public class NullableCssColorStyleableKey
extends AbstractStyleableKey<CssColor>
implements WritableStyleableMapAccessor<CssColor>
NullableCssColorStyleableKey.
- Author:
- Werner Randelshofer
-
Field Summary
Fields inherited from interface org.jhotdraw8.fxbase.styleable.WritableStyleableMapAccessor
serialVersionUID -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance with the specified name and with null as the default value.NullableCssColorStyleableKey(String key, CssColor defaultValue) Creates a new instance with the specified name, type token class, default value, and allowing or disallowing null values. -
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, get, get, getValue, getValueProperty, isAssignable, isDefault, 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.fxbase.styleable.ReadOnlyStyleableMapAccessor
getCssName, getCssNamespaceMethods inherited from interface org.jhotdraw8.fxbase.styleable.WritableStyleableMapAccessor
getExamples
-
Constructor Details
-
NullableCssColorStyleableKey
Creates a new instance with the specified name and with null as the default value.- Parameters:
name- The name of the key.
-
NullableCssColorStyleableKey
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.
-
-
Method Details
-
getCssConverter
- Specified by:
getCssConverterin interfaceReadOnlyStyleableMapAccessor<CssColor>
-