/** * Updates the base value from the attribute. */ protected void update() { String val = element.getAttributeNS(namespaceURI, localName); if (val.length() == 0) { baseVal = defaultValue; } else { baseVal = getEnumerationNumber(val); } valid = true; }
/** * Updates the base value from the attribute. */ protected void update() { String val = element.getAttributeNS(namespaceURI, localName); if (val.length() == 0) { baseVal = defaultValue; } else { baseVal = getEnumerationNumber(val); } valid = true; }
/** * Updates the base value from the attribute. */ protected void update() { String val = element.getAttributeNS(namespaceURI, localName); if (val.length() == 0) { baseVal = defaultValue; } else { baseVal = getEnumerationNumber(val); } valid = true; }
/** * Updates the animated value with the given {@link AnimatableValue}. */ protected void updateAnimatedValue(AnimatableValue val) { if (val == null) { hasAnimVal = false; } else { hasAnimVal = true; this.animVal = getEnumerationNumber(((AnimatableStringValue) val).getString()); fireAnimatedAttributeListeners(); } fireAnimatedAttributeListeners(); }
/** * Updates the animated value with the given {@link AnimatableValue}. */ protected void updateAnimatedValue(AnimatableValue val) { if (val == null) { hasAnimVal = false; } else { hasAnimVal = true; this.animVal = getEnumerationNumber(((AnimatableStringValue) val).getString()); fireAnimatedAttributeListeners(); } fireAnimatedAttributeListeners(); }
/** * Updates the animated value with the given {@link AnimatableValue}. */ protected void updateAnimatedValue(AnimatableValue val) { if (val == null) { hasAnimVal = false; } else { hasAnimVal = true; this.animVal = getEnumerationNumber(((AnimatableStringValue) val).getString()); fireAnimatedAttributeListeners(); } fireAnimatedAttributeListeners(); }