1 18 package org.apache.batik.css.engine.value.svg; 19 20 import org.apache.batik.css.engine.value.IdentifierManager; 21 import org.apache.batik.css.engine.value.StringMap; 22 import org.apache.batik.css.engine.value.Value; 23 import org.apache.batik.util.CSSConstants; 24 25 31 public class StrokeLinecapManager extends IdentifierManager { 32 33 36 protected final static StringMap values = new StringMap(); 37 static { 38 values.put(CSSConstants.CSS_BUTT_VALUE, 39 SVGValueConstants.BUTT_VALUE); 40 values.put(CSSConstants.CSS_ROUND_VALUE, 41 SVGValueConstants.ROUND_VALUE); 42 values.put(CSSConstants.CSS_SQUARE_VALUE, 43 SVGValueConstants.SQUARE_VALUE); 44 } 45 46 50 public boolean isInheritedProperty() { 51 return true; 52 } 53 54 58 public String getPropertyName() { 59 return CSSConstants.CSS_STROKE_LINECAP_PROPERTY; 60 } 61 62 66 public Value getDefaultValue() { 67 return SVGValueConstants.BUTT_VALUE; 68 } 69 70 73 public StringMap getIdentifiers() { 74 return values; 75 } 76 } 77 | Popular Tags |