java.lang.Object
org.jhotdraw8.draw.key.AbstractStyleableMapAccessor<@NonNull CssFont>
org.jhotdraw8.draw.key.FontStyleableMapAccessor
- All Implemented Interfaces:
Serializable,ReadOnlyStyleableMapAccessor<CssFont>,WritableStyleableMapAccessor<CssFont>,CompositeMapAccessor<CssFont>,MapAccessor<CssFont>,NonNullMapAccessor<@NonNull CssFont>
public class FontStyleableMapAccessor
extends AbstractStyleableMapAccessor<@NonNull CssFont>
implements NonNullMapAccessor<@NonNull CssFont>
FontStyleableMapAccessor.
- Author:
- Werner Randelshofer
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFontStyleableMapAccessor(@NonNull String name, @NonNull MapAccessor<String> familyKey, @NonNull MapAccessor<javafx.scene.text.FontWeight> weightKey, @NonNull MapAccessor<javafx.scene.text.FontPosture> postureKey, @NonNull MapAccessor<@NonNull CssSize> sizeKey) 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, getDefaultValue, getName, getRawValueType, getValueType, isTransient, putMethods inherited from interface org.jhotdraw8.fxcollection.typesafekey.NonNullMapAccessor
getDefaultValueNonNull, getNonNull, getNonNull, putNonNullMethods inherited from interface org.jhotdraw8.fxbase.styleable.ReadOnlyStyleableMapAccessor
getCssNamespaceMethods inherited from interface org.jhotdraw8.fxbase.styleable.WritableStyleableMapAccessor
getExamples
-
Constructor Details
-
FontStyleableMapAccessor
public FontStyleableMapAccessor(@NonNull String name, @NonNull MapAccessor<String> familyKey, @NonNull MapAccessor<javafx.scene.text.FontWeight> weightKey, @NonNull MapAccessor<javafx.scene.text.FontPosture> postureKey, @NonNull MapAccessor<@NonNull CssSize> sizeKey) Creates a new instance with the specified name.- Parameters:
name- the name of the accessorfamilyKey- the font family keyweightKey- the font weight keypostureKey- the font posture keysizeKey- the font size key
-
-
Method Details
-
get
- Specified by:
getin interfaceMapAccessor<CssFont>
-
getCssConverter
- Specified by:
getCssConverterin interfaceReadOnlyStyleableMapAccessor<CssFont>
-
remove
- Specified by:
removein interfaceMapAccessor<CssFont>
-
set
- Specified by:
setin interfaceMapAccessor<CssFont>
-
put
public @NonNull ImmutableMap<Key<?>,Object> put(@NonNull ImmutableMap<Key<?>, Object> a, CssFont value) - Specified by:
putin interfaceMapAccessor<CssFont>
-
remove
- Specified by:
removein interfaceMapAccessor<CssFont>
-