/** * Sets the style using a <CODE>String</CODE> containing one or more of the * following values: normal, bold, italic, oblique, underline, line-through * * @param style * A <CODE>String</CODE> representing a certain style. */ public void setStyle(final String style) { if (this.style == UNDEFINED) this.style = NORMAL; this.style |= getStyleValue(style); }
/** * Sets the style using a <CODE>String</CODE> containing one or more of the * following values: normal, bold, italic, oblique, underline, line-through * * @param style * A <CODE>String</CODE> representing a certain style. */ public void setStyle(final String style) { if (this.style == UNDEFINED) this.style = NORMAL; this.style |= getStyleValue(style); }