/** * Returns the Value associated with this object. */ public Value getValue() { return cssEngine.getComputedStyle(element, pseudoElement, index); } }
/** * Returns the Value associated with this object. */ public Value getValue() { return cssEngine.getComputedStyle(element, pseudoElement, index); } }
/** * Returns the Value associated with this object. */ public Value getValue() { return cssEngine.getComputedStyle(element, pseudoElement, index); } }
/** * Returns the Value associated with this object. */ public Value getValue() { return cssEngine.getComputedStyle(element, pseudoElement, index); } }
/** * Returns the Value associated with this object. */ public Value getValue() { return cssEngine.getComputedStyle(element, pseudoElement, index); } }
/** * Returns the Value associated with this object. */ public Value getValue() { return cssEngine.getComputedStyle(element, pseudoElement, index); } }
/** * Returns the Value associated with this object. */ public Value getValue() { return cssEngine.getComputedStyle(element, pseudoElement, index); } }
/** * Returns the Value associated with this object. */ public Value getValue() { return cssEngine.getComputedStyle(element, pseudoElement, index); } }
/** * Returns the Value associated with this object. */ public Value getValue() { return cssEngine.getComputedStyle(element, pseudoElement, index); } }
/** * Returns the computed style of the given property. */ public static Value getComputedStyle(Element e, int property) { CSSEngine engine = getCSSEngine(e); if (engine == null) return null; return engine.getComputedStyle((CSSStylableElement)e, null, property); }
/** * Returns the computed style of the given property. */ public static Value getComputedStyle(Element e, int property) { CSSEngine engine = getCSSEngine(e); if (engine == null) return null; return engine.getComputedStyle((CSSStylableElement)e, null, property); }
/** * Returns the computed style of the given property. */ public static Value getComputedStyle(Element e, int property) { CSSEngine engine = getCSSEngine(e); if (engine == null) return null; return engine.getComputedStyle((CSSStylableElement)e, null, property); }
/** * <b>DOM</b>: Implements {@link * org.w3c.dom.css.CSSStyleDeclaration#getCssText()}. */ public String getCssText() { StringBuffer sb = new StringBuffer(); for (int i = 0; i < cssEngine.getNumberOfProperties(); i++) { sb.append(cssEngine.getPropertyName(i)); sb.append(": "); sb.append(cssEngine.getComputedStyle(element, pseudoElement, i).getCssText()); sb.append(";\n"); } return sb.toString(); }
/** * <b>DOM</b>: Implements {@link * org.w3c.dom.css.CSSStyleDeclaration#getCssText()}. */ public String getCssText() { StringBuffer sb = new StringBuffer(); for (int i = 0; i < cssEngine.getNumberOfProperties(); i++) { sb.append(cssEngine.getPropertyName(i)); sb.append(": "); sb.append(cssEngine.getComputedStyle(element, pseudoElement, i).getCssText()); sb.append(";\n"); } return sb.toString(); }
/** * <b>DOM</b>: Implements {@link * org.w3c.dom.css.CSSStyleDeclaration#getPropertyValue(String)}. */ public String getPropertyValue(String propertyName) { int idx = cssEngine.getPropertyIndex(propertyName); if (idx == -1) { return ""; } Value v = cssEngine.getComputedStyle(element, pseudoElement, idx); return v.getCssText(); }
/** * <b>DOM</b>: Implements {@link * org.w3c.dom.css.CSSStyleDeclaration#getPropertyValue(String)}. */ public String getPropertyValue(String propertyName) { int idx = cssEngine.getPropertyIndex(propertyName); if (idx == -1) { return ""; } Value v = cssEngine.getComputedStyle(element, pseudoElement, idx); return v.getCssText(); }
/** * <b>DOM</b>: Implements {@link * org.w3c.dom.css.CSSStyleDeclaration#getPropertyValue(String)}. */ public String getPropertyValue(String propertyName) { int idx = cssEngine.getPropertyIndex(propertyName); if (idx == -1) { return ""; } Value v = cssEngine.getComputedStyle(element, pseudoElement, idx); return v.getCssText(); }
/** * Returns whether color interpolations should be done in linear RGB * color space rather than sRGB. */ public boolean useLinearRGBColorInterpolation() { CSSEngine eng = ((SVGOMDocument) getOwnerDocument()).getCSSEngine(); Value v = eng.getComputedStyle(this, null, SVGCSSEngine.COLOR_INTERPOLATION_INDEX); return v.getStringValue().charAt(0) == 'l'; }
/** * Returns whether color interpolations should be done in linear RGB * color space rather than sRGB. */ public boolean useLinearRGBColorInterpolation() { CSSEngine eng = ((SVGOMDocument) getOwnerDocument()).getCSSEngine(); Value v = eng.getComputedStyle(this, null, SVGCSSEngine.COLOR_INTERPOLATION_INDEX); return v.getStringValue().charAt(0) == 'l'; }
/** * Returns whether color interpolations should be done in linear RGB * color space rather than sRGB. */ public boolean useLinearRGBColorInterpolation() { CSSEngine eng = ((SVGOMDocument) getOwnerDocument()).getCSSEngine(); Value v = eng.getComputedStyle(this, null, SVGCSSEngine.COLOR_INTERPOLATION_INDEX); return v.getStringValue().charAt(0) == 'l'; }