ColumnRule extends AbstractCssProperty<ColumnRule> implements StateChangeInformer<CssProperty> { public ColumnRule setColumnRuleStyle( final ColumnRuleStyle columnRuleStyle) { final StringBuilder cssValueBuilder = new StringBuilder(); if (columnRuleWidth != null) { cssValueBuilder.append(columnRuleWidth.getCssValue()).append(' '); } if (columnRuleStyle != null) { cssValueBuilder.append(columnRuleStyle.getCssValue()).append(' '); } if (columnRuleColor != null) { cssValueBuilder.append(columnRuleColor.getCssValue()); } final String trimmedCssValue = StringBuilderUtil .getTrimmedString(cssValueBuilder).toString(); cssValue = trimmedCssValue.isEmpty() ? INHERIT : trimmedCssValue; this.columnRuleStyle = columnRuleStyle; if (getStateChangeInformer() != null) { getStateChangeInformer().stateChanged(this); } return this; } ColumnRule();  ColumnRule(final String cssValue);  ColumnRule(final ColumnRule columnRule); ColumnRule setValue(final String value); @Override String getCssName(); @Override String getCssValue(); @Override String toString(); String getValue(); @Override ColumnRule setCssValue(final String cssValue); void setAsInitial(); void setAsInherit(); ColumnRuleWidth getColumnRuleWidth(); ColumnRule setColumnRuleWidth(
            final ColumnRuleWidth columnRuleWidth); ColumnRuleStyle getColumnRuleStyle(); ColumnRule setColumnRuleStyle(
            final ColumnRuleStyle columnRuleStyle); ColumnRuleColor getColumnRuleColor(); ColumnRule setColumnRuleColor(
            final ColumnRuleColor columnRuleColor); @Override void stateChanged(final CssProperty stateChangedObject); static final String INITIAL; static final String INHERIT; }
@Test public void testSetColumnRuleStyle() { ColumnRule columnRule = new ColumnRule("50px dashed green"); ColumnRuleStyle columnRuleStyle = ColumnRuleStyle.RIDGE; columnRule.setColumnRuleStyle(columnRuleStyle); assertEquals("50px ridge green", columnRule.getCssValue()); }