java.lang.Object
org.jhotdraw8.css.model.AbstractSelectorModel<Figure>
org.jhotdraw8.draw.css.model.FigureSelectorModel
- All Implemented Interfaces:
SelectorModel<Figure>
FigureSelectorModel.
- Author:
- Werner Randelshofer
-
Property Summary
Properties inherited from class org.jhotdraw8.css.model.AbstractSelectorModel
additionalPseudoClassStates -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanattributeValueContains(Figure element, @Nullable String namespacePattern, String attributeName, String substring) booleanattributeValueContainsWord(Figure element, @Nullable String namespacePattern, String attributeName, String word) booleanattributeValueEndsWith(Figure element, @Nullable String namespacePattern, String attributeName, String substring) booleanattributeValueEquals(Figure element, @Nullable String namespacePattern, String attributeName, String requestedValue) booleanattributeValueStartsWith(Figure element, @Nullable String namespacePattern, String attributeName, String substring) @Nullable WritableStyleableMapAccessor<?> getAccessor(Figure element, @Nullable String namespace, String attributeName) getAttribute(Figure element, @Nullable javafx.css.StyleOrigin origin, @Nullable String namespacePattern, String attributeName) @Nullable StringgetAttributeAsString(Figure element, @Nullable String namespacePattern, String attributeName) @Nullable StringgetAttributeAsString(Figure element, @Nullable javafx.css.StyleOrigin origin, @Nullable String namespacePattern, String attributeName) getAttributeNames(Figure element) getComposedAttributeNames(Figure element) @Nullable org.jhotdraw8.base.converter.Converter<?> getConverter(Figure element, @Nullable String namespace, String attributeName) getDecomposedAttributeNames(Figure element) @Nullable FiguregetPreviousSibling(Figure element) getPseudoClasses(Figure element) protected @Nullable ReadOnlyStyleableMapAccessor<Object> getReadableAttributeAccessor(Figure element, @Nullable String namespace, String attributeName) protected @Nullable StringgetReadOnlyAttributeValueAsString(Figure element, @Nullable String namespace, String attributeName) getStyleClasses(Figure element) @Nullable QualifiedNameprotected Map<QualifiedName, List<WritableStyleableMapAccessor<Object>>> getWritableMetaMap(Figure elem) booleanhasAttribute(Figure element, @Nullable String namespace, String attributeName) booleanbooleanhasPseudoClass(Figure element, String pseudoClass) booleanhasStyleClass(Figure element, String clazz) booleanprotected @Nullable Objectprotected booleanisInitialRevertOrUnset(@Nullable ReadOnlyList<CssToken> value) FIXME All selector models must support the keywords "initial","inherit","revert","unset".voidvoidsetAttribute(Figure elem, javafx.css.StyleOrigin origin, @Nullable String namespace, String name, @Nullable ReadOnlyList<CssToken> value) Methods inherited from class org.jhotdraw8.css.model.AbstractSelectorModel
additionalPseudoClassStatesProperty
-
Field Details
-
JAVA_CLASS_NAMESPACE
- See Also:
-
-
Constructor Details
-
FigureSelectorModel
public FigureSelectorModel()
-
-
Method Details
-
hasId
-
getId
-
hasType
-
getType
-
hasStyleClass
-
getStyleClasses
-
getPseudoClasses
-
hasAttribute
-
attributeValueEquals
-
attributeValueStartsWith
-
getReadableAttributeAccessor
protected @Nullable ReadOnlyStyleableMapAccessor<Object> getReadableAttributeAccessor(Figure element, @Nullable String namespace, String attributeName) -
getReadOnlyAttributeValueAsString
-
attributeValueEndsWith
-
attributeValueContains
-
attributeValueContainsWord
-
hasPseudoClass
-
getParent
-
getPreviousSibling
-
getAttributeNames
-
getComposedAttributeNames
-
getDecomposedAttributeNames
-
getAttributeAsString
-
getAttributeAsString
-
getAttribute
-
getConverter
-
getAccessor
public @Nullable WritableStyleableMapAccessor<?> getAccessor(Figure element, @Nullable String namespace, String attributeName) -
getWritableMetaMap
protected Map<QualifiedName,List<WritableStyleableMapAccessor<Object>>> getWritableMetaMap(Figure elem) -
setAttribute
public void setAttribute(Figure elem, javafx.css.StyleOrigin origin, @Nullable String namespace, String name, @Nullable ReadOnlyList<CssToken> value) -
intern
-
isInitialRevertOrUnset
FIXME All selector models must support the keywords "initial","inherit","revert","unset".- Parameters:
value- the token- Returns:
- true if the value is "initial".
-
reset
-