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
ICSSPropertyHandlerlinked 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 forelementgetCSSPropertyHandlers(Object element, String property) Return list ofICSSPropertyHandlerlinked to the CSS Propertypropertyfor the provided element.getCSSPropertyHandlers(String property) Return list ofICSSPropertyHandlerlinked to the CSS Propertyproperty.getDefaultCSSStyleDeclaration(CSSEngine engine, Object element, CSSStyleDeclaration newStyle, String pseudoE) Return the default CSS style declaration of theelementbefore apply thenewStyleCSSStyleDeclaration.
-
Method Details
-
getCSSPropertyHandlers
Return list ofICSSPropertyHandlerlinked 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 theelementbefore apply thenewStyleCSSStyleDeclaration.- Throws:
Exception
-
getCSSPropertyHandlers
Collection<ICSSPropertyHandler> getCSSPropertyHandlers(Object element, String property) throws Exception Return list ofICSSPropertyHandlerlinked to the CSS Propertypropertyfor 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
-