/** * A string representation of the current value. */ public String getCssText() { return getCssText(unitType, floatValue); }
/** * Returns a printable representation of this value. */ public String toString() { return getCssText(); } }
/** * Returns a printable representation of this value. */ public String toString() { return getCssText(); } }
/** * Returns a printable representation of this value. */ public String toString() { return getCssText(); } }
/** * A string representation of the current value. */ public String getCssText() { return getCssText(unitType, floatValue); }
/** * A string representation of the current value. */ public String getCssText() { return getCssText(unitType, floatValue); }
/** * Called when the float value has changed. */ public void floatValueChanged(short unit, float value) throws DOMException { textChanged(FloatValue.getCssText(unit, value)); }
/** * Called when the float value has changed. */ public void floatValueChanged(short unit, float value) throws DOMException { textChanged(FloatValue.getCssText(unit, value)); }
/** * Called when the float value has changed. */ public void floatValueChanged(short unit, float value) throws DOMException { textChanged(FloatValue.getCssText(unit, value)); }
/** * Called when the red float value has changed. */ public void redFloatValueChanged(short unit, float value) throws DOMException { final Value val = getValue(); String text = "rgb(" + FloatValue.getCssText(unit, value) + ", " + val.getGreen().getCssText() + ", " + val.getBlue().getCssText() + ')'; textChanged(text); }
/** * Called when the green float value has changed. */ public void greenFloatValueChanged(short unit, float value) throws DOMException { final Value val = getValue(); String text = "rgb(" + val.getRed().getCssText() + ", " + FloatValue.getCssText(unit, value) + ", " + val.getBlue().getCssText() + ')'; textChanged(text); }
/** * Called when the blue float value has changed. */ public void blueFloatValueChanged(short unit, float value) throws DOMException { final Value val = getValue(); String text = "rgb(" + val.getRed().getCssText() + ", " + val.getGreen().getCssText() + ", " + FloatValue.getCssText(unit, value) + ')'; textChanged(text); }
/** * Called when the red float value has changed. */ public void redFloatValueChanged(short unit, float value) throws DOMException { final Value val = getValue(); String text = "rgb(" + FloatValue.getCssText(unit, value) + ", " + val.getGreen().getCssText() + ", " + val.getBlue().getCssText() + ')'; textChanged(text); }
/** * Called when the green float value has changed. */ public void greenFloatValueChanged(short unit, float value) throws DOMException { final Value val = getValue(); String text = "rgb(" + val.getRed().getCssText() + ", " + FloatValue.getCssText(unit, value) + ", " + val.getBlue().getCssText() + ')'; textChanged(text); }
/** * Called when the blue float value has changed. */ public void blueFloatValueChanged(short unit, float value) throws DOMException { final Value val = getValue(); String text = "rgb(" + val.getRed().getCssText() + ", " + val.getGreen().getCssText() + ", " + FloatValue.getCssText(unit, value) + ')'; textChanged(text); }
/** * Called when the green float value has changed. */ public void greenFloatValueChanged(short unit, float value) throws DOMException { final Value val = getValue(); String text = "rgb(" + val.getRed().getCssText() + ", " + FloatValue.getCssText(unit, value) + ", " + val.getBlue().getCssText() + ')'; textChanged(text); }
/** * Called when the blue float value has changed. */ public void blueFloatValueChanged(short unit, float value) throws DOMException { final Value val = getValue(); String text = "rgb(" + val.getRed().getCssText() + ", " + val.getGreen().getCssText() + ", " + FloatValue.getCssText(unit, value) + ')'; textChanged(text); }
/** * Called when the red float value has changed. */ public void redFloatValueChanged(short unit, float value) throws DOMException { final Value val = getValue(); String text = "rgb(" + FloatValue.getCssText(unit, value) + ", " + val.getGreen().getCssText() + ", " + val.getBlue().getCssText() + ')'; textChanged(text); }
/** * Called when the left float value has changed. */ public void leftFloatValueChanged(short unit, float value) throws DOMException { final Value val = getValue(); String text = "rect(" + val.getTop().getCssText() + ", " + val.getRight().getCssText() + ", " + val.getBottom().getCssText() + ", " + FloatValue.getCssText(unit, value) + ')'; textChanged(text); }
/** * Called when the top float value has changed. */ public void topFloatValueChanged(short unit, float value) throws DOMException { final Value val = getValue(); String text = "rect(" + FloatValue.getCssText(unit, value) + ", " + val.getRight().getCssText() + ", " + val.getBottom().getCssText() + ", " + val.getLeft().getCssText() + ')'; textChanged(text); }