/** * Sets new Icon position. Position is relative to the text. Default value is RIGHT. * @see #getIconPosition() * @param iconPosition new desired icon position */ public void setIconPosition(IconPosition iconPosition) { IconPosition old = getIconPosition(); this.iconPosition = iconPosition; firePropertyChange("iconPosition", old, getIconPosition()); }
/** * Sets title foreground color. * @param titleForeground the Color to be used to paint title. */ public void setTitleForeground(Color titleForeground) { Color old = getTitleForeground(); this.titleForeground = titleForeground; firePropertyChange("titleForeground", old, getTitleForeground()); }
/** * Sets the title to use. This may be either plain text, or a simplified * version of HTML, as JLabel would use. * * @param title the Title. May be null. */ public void setTitle(String title) { String old = getTitle(); this.title = title; firePropertyChange("title", old, getTitle()); }
/** * Sets font for the description line of header. * @param font New description font. */ public void setDescriptionFont(Font font) { Font old = getDescriptionFont(); this.descriptionFont = font; firePropertyChange("descriptionFont", old, getDescriptionFont()); }
/** * Sets description foreground color. * @param descriptionForeground the Color to be used to paint description. */ public void setDescriptionForeground(Color descriptionForeground) { Color old = getDescriptionForeground(); this.descriptionForeground = descriptionForeground; firePropertyChange("descriptionForeground", old, getDescriptionForeground()); }
/** * Sets the title to use. This may be either plain text, or a simplified * version of HTML, as JLabel would use. * * @param title the Title. May be null. */ public void setTitle(String title) { String old = getTitle(); this.title = title; firePropertyChange("title", old, getTitle()); }
/** * Sets title foreground color. * @param titleForeground the Color to be used to paint title. */ public void setTitleForeground(Color titleForeground) { Color old = getTitleForeground(); this.titleForeground = titleForeground; firePropertyChange("titleForeground", old, getTitleForeground()); }
/** * Sets description foreground color. * @param descriptionForeground the Color to be used to paint description. */ public void setDescriptionForeground(Color descriptionForeground) { Color old = getDescriptionForeground(); this.descriptionForeground = descriptionForeground; firePropertyChange("descriptionForeground", old, getDescriptionForeground()); }
/** * Sets font for the description line of header. * @param font New description font. */ public void setDescriptionFont(Font font) { Font old = getDescriptionFont(); this.descriptionFont = font; firePropertyChange("descriptionFont", old, getDescriptionFont()); }
/** * Sets title foreground color. * @param titleForeground the Color to be used to paint title. */ public void setTitleForeground(Color titleForeground) { Color old = getTitleForeground(); this.titleForeground = titleForeground; firePropertyChange("titleForeground", old, getTitleForeground()); }
/** * Sets font for the description line of header. * @param font New description font. */ public void setDescriptionFont(Font font) { Font old = getDescriptionFont(); this.descriptionFont = font; firePropertyChange("descriptionFont", old, getDescriptionFont()); }
/** * Sets new font for title. * @param font New title font. */ public void setTitleFont(Font font) { Font old = getTitleFont(); this.titleFont = font; firePropertyChange("titleFont", old, getTitleFont()); }
/** * Sets the icon to use for the header. It is generally recommended that this * be an image 64x64 pixels in size, and that the icon have no gaps at the top. * * @param icon may be null */ public void setIcon(Icon icon) { Icon old = getIcon(); this.icon = icon; firePropertyChange("icon", old, getIcon()); }
/** * Sets new font for title. * @param font New title font. */ public void setTitleFont(Font font) { Font old = getTitleFont(); this.titleFont = font; firePropertyChange("titleFont", old, getTitleFont()); }
/** * Sets the title to use. This may be either plain text, or a simplified * version of HTML, as JLabel would use. * * @param title the Title. May be null. */ public void setTitle(String title) { String old = getTitle(); this.title = title; firePropertyChange("title", old, getTitle()); }
/** * Sets the description for this header. This may use HTML, such as * that supported by JLabel (version 3.2 of the HTML spec). * * @param description the description. May be null, may be HTML or plain text. */ public void setDescription(String description) { String old = getDescription(); this.description = description; firePropertyChange("description", old, getDescription()); }
/** * Sets font for the description line of header. * @param font New description font. */ public void setDescriptionFont(Font font) { Font old = getDescriptionFont(); this.descriptionFont = font; firePropertyChange("descriptionFont", old, getDescriptionFont()); }
/** * Sets the title to use. This may be either plain text, or a simplified * version of HTML, as JLabel would use. * * @param title the Title. May be null. */ public void setTitle(String title) { String old = getTitle(); this.title = title; firePropertyChange("title", old, getTitle()); }
/** * Sets description foreground color. * @param descriptionForeground the Color to be used to paint description. */ public void setDescriptionForeground(Color descriptionForeground) { Color old = getDescriptionForeground(); this.descriptionForeground = descriptionForeground; firePropertyChange("descriptionForeground", old, getDescriptionForeground()); }
/** * Sets the description for this header. This may use HTML, such as * that supported by JLabel (version 3.2 of the HTML spec). * * @param description the description. May be null, may be HTML or plain text. */ public void setDescription(String description) { String old = getDescription(); this.description = description; firePropertyChange("description", old, getDescription()); }