/** * Returns the CSS text representation of the value. */ public String getCssText() { switch (paintType) { case PAINT_NONE: return "none"; case PAINT_CURRENT_COLOR: return "currentColor"; case PAINT_COLOR: return super.getCssText(); case PAINT_URI: return "url(" + uri + ")"; case PAINT_URI_NONE: return "url(" + uri + ") none"; case PAINT_URI_CURRENT_COLOR: return "url(" + uri + ") currentColor"; case PAINT_URI_COLOR: return "url(" + uri + ") " + super.getCssText(); default: // PAINT_INHERIT return "inherit"; } } }
/** * Returns the CSS text representation of the value. */ public String getCssText() { switch (paintType) { case PAINT_NONE: return "none"; case PAINT_CURRENT_COLOR: return "currentColor"; case PAINT_COLOR: return super.getCssText(); case PAINT_URI: return "url(" + uri + ")"; case PAINT_URI_NONE: return "url(" + uri + ") none"; case PAINT_URI_CURRENT_COLOR: return "url(" + uri + ") currentColor"; case PAINT_URI_COLOR: return "url(" + uri + ") " + super.getCssText(); default: // PAINT_INHERIT return "inherit"; } } }
/** * Returns the CSS text representation of the value. */ public String getCssText() { switch (paintType) { case PAINT_NONE: return "none"; case PAINT_CURRENT_COLOR: return "currentColor"; case PAINT_COLOR: return super.getCssText(); case PAINT_URI: return "url(" + uri + ")"; case PAINT_URI_NONE: return "url(" + uri + ") none"; case PAINT_URI_CURRENT_COLOR: return "url(" + uri + ") currentColor"; case PAINT_URI_COLOR: return "url(" + uri + ") " + super.getCssText(); default: // PAINT_INHERIT return "inherit"; } } }