java.lang.Object
org.jhotdraw8.draw.key.AbstractStyleableMapAccessor<CssFont>
org.jhotdraw8.draw.key.FontStyleableMapAccessor
- All Implemented Interfaces:
ReadOnlyStyleableMapAccessor<CssFont>,WritableStyleableMapAccessor<CssFont>,CompositeMapAccessor<CssFont>,MapAccessor<CssFont>,NonNullMapAccessor<CssFont>
public class FontStyleableMapAccessor
extends AbstractStyleableMapAccessor<CssFont>
implements NonNullMapAccessor<CssFont>
FontStyleableMapAccessor.
- Author:
- Werner Randelshofer
-
Field Summary
Fields inherited from interface org.jhotdraw8.fxcollection.typesafekey.CompositeMapAccessor
serialVersionUIDFields inherited from interface org.jhotdraw8.fxcollection.typesafekey.NonNullMapAccessor
serialVersionUIDFields inherited from interface org.jhotdraw8.fxbase.styleable.WritableStyleableMapAccessor
serialVersionUID -
Constructor Summary
ConstructorsConstructorDescriptionFontStyleableMapAccessor(String name, MapAccessor<String> familyKey, MapAccessor<javafx.scene.text.FontWeight> weightKey, MapAccessor<javafx.scene.text.FontPosture> postureKey, MapAccessor<CssSize> sizeKey) Creates a new instance with the specified name. -
Method Summary
Modifier and TypeMethodDescriptionorg.jhotdraw8.base.converter.Converter<CssFont> ImmutableMap<Key<?>, Object> put(ImmutableMap<Key<?>, Object> a, CssFont value) ImmutableMap<Key<?>, Object> remove(ImmutableMap<Key<?>, Object> a) voidMethods 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(String name, MapAccessor<String> familyKey, MapAccessor<javafx.scene.text.FontWeight> weightKey, MapAccessor<javafx.scene.text.FontPosture> postureKey, MapAccessor<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
- Specified by:
putin interfaceMapAccessor<CssFont>
-
remove
- Specified by:
removein interfaceMapAccessor<CssFont>
-