java.lang.Object
org.jhotdraw8.fxcollection.typesafekey.AbstractKey<String>
org.jhotdraw8.draw.key.AbstractStyleableKey<@NonNull String>
org.jhotdraw8.draw.key.StringOrIdentStyleableKey
- All Implemented Interfaces:
ReadOnlyStyleableMapAccessor<String>,WritableStyleableMapAccessor<@NonNull String>,Key<String>,MapAccessor<String>,NonNullKey<@NonNull String>,NonNullMapAccessor<String>
public class StringOrIdentStyleableKey
extends AbstractStyleableKey<@NonNull String>
implements WritableStyleableMapAccessor<@NonNull String>, NonNullKey<@NonNull String>
This key has a string value which can be given as a CSS "IDENT"-token or
as a CSS "STRING"-token.
- Author:
- Werner Randelshofer
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance with the specified name and with an empty String as the default value.StringOrIdentStyleableKey(@NonNull String name, String defaultValue) Creates a new instance with the specified name, mask and default value. -
Method Summary
Modifier and TypeMethodDescriptionMethods 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
-
StringOrIdentStyleableKey
Creates a new instance with the specified name and with an empty String as the default value.- Parameters:
name- The name of the key.
-
StringOrIdentStyleableKey
Creates a new instance with the specified name, mask and default value.- Parameters:
name- The name of the key.defaultValue- The default value.
-
-
Method Details
-
getCssConverter
- Specified by:
getCssConverterin interfaceReadOnlyStyleableMapAccessor<String>
-