/** * Called when a property was changed. */ public void propertyChanged(String name, String value, String prio) throws DOMException { boolean important = prio != null && prio.length() > 0; cssEngine.setMainProperties(SVGStylableElement.this, this, name, value, important); mutate = true; setAttributeNS(null, SVG_STYLE_ATTRIBUTE, declaration.toString(cssEngine)); mutate = false; }
/** * Called when a property was changed. */ public void propertyChanged(String name, String value, String prio) throws DOMException { boolean important = prio != null && prio.length() > 0; cssEngine.setMainProperties(SVGStylableElement.this, this, name, value, important); mutate = true; setAttributeNS(null, SVG_STYLE_ATTRIBUTE, declaration.toString(cssEngine)); mutate = false; }
/** * Called when a property was changed. */ public void propertyChanged(String name, String value, String prio) throws DOMException { boolean important = prio != null && prio.length() > 0; cssEngine.setMainProperties(SVGStylableElement.this, this, name, value, important); mutate = true; setAttributeNS(null, SVG_STYLE_ATTRIBUTE, declaration.toString(cssEngine)); mutate = false; }
/** * A property in the override style declaration has been changed. */ public void overrideStylePropertyChanged(CSSStylableElement elt, String name, String val, String prio) { boolean important = prio != null && prio.length() != 0; StyleDeclarationProvider p = elt.getOverrideStyleDeclarationProvider(); declaration = p.getStyleDeclaration(); setMainProperties(elt, this, name, val, important); declaration = null; invalidateProperties(elt, null, mainPropertiesChanged, true); }
/** * A property in the override style declaration has been changed. */ public void overrideStylePropertyChanged(CSSStylableElement elt, String name, String val, String prio) { boolean important = prio != null && prio.length() != 0; StyleDeclarationProvider p = elt.getOverrideStyleDeclarationProvider(); declaration = p.getStyleDeclaration(); setMainProperties(elt, this, name, val, important); declaration = null; invalidateProperties(elt, null, mainPropertiesChanged, true); }
/** * A property in the override style declaration has been changed. */ public void overrideStylePropertyChanged(CSSStylableElement elt, String name, String val, String prio) { boolean important = prio != null && prio.length() != 0; StyleDeclarationProvider p = elt.getOverrideStyleDeclarationProvider(); declaration = p.getStyleDeclaration(); setMainProperties(elt, this, name, val, important); declaration = null; invalidateProperties(elt, null, mainPropertiesChanged, true); }