/** * 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 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 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 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 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()); }
/** * 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()); }
if (isUIInstallable(header.getDescriptionFont())) { Font descFont = UIManager.getFont("JXHeader.descriptionFont");
if (isUIInstallable(header.getDescriptionFont())) { Font descFont = UIManager.getFont("JXHeader.descriptionFont");
if (isUIInstallable(header.getDescriptionFont())) { Font descFont = UIManager.getFont("JXHeader.descriptionFont");
if (isUIInstallable(header.getDescriptionFont())) { Font descFont = UIManager.getFont("JXHeader.descriptionFont");
if (isUIInstallable(header.getDescriptionFont())) { Font descFont = UIManager.getFont("JXHeader.descriptionFont");