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 OverflowManager extends IdentifierManager { 33 34 37 protected final static StringMap values = new StringMap(); 38 static { 39 values.put(CSSConstants.CSS_AUTO_VALUE, 40 ValueConstants.AUTO_VALUE); 41 values.put(CSSConstants.CSS_HIDDEN_VALUE, 42 ValueConstants.HIDDEN_VALUE); 43 values.put(CSSConstants.CSS_SCROLL_VALUE, 44 ValueConstants.SCROLL_VALUE); 45 values.put(CSSConstants.CSS_VISIBLE_VALUE, 46 ValueConstants.VISIBLE_VALUE); 47 } 48 49 53 public boolean isInheritedProperty() { 54 return false; 55 } 56 57 61 public String getPropertyName() { 62 return CSSConstants.CSS_OVERFLOW_PROPERTY; 63 } 64 65 69 public Value getDefaultValue() { 70 return ValueConstants.VISIBLE_VALUE; 71 } 72 73 76 public StringMap getIdentifiers() { 77 return values; 78 } 79 } 80 | Popular Tags |