Class ViewCSSImpl
java.lang.Object
org.eclipse.e4.ui.css.core.impl.dom.ViewCSSImpl
- All Implemented Interfaces:
EventListener,ExtendedDocumentCSS.StyleSheetChangeListener,ViewCSS,AbstractView
public class ViewCSSImpl
extends Object
implements ViewCSS, ExtendedDocumentCSS.StyleSheetChangeListener
ViewCSS implementation used to compute CSSStyleDeclaration.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetComputedStyle(Element elt, String pseudoElt) Determines the relevant style declaration for an DOM elementDOM: ImplementsAbstractView.getDocument().voidstyleSheetAdded(StyleSheet styleSheet) voidstyleSheetRemoved(StyleSheet styleSheet)
-
Field Details
-
documentCSS
-
-
Constructor Details
-
ViewCSSImpl
Creates a new ViewCSS.
-
-
Method Details
-
getDocument
DOM: ImplementsAbstractView.getDocument().- Specified by:
getDocumentin interfaceAbstractView
-
getComputedStyle
Determines the relevant style declaration for an DOM element- Specified by:
getComputedStylein interfaceViewCSS
-
styleSheetAdded
- Specified by:
styleSheetAddedin interfaceExtendedDocumentCSS.StyleSheetChangeListener
-
styleSheetRemoved
- Specified by:
styleSheetRemovedin interfaceExtendedDocumentCSS.StyleSheetChangeListener
-