1 18 package org.apache.batik.css.engine.value.css2; 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.css.engine.value.ValueConstants; 24 import org.apache.batik.util.CSSConstants; 25 26 32 public class DirectionManager extends IdentifierManager { 33 34 37 protected final static StringMap values = new StringMap(); 38 static { 39 values.put(CSSConstants.CSS_LTR_VALUE, ValueConstants.LTR_VALUE); 40 values.put(CSSConstants.CSS_RTL_VALUE, ValueConstants.RTL_VALUE); 41 } 42 43 47 public boolean isInheritedProperty() { 48 return true; 49 } 50 51 55 public String getPropertyName() { 56 return CSSConstants.CSS_DIRECTION_PROPERTY; 57 } 58 59 63 public Value getDefaultValue() { 64 return ValueConstants.LTR_VALUE; 65 } 66 67 70 public StringMap getIdentifiers() { 71 return values; 72 } 73 } 74 | Popular Tags |