/** * 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 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 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 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 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()); }
/** * 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.getTitleForeground())) { Color titleForeground = UIManagerExt .getColor("JXHeader.titleForeground");
.getFont("Label.font")); if (isUIInstallable(header.getTitleForeground())) { Color titleForeground = UIManagerExt .getColor("JXHeader.titleForeground");
.getFont("Label.font")); if (isUIInstallable(header.getTitleForeground())) { Color titleForeground = UIManagerExt .getColor("JXHeader.titleForeground");
.getFont("Label.font")); if (isUIInstallable(header.getTitleForeground())) { Color titleForeground = UIManagerExt .getColor("JXHeader.titleForeground");
.getFont("Label.font")); if (isUIInstallable(header.getTitleForeground())) { Color titleForeground = UIManagerExt .getColor("JXHeader.titleForeground");