Interface ICSSPropertyHandlerProvider
- All Known Implementing Classes:
AbstractCSSPropertyHandlerProvider
,CSSPropertyHandlerLazyProviderImpl
,CSSPropertyHandlerSimpleProviderImpl
,RegistryCSSPropertyHandlerProvider
public interface ICSSPropertyHandlerProvider
Interface CSS Property Handler provider to manage
- the strategy to provide list of
ICSSPropertyHandler
linked to a CSS Property. - the strategy to get the CSS default style declaration of an element
-
Method Summary
Modifier and TypeMethodDescriptiongetCSSProperties
(Object element) Return the list of applicable properties forelement
getCSSPropertyHandlers
(Object element, String property) Return list ofICSSPropertyHandler
linked to the CSS Propertyproperty
for the provided element.getCSSPropertyHandlers
(String property) Return list ofICSSPropertyHandler
linked to the CSS Propertyproperty
.getDefaultCSSStyleDeclaration
(CSSEngine engine, Object element, CSSStyleDeclaration newStyle, String pseudoE) Return the default CSS style declaration of theelement
before apply thenewStyle
CSSStyleDeclaration
.
-
Method Details
-
getCSSPropertyHandlers
Return list ofICSSPropertyHandler
linked to the CSS Propertyproperty
.- Throws:
Exception
-
getDefaultCSSStyleDeclaration
CSSStyleDeclaration getDefaultCSSStyleDeclaration(CSSEngine engine, Object element, CSSStyleDeclaration newStyle, String pseudoE) throws Exception Return the default CSS style declaration of theelement
before apply thenewStyle
CSSStyleDeclaration
.- Throws:
Exception
-
getCSSPropertyHandlers
Collection<ICSSPropertyHandler> getCSSPropertyHandlers(Object element, String property) throws Exception Return list ofICSSPropertyHandler
linked to the CSS Propertyproperty
for the provided element.- Parameters:
element
- the DOM element- Returns:
- the handlers for the element
- Throws:
Exception
-
getCSSProperties
Return the list of applicable properties forelement
- Parameters:
element
- the DOM element
-