| java.lang.Object org.netbeans.modules.visualweb.designer.cssengine.CssEngineServiceImpl
CssEngineServiceImpl | final public class CssEngineServiceImpl implements CssEngineService(Code) | | Impl of the CssEngineService .
XXX Impl code copied from various places before spread in the modules.
author: Peter Zavadsky |
Method Summary | |
public void | addTransientStyleSheetNodeForDocument(Document document, Node styleSheetNode) | public void | clearComputedStylesForElement(Element element) | public void | clearEngineStyleLookupCount() | public void | clearTransientStyleSheetNodesForDocument(Document document) | public void | createCssEngineForDocument(Document document, URL url) | public Element | createPreviewElementForDocument(Document document, URL base, String styles) | public void | flushStyleSheetCache() | static CssEngineServiceImpl | get() | public String | getAllComputedStylesForElement(Element element) | public String | getAllRulesForElement(Element element) | public String | getAllStylesForElement(Element element) | public URL | getBackgroundImageUrlForElement(Element element, URL baseUrl) | public CssValue | getComputedValueForElement(Element element, int propIndex) | CssValueImpl | getComputedValueImplForElement(Element element, int propIndex) | public String[] | getCssIdentifiers(String propertyName) | public String[] | getCssProperties() | public Collection<String> | getCssStyleClassesForDocument(Document document) | public static CssEngineService | getDefault() | public int | getEngineStyleLookupCount() | public String | getStringFromStyleMapForDocument(Document document, Map<String, String> styleMap) | public Map<String, String> | getStyleMapFromStringForDocument(Document document, String style) | public Element | getStyleParentForElement(Element element) | public String[] | getStyleResourcesForElement(Element element, String rules, Document doc, URL docUrl, int[] indexesToMatch) | public ResourceData[] | getStyleResourcesForRules(String rules, Document doc, URL docUrl, URL base, int[] indexesToMatch) | public ResourceData[] | getStyleResourcesForUrl(URL url, Document doc, URL docUrl, int[] indexesToMatch) | public String | getUpdatedLocalStyleValuesForElement(Element element, StyleData[] stylesToSet, StyleData[] stylesToRemove) | static CssUserAgentInfo | getUserAgentInfo() | public int | getXhtmlPropertyIndex(String property) | public boolean | isDefaultStyleValueForElement(Element element, String pseudo, int propIndex) | public boolean | isInheritedStyleValueForElement(Element element, int propIndex) | public boolean | isInlineStyleValue(Element element, int propidx) | public CssSyntaxErrorInfo[] | parseCss(javax.swing.text.Document document) | public StyleSheet | parseStyleSheetForDocument(Document document, String rules, URL uri, String media, Object location) | public StyleSheet | parseStyleSheetForDocument(Document document, URL uri, String media, Object location) | public void | refreshStylesForDocument(Document document) | public void | removeCssEngineForDocument(Document document) | public void | reuseCssEngineForDocument(Document document, Document originalDocument) | public void | setNullErrorHandlerForDocument(Document document) | public void | setSilentErrorHandlerForDocument(Document document) | public void | setStyleAttributeForElement(Element element, String value) | public void | setStyleParentForElement(Element element, Element styleParent) | public void | uncomputeValueForElement(Element element, int propIndex) |
addTransientStyleSheetNodeForDocument | public void addTransientStyleSheetNodeForDocument(Document document, Node styleSheetNode)(Code) | | |
clearComputedStylesForElement | public void clearComputedStylesForElement(Element element)(Code) | | |
clearEngineStyleLookupCount | public void clearEngineStyleLookupCount()(Code) | | |
clearTransientStyleSheetNodesForDocument | public void clearTransientStyleSheetNodesForDocument(Document document)(Code) | | |
createCssEngineForDocument | public void createCssEngineForDocument(Document document, URL url)(Code) | | |
flushStyleSheetCache | public void flushStyleSheetCache()(Code) | | |
getAllComputedStylesForElement | public String getAllComputedStylesForElement(Element element)(Code) | | |
getBackgroundImageUrlForElement | public URL getBackgroundImageUrlForElement(Element element, URL baseUrl)(Code) | | |
getComputedValueForElement | public CssValue getComputedValueForElement(Element element, int propIndex)(Code) | | |
getEngineStyleLookupCount | public int getEngineStyleLookupCount()(Code) | | |
getXhtmlPropertyIndex | public int getXhtmlPropertyIndex(String property)(Code) | | |
isDefaultStyleValueForElement | public boolean isDefaultStyleValueForElement(Element element, String pseudo, int propIndex)(Code) | | |
isInheritedStyleValueForElement | public boolean isInheritedStyleValueForElement(Element element, int propIndex)(Code) | | |
isInlineStyleValue | public boolean isInlineStyleValue(Element element, int propidx)(Code) | | |
refreshStylesForDocument | public void refreshStylesForDocument(Document document)(Code) | | |
removeCssEngineForDocument | public void removeCssEngineForDocument(Document document)(Code) | | |
reuseCssEngineForDocument | public void reuseCssEngineForDocument(Document document, Document originalDocument)(Code) | | |
setNullErrorHandlerForDocument | public void setNullErrorHandlerForDocument(Document document)(Code) | | |
setSilentErrorHandlerForDocument | public void setSilentErrorHandlerForDocument(Document document)(Code) | | |
setStyleAttributeForElement | public void setStyleAttributeForElement(Element element, String value)(Code) | | |
setStyleParentForElement | public void setStyleParentForElement(Element element, Element styleParent)(Code) | | |
uncomputeValueForElement | public void uncomputeValueForElement(Element element, int propIndex)(Code) | | |
|
|