/** * A string representation of the current value. */ public String getCssText() { return "rect(" + top.getCssText() + ", " + right.getCssText() + ", " + bottom.getCssText() + ", " + left.getCssText() + ')'; }
/** * Implements {@link Value#getFloatValue()}. */ public float getFloatValue() throws DOMException { throw createDOMException(); }
/** * Implements {@link Value#getFloatValue()}. */ public float getFloatValue() throws DOMException { return computedValue.getFloatValue(); }
/** * Implements {@link Value#getGreen()}. */ public Value getGreen() throws DOMException { return computedValue.getGreen(); }
/** * Implements {@link Value#getRed()}. */ public Value getRed() throws DOMException { return computedValue.getRed(); }
/** * Creates an RGB color. */ protected Value createRGBColor(Value r, Value g, Value b) { return new RGBColorValue(r, g, b); }
/** * Implements {@link Value#getCssValueType()}. */ public short getCssValueType() { return computedValue.getCssValueType(); }
/** * 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(); }
/** * Implements {@link Value#getIdentifier()}. */ public String getIdentifier() throws DOMException { return computedValue.getIdentifier(); }
/** * Returns a printable representation of this value. */ public String toString() { return getCssText(); } }
/** * A string representation of the current value. */ public String getCssText() { return "rgb(" + red.getCssText() + ", " + green.getCssText() + ", " + blue.getCssText() + ')'; }
/** * Implements {@link Value#item(int)}. */ public Value item(int index) throws DOMException { throw createDOMException(); }
/** * Converts the 'miterlimit' property to the appropriate float number. * @param v the CSS value describing the miterlimit property */ public static float convertStrokeMiterlimit(Value v) { float miterlimit = v.getFloatValue(); return (miterlimit < 1.0f) ? 1.0f : miterlimit; }
/** * Returns a printable representation of this value. */ public String toString() { return getCssText(); } }
/** * Implements {@link Value#getCssText()}. */ public String getCssText() { return computedValue.getCssText(); }
/** * Implements {@link Value#getRight()}. */ public Value getRight() throws DOMException { throw createDOMException(); }
/** * Implements {@link Value#getLeft()}. */ public Value getLeft() throws DOMException { throw createDOMException(); }
/** * Implements {@link Value#getLeft()}. */ public Value getLeft() throws DOMException { throw createDOMException(); }
/** * Implements {@link Value#getBlue()}. */ public Value getBlue() throws DOMException { throw createDOMException(); }