Columns extends AbstractCssProperty<Columns> implements StateChangeInformer<CssProperty> { public Columns() { setCssValue("auto auto"); } Columns();  Columns(final String cssValue);  Columns(final Columns columns); @Override String getCssName(); @Override String getCssValue(); @Override String toString(); @Override Columns setCssValue(final String cssValue); static boolean isValid(final String cssValue); void setAsInitial(); void setAsInherit(); ColumnWidth getColumnWidth(); ColumnCount getColumnCount(); Columns setColumnWidth(final ColumnWidth columnWidth); Columns setColumnCount(final ColumnCount columnCount); @Override void stateChanged(final CssProperty stateChangedObject); static final String INITIAL; static final String INHERIT; }
@Test public void testColumns() { Columns columns = new Columns(); assertEquals("auto auto", columns.getCssValue()); assertEquals(ColumnWidth.AUTO, columns.getColumnWidth().getCssValue()); assertEquals(ColumnWidth.AUTO, columns.getColumnWidth().getCssValue()); }