/** * <b>DOM</b>: Implements {@link SVGElement#getViewportElement()}. */ public SVGElement getViewportElement() { for (Element e = CSSEngine.getParentCSSStylableElement(this); e != null; e = CSSEngine.getParentCSSStylableElement(e)) { if (e instanceof SVGFitToViewBox) { return (SVGElement)e; } } return null; }
/** * <b>DOM</b>: Implements {@link SVGElement#getViewportElement()}. */ public SVGElement getViewportElement() { for (Element e = CSSEngine.getParentCSSStylableElement(this); e != null; e = CSSEngine.getParentCSSStylableElement(e)) { if (e instanceof SVGFitToViewBox) { return (SVGElement)e; } } return null; }
/** * <b>DOM</b>: Implements {@link SVGElement#getOwnerSVGElement()}. */ public SVGSVGElement getOwnerSVGElement() { for (Element e = CSSEngine.getParentCSSStylableElement(this); e != null; e = CSSEngine.getParentCSSStylableElement(e)) { if (e instanceof SVGSVGElement) { return (SVGSVGElement)e; } } return null; }
/** * <b>DOM</b>: Implements {@link SVGElement#getOwnerSVGElement()}. */ public SVGSVGElement getOwnerSVGElement() { for (Element e = CSSEngine.getParentCSSStylableElement(this); e != null; e = CSSEngine.getParentCSSStylableElement(e)) { if (e instanceof SVGSVGElement) { return (SVGSVGElement)e; } } return null; }
/** * <b>DOM</b>: Implements {@link SVGElement#getViewportElement()}. */ public SVGElement getViewportElement() { for (Element e = CSSEngine.getParentCSSStylableElement(this); e != null; e = CSSEngine.getParentCSSStylableElement(e)) { if (e instanceof SVGFitToViewBox) { return (SVGElement)e; } } return null; }
/** * <b>DOM</b>: Implements {@link SVGElement#getOwnerSVGElement()}. */ public SVGSVGElement getOwnerSVGElement() { for (Element e = CSSEngine.getParentCSSStylableElement(this); e != null; e = CSSEngine.getParentCSSStylableElement(e)) { if (e instanceof SVGSVGElement) { return (SVGSVGElement)e; } } return null; }
sm.putParentRelative(idx, true); CSSStylableElement p = CSSEngine.getParentCSSStylableElement(elt); if (p == null) { return ValueConstants.SEMI_CONDENSED_VALUE; sm.putParentRelative(idx, true); CSSStylableElement p = CSSEngine.getParentCSSStylableElement(elt); if (p == null) { return ValueConstants.SEMI_CONDENSED_VALUE;
break; e = CSSEngine.getParentCSSStylableElement(e);
break; e = CSSEngine.getParentCSSStylableElement(e);
break; e = CSSEngine.getParentCSSStylableElement(e);
break; e = CSSEngine.getParentCSSStylableElement(e);
/** * Computes a CSS {@link Value} and performance inheritance if the * specified value is 'inherit'. */ protected Value computeValue(CSSStylableElement elt, String pn, Value v) { ValueManager[] vms = cssEngine.getValueManagers(); int idx = cssEngine.getPropertyIndex(pn); if (idx != -1) { if (v.getCssValueType() == CSSValue.CSS_INHERIT) { elt = CSSEngine.getParentCSSStylableElement(elt); if (elt != null) { return cssEngine.getComputedStyle(elt, null, idx); } return vms[idx].getDefaultValue(); } v = vms[idx].computeValue(elt, null, cssEngine, idx, dummyStyleMap, v); } return v; } }
/** * Computes a CSS {@link Value} and performance inheritance if the * specified value is 'inherit'. */ protected Value computeValue(CSSStylableElement elt, String pn, Value v) { ValueManager[] vms = cssEngine.getValueManagers(); int idx = cssEngine.getPropertyIndex(pn); if (idx != -1) { if (v.getCssValueType() == CSSValue.CSS_INHERIT) { elt = CSSEngine.getParentCSSStylableElement(elt); if (elt != null) { return cssEngine.getComputedStyle(elt, null, idx); } return vms[idx].getDefaultValue(); } v = vms[idx].computeValue(elt, null, cssEngine, idx, dummyStyleMap, v); } return v; } }
/** * Computes a CSS {@link Value} and performance inheritance if the * specified value is 'inherit'. */ protected Value computeValue(CSSStylableElement elt, String pn, Value v) { ValueManager[] vms = cssEngine.getValueManagers(); int idx = cssEngine.getPropertyIndex(pn); if (idx != -1) { if (v.getCssValueType() == CSSValue.CSS_INHERIT) { elt = CSSEngine.getParentCSSStylableElement(elt); if (elt != null) { return cssEngine.getComputedStyle(elt, null, idx); } return vms[idx].getDefaultValue(); } v = vms[idx].computeValue(elt, null, cssEngine, idx, dummyStyleMap, v); } return v; } }
CSSStylableElement p = CSSEngine.getParentCSSStylableElement(elt); float fw; if (p == null) { CSSStylableElement p = CSSEngine.getParentCSSStylableElement(elt); float fw; if (p == null) {
CSSStylableElement p = CSSEngine.getParentCSSStylableElement(elt); float fw; if (p == null) { CSSStylableElement p = CSSEngine.getParentCSSStylableElement(elt); float fw; if (p == null) {
CSSStylableElement p = CSSEngine.getParentCSSStylableElement(elt); float fw; if (p == null) { CSSStylableElement p = CSSEngine.getParentCSSStylableElement(elt); float fw; if (p == null) {
CSSStylableElement p = getParentCSSStylableElement(elt); if (value == null) { if ((p == null) || !vm.isInheritedProperty())
CSSStylableElement p = getParentCSSStylableElement(elt); if (value == null) { if ((p == null) || !vm.isInheritedProperty())
CSSStylableElement p = getParentCSSStylableElement(elt); if (value == null) { if ((p == null) || !vm.isInheritedProperty())