ColumnWidth extends AbstractCssProperty<ColumnWidth> { public void setAsInherit() { setCssValue(INHERIT); } ColumnWidth();  ColumnWidth(final String cssValue);  ColumnWidth(final ColumnWidth columnWidth);  ColumnWidth(final float percent);  ColumnWidth(final float value, final CssLengthUnit cssLengthUnit); ColumnWidth setValue(final float value,
            final CssLengthUnit cssLengthUnit); void setPercent(final float percent); @Override String getCssName(); @Override String getCssValue(); @Override String toString(); Float getValue(); CssLengthUnit getUnit(); @Override ColumnWidth setCssValue(final String cssValue); void setAsInitial(); void setAsInherit(); void setAsAuto(); static boolean isValid(final String cssValue); static final String AUTO; static final String INITIAL; static final String INHERIT; }
@Test public void testSetAsInherit() { ColumnWidth columnWidth = new ColumnWidth(); columnWidth.setAsInherit(); assertEquals(ColumnWidth.INHERIT, columnWidth.getCssValue()); assertNull(columnWidth.getValue()); assertNull(columnWidth.getUnit()); }