/** * Called when an Attr node has been added. */ public void attrAdded(Attr node, String newv) { if (!mutate) { declaration = cssEngine.parseStyleDeclaration (SVGStylableElement.this, newv); } }
/** * Called when an Attr node has been modified. */ public void attrModified(Attr node, String oldv, String newv) { if (!mutate) { declaration = cssEngine.parseStyleDeclaration (SVGStylableElement.this, newv); } }
/** * Called when an Attr node has been modified. */ public void attrModified(Attr node, String oldv, String newv) { if (!mutate) { declaration = cssEngine.parseStyleDeclaration (SVGStylableElement.this, newv); } }
/** * Called when an Attr node has been added. */ public void attrAdded(Attr node, String newv) { if (!mutate) { declaration = cssEngine.parseStyleDeclaration (SVGStylableElement.this, newv); } }
/** * Called when an Attr node has been added. */ public void attrAdded(Attr node, String newv) { if (!mutate) { declaration = cssEngine.parseStyleDeclaration (SVGStylableElement.this, newv); } }
/** * Called when an Attr node has been modified. */ public void attrModified(Attr node, String oldv, String newv) { if (!mutate) { declaration = cssEngine.parseStyleDeclaration (SVGStylableElement.this, newv); } }
/** * Called when the value text has changed. */ public void textChanged(String text) throws DOMException { declaration = cssEngine.parseStyleDeclaration (SVGStylableElement.this, text); mutate = true; setAttributeNS(null, SVG_STYLE_ATTRIBUTE, text); mutate = false; }
/** * Creates a new StyleDeclaration. */ public StyleDeclaration(CSSEngine eng) { super(eng); declaration = cssEngine.parseStyleDeclaration (SVGStylableElement.this, getAttributeNS(null, SVG_STYLE_ATTRIBUTE)); }
/** * Called when the value text has changed. */ public void textChanged(String text) throws DOMException { declaration = cssEngine.parseStyleDeclaration (SVGStylableElement.this, text); mutate = true; setAttributeNS(null, SVG_STYLE_ATTRIBUTE, text); mutate = false; }
/** * Creates a new StyleDeclaration. */ public StyleDeclaration(CSSEngine eng) { super(eng); declaration = cssEngine.parseStyleDeclaration (SVGStylableElement.this, getAttributeNS(null, SVG_STYLE_ATTRIBUTE)); }
/** * Creates a new StyleDeclaration. */ public StyleDeclaration(CSSEngine eng) { super(eng); declaration = cssEngine.parseStyleDeclaration (SVGStylableElement.this, getAttributeNS(null, SVG_STYLE_ATTRIBUTE)); }
/** * Called when the value text has changed. */ public void textChanged(String text) throws DOMException { declaration = cssEngine.parseStyleDeclaration (SVGStylableElement.this, text); mutate = true; setAttributeNS(null, SVG_STYLE_ATTRIBUTE, text); mutate = false; }
/** * The text of the override style declaration for this element has been * modified. */ public void overrideStyleTextChanged(CSSStylableElement elt, String text) { StyleDeclarationProvider p = elt.getOverrideStyleDeclarationProvider(); StyleDeclaration declaration = p.getStyleDeclaration(); int ds = declaration.size(); boolean[] updated = new boolean[getNumberOfProperties()]; for (int i = 0; i < ds; i++) { updated[declaration.getIndex(i)] = true; } declaration = parseStyleDeclaration(elt, text); p.setStyleDeclaration(declaration); ds = declaration.size(); for (int i = 0; i < ds; i++) { updated[declaration.getIndex(i)] = true; } invalidateProperties(elt, null, updated, true); }
/** * The text of the override style declaration for this element has been * modified. */ public void overrideStyleTextChanged(CSSStylableElement elt, String text) { StyleDeclarationProvider p = elt.getOverrideStyleDeclarationProvider(); StyleDeclaration declaration = p.getStyleDeclaration(); int ds = declaration.size(); boolean[] updated = new boolean[getNumberOfProperties()]; for (int i = 0; i < ds; i++) { updated[declaration.getIndex(i)] = true; } declaration = parseStyleDeclaration(elt, text); p.setStyleDeclaration(declaration); ds = declaration.size(); for (int i = 0; i < ds; i++) { updated[declaration.getIndex(i)] = true; } invalidateProperties(elt, null, updated, true); }
/** * The text of the override style declaration for this element has been * modified. */ public void overrideStyleTextChanged(CSSStylableElement elt, String text) { StyleDeclarationProvider p = elt.getOverrideStyleDeclarationProvider(); StyleDeclaration declaration = p.getStyleDeclaration(); int ds = declaration.size(); boolean[] updated = new boolean[getNumberOfProperties()]; for (int i = 0; i < ds; i++) { updated[declaration.getIndex(i)] = true; } declaration = parseStyleDeclaration(elt, text); p.setStyleDeclaration(declaration); ds = declaration.size(); for (int i = 0; i < ds; i++) { updated[declaration.getIndex(i)] = true; } invalidateProperties(elt, null, updated, true); }