Module org.jhotdraw8.fxbase
Package org.jhotdraw8.fxbase.styleable
Interface ReadOnlyStyleableMapAccessor<T>
- Type Parameters:
T- The value type.
- All Superinterfaces:
MapAccessor<T>
- All Known Subinterfaces:
WritableStyleableMapAccessor<T>
Generic interface for map accessors that are readable by CSS.
This interface does not guarantee 'read-only', it actually guarantees 'readable'. We use the prefix 'ReadOnly' because this is the naming convention in JavaFX for APIs that provide read methods but no write methods.
- Author:
- Werner Randelshofer
-
Field Summary
Fields -
Method Summary
Methods inherited from interface org.jhotdraw8.fxcollection.typesafekey.MapAccessor
containsKey, get, get, getDefaultValue, getName, getRawValueType, getValueType, isTransient, put, put, remove, remove, set
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
-
Method Details
-
getCssConverter
Gets the converter.- Returns:
- the converter
-
getCssName
String getCssName()Returns the CSS name string.The default implementation converts the name from "camel case" to "dash separated words".
- Returns:
- name string.
-
getCssNamespace
Returns the CSS namespace uri.The default implementation returns null.
- Returns:
- namespace uri string.
-
toCssName
Returns the CSS name string.Converts the name from "camelCase" to "kebab-case".
- Parameters:
camelCaseName- string- Returns:
- cssName string.
-