/** * Sets the text to draw * @param text the text to draw */ public void setText(String text) { String old = getText(); this.text = text == null ? "" : text; setDirty(true); firePropertyChange("text", old, getText()); }
/** * Sets the text to draw * @param text the text to draw */ public void setText(String text) { String old = getText(); this.text = text == null ? "" : text; setDirty(true); firePropertyChange("text", old, getText()); }
/** * Sets the text to draw * @param text the text to draw */ public void setText(String text) { String old = getText(); this.text = text == null ? "" : text; setDirty(true); firePropertyChange("text", old, getText()); }
/** * Set the font (and font size and style) to be used when drawing the text * @param f the new font */ public void setFont(Font f) { Font old = getFont(); this.font = f; setDirty(true); firePropertyChange("font", old, getFont()); }
/** * Sets the text to draw * @param text the text to draw */ public void setText(String text) { String old = getText(); this.text = text == null ? "" : text; setDirty(true); firePropertyChange("text", old, getText()); }
/** * Set the font (and font size and style) to be used when drawing the text * @param f the new font */ public void setFont(Font f) { Font old = getFont(); this.font = f; setDirty(true); firePropertyChange("font", old, getFont()); }
/** * Set the font (and font size and style) to be used when drawing the text * @param f the new font */ public void setFont(Font f) { Font old = getFont(); this.font = f; setDirty(true); firePropertyChange("font", old, getFont()); }
/** * Set the font (and font size and style) to be used when drawing the text * @param f the new font */ public void setFont(Font f) { Font old = getFont(); this.font = f; setDirty(true); firePropertyChange("font", old, getFont()); }
/** * Sets the text to draw * @param text the text to draw */ public void setText(String text) { String old = getText(); this.text = text == null ? "" : text; setDirty(true); firePropertyChange("text", old, getText()); }
/** * Set the font (and font size and style) to be used when drawing the text * @param f the new font */ public void setFont(Font f) { Font old = getFont(); this.font = f; setDirty(true); firePropertyChange("font", old, getFont()); }