java.lang.Object
org.jhotdraw8.draw.key.AbstractStyleableMapAccessor<CssStrokeStyle>
org.jhotdraw8.draw.key.StrokeStyleableMapAccessor
- All Implemented Interfaces:
ReadOnlyStyleableMapAccessor<CssStrokeStyle>,WritableStyleableMapAccessor<CssStrokeStyle>,CompositeMapAccessor<CssStrokeStyle>,MapAccessor<CssStrokeStyle>
Stroke Style combines all stroke attributes.
- Author:
- Werner Randelshofer
-
Field Summary
Fields inherited from interface org.jhotdraw8.fxcollection.typesafekey.CompositeMapAccessor
serialVersionUIDFields inherited from interface org.jhotdraw8.fxbase.styleable.WritableStyleableMapAccessor
serialVersionUID -
Constructor Summary
ConstructorsConstructorDescriptionStrokeStyleableMapAccessor(String name, MapAccessor<javafx.scene.shape.StrokeType> typeKey, MapAccessor<javafx.scene.shape.StrokeLineCap> lineCapKey, MapAccessor<javafx.scene.shape.StrokeLineJoin> lineJoinKey, MapAccessor<CssSize> miterLimitKey, MapAccessor<CssSize> dashOffsetKey, MapAccessor<ImmutableList<CssSize>> dashArrayKey) -
Method Summary
Modifier and TypeMethodDescriptionorg.jhotdraw8.base.converter.Converter<CssStrokeStyle> booleanThis is a non-standard map composite map accessor and thus it is transient.ImmutableMap<Key<?>, Object> put(ImmutableMap<Key<?>, Object> a, @Nullable CssStrokeStyle value) ImmutableMap<Key<?>, Object> remove(ImmutableMap<Key<?>, Object> a) voidset(Map<? super Key<?>, Object> a, @Nullable CssStrokeStyle value) Methods inherited from class org.jhotdraw8.draw.key.AbstractStyleableMapAccessor
containsKey, getCssName, getDefaultValue, getName, getSubAccessors, getValueType, 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, getRawValueTypeMethods inherited from interface org.jhotdraw8.fxbase.styleable.ReadOnlyStyleableMapAccessor
getCssNamespaceMethods inherited from interface org.jhotdraw8.fxbase.styleable.WritableStyleableMapAccessor
getExamples
-
Constructor Details
-
StrokeStyleableMapAccessor
public StrokeStyleableMapAccessor(String name, MapAccessor<javafx.scene.shape.StrokeType> typeKey, MapAccessor<javafx.scene.shape.StrokeLineCap> lineCapKey, MapAccessor<javafx.scene.shape.StrokeLineJoin> lineJoinKey, MapAccessor<CssSize> miterLimitKey, MapAccessor<CssSize> dashOffsetKey, MapAccessor<ImmutableList<CssSize>> dashArrayKey)
-
-
Method Details
-
get
-
getCssConverter
-
isTransient
public boolean isTransient()This is a non-standard map composite map accessor and thus it is transient. We only used in the GUI to get a more concise presentation of attributes.- Specified by:
isTransientin interfaceMapAccessor<CssStrokeStyle>- Overrides:
isTransientin classAbstractStyleableMapAccessor<CssStrokeStyle>- Returns:
- true
-
remove
-
set
-
put
public ImmutableMap<Key<?>,Object> put(ImmutableMap<Key<?>, Object> a, @Nullable CssStrokeStyle value) -
remove
-