public static int convertBorderWidth ( CSSProperty . BorderWidth width ) { if ( width == CSSProperty . BorderWidth . THIN ) return THIN_BORDER ; else if ( width == CSSProperty . BorderWidth . MEDIUM ) return MEDIUM_BORDER ; else return THICK_BORDER ; }
Converts the border size given by an identifier to an absolute value .