// $Id: CssBorderBottomColorCSS21.java,v 1.2 2005/09/14 15:14:58 ylafon Exp $ // Author: Jean-Guilhem Rouel // (c) COPYRIGHT MIT, ERCIM and Keio, 2005. // Please first read the full copyright statement in file COPYRIGHT.html package org.w3c.css.properties.css21; import org.w3c.css.properties.css1.CssBorderBottomColorCSS2; import org.w3c.css.properties.css1.CssBorderFaceColorCSS2; import org.w3c.css.util.ApplContext; import org.w3c.css.util.InvalidParamException; import org.w3c.css.values.CssExpression; /** * CssBorderBottomColorCSS21
* Created: Aug 31, 2005 2:10:07 PM
*/ public class CssBorderBottomColorCSS21 extends CssBorderBottomColorCSS2 { /** * Create a new CssBorderBottomColorCSS21 with an another CssBorderFaceColorCSS2 * * @param another An another face. */ public CssBorderBottomColorCSS21(CssBorderFaceColorCSS2 another) { super(another); } /** * Create a new CssBorderBottomColor * * @param expression The expression for this property. * @exception InvalidParamException Values are incorrect */ public CssBorderBottomColorCSS21(ApplContext ac, CssExpression expression, boolean check) throws InvalidParamException { if(check && expression.getCount() > 1) { throw new InvalidParamException("unrecognize", ac); } setByUser(); setFace(new CssBorderFaceColorCSS21(ac, expression)); } public CssBorderBottomColorCSS21(ApplContext ac, CssExpression expression) throws InvalidParamException { this(ac, expression, false); } }