/** * 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 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 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 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 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()); }
/** * Configures the component default properties from the given header. * * @param header the header to install the components into. */ protected void installComponentDefaults(JXHeader header) { // JW: force a not UIResource for properties which have ui default values // like color, font, ?? titleLabel.setFont(getAsNotUIResource(header.getTitleFont())); titleLabel.setForeground(getAsNotUIResource(header.getTitleForeground())); titleLabel.setText(header.getTitle()); descriptionPane.setFont(getAsNotUIResource(header.getDescriptionFont())); descriptionPane.setForeground(getAsNotUIResource(header.getDescriptionForeground())); descriptionPane.setOpaque(false); descriptionPane.setText(header.getDescription()); descriptionPane.setLineWrap(true); imagePanel.setIcon(header.getIcon()); }
/** * Configures the component default properties from the given header. * * @param header the header to install the components into. */ protected void installComponentDefaults(JXHeader header) { // JW: force a not UIResource for properties which have ui default values // like color, font, ?? titleLabel.setFont(getAsNotUIResource(header.getTitleFont())); titleLabel.setForeground(getAsNotUIResource(header.getTitleForeground())); titleLabel.setText(header.getTitle()); descriptionPane.setFont(getAsNotUIResource(header.getDescriptionFont())); descriptionPane.setForeground(getAsNotUIResource(header.getDescriptionForeground())); descriptionPane.setOpaque(false); descriptionPane.setText(header.getDescription()); descriptionPane.setLineWrap(true); imagePanel.setIcon(header.getIcon()); }
/** * Configures the component default properties from the given header. * * @param header the header to install the components into. */ protected void installComponentDefaults(JXHeader header) { // JW: force a not UIResource for properties which have ui default values // like color, font, ?? titleLabel.setFont(getAsNotUIResource(header.getTitleFont())); titleLabel.setForeground(getAsNotUIResource(header.getTitleForeground())); titleLabel.setText(header.getTitle()); descriptionPane.setFont(getAsNotUIResource(header.getDescriptionFont())); descriptionPane.setForeground(getAsNotUIResource(header.getDescriptionForeground())); descriptionPane.setOpaque(false); descriptionPane.setText(header.getDescription()); descriptionPane.setLineWrap(true); imagePanel.setIcon(header.getIcon()); }
/** * Configures the component default properties from the given header. * * @param header the header to install the components into. */ protected void installComponentDefaults(JXHeader header) { // JW: force a not UIResource for properties which have ui default values // like color, font, ?? titleLabel.setFont(getAsNotUIResource(header.getTitleFont())); titleLabel.setForeground(getAsNotUIResource(header.getTitleForeground())); titleLabel.setText(header.getTitle()); descriptionPane.setFont(getAsNotUIResource(header.getDescriptionFont())); descriptionPane.setForeground(getAsNotUIResource(header.getDescriptionForeground())); descriptionPane.setOpaque(false); descriptionPane.setText(header.getDescription()); descriptionPane.setLineWrap(true); imagePanel.setIcon(header.getIcon()); }
/** * Configures the component default properties from the given header. * * @param header the header to install the components into. */ protected void installComponentDefaults(JXHeader header) { // JW: force a not UIResource for properties which have ui default values // like color, font, ?? titleLabel.setFont(getAsNotUIResource(header.getTitleFont())); titleLabel.setForeground(getAsNotUIResource(header.getTitleForeground())); titleLabel.setText(header.getTitle()); descriptionPane.setFont(getAsNotUIResource(header.getDescriptionFont())); descriptionPane.setForeground(getAsNotUIResource(header.getDescriptionForeground())); descriptionPane.setOpaque(false); descriptionPane.setText(header.getDescription()); descriptionPane.setLineWrap(true); imagePanel.setIcon(header.getIcon()); }
.getFont("Label.font")); if (isUIInstallable(header.getDescriptionForeground())) { Color descForeground = UIManagerExt .getColor("JXHeader.descriptionForeground");
.getFont("Label.font")); if (isUIInstallable(header.getDescriptionForeground())) { Color descForeground = UIManagerExt .getColor("JXHeader.descriptionForeground");
.getFont("Label.font")); if (isUIInstallable(header.getDescriptionForeground())) { Color descForeground = UIManagerExt .getColor("JXHeader.descriptionForeground");
.getFont("Label.font")); if (isUIInstallable(header.getDescriptionForeground())) { Color descForeground = UIManagerExt .getColor("JXHeader.descriptionForeground");
.getFont("Label.font")); if (isUIInstallable(header.getDescriptionForeground())) { Color descForeground = UIManagerExt .getColor("JXHeader.descriptionForeground");