class Opacity extends AbstractCssProperty<Opacity> {

    public void setValue(final float value) {
        if (value > 1 || value < 0) {
            throw new InvalidValueException(
                    "the value should be in between 0 to 1.");
        }
        this.value = value;
        cssValue = String.valueOf(value);
        if (getStateChangeInformer() != null) {
            getStateChangeInformer().stateChanged(this);
        }
    }

    public  Opacity();
    public  Opacity(final String cssValue);
    public  Opacity(final Opacity opacity);
    public  Opacity(final float value);

}