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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetComputedStyle
(Element elt, String pseudoElt) Determines the relevant style declaration for an DOM elementDOM: ImplementsAbstractView.getDocument()
.void
styleSheetAdded
(StyleSheet styleSheet) void
styleSheetRemoved
(StyleSheet styleSheet)
-
Field Details
-
documentCSS
-
-
Constructor Details
-
ViewCSSImpl
Creates a new ViewCSS.
-
-
Method Details
-
getDocument
DOM: ImplementsAbstractView.getDocument()
.- Specified by:
getDocument
in interfaceAbstractView
-
getComputedStyle
Determines the relevant style declaration for an DOM element- Specified by:
getComputedStyle
in interfaceViewCSS
-
styleSheetAdded
- Specified by:
styleSheetAdded
in interfaceExtendedDocumentCSS.StyleSheetChangeListener
-
styleSheetRemoved
- Specified by:
styleSheetRemoved
in interfaceExtendedDocumentCSS.StyleSheetChangeListener
-