/** * 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 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 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 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 new font for title. * @param font New title font. */ public void setTitleFont(Font font) { Font old = getTitleFont(); this.titleFont = font; firePropertyChange("titleFont", old, getTitleFont()); }
header.setTitleFont(header.getTitleFont().deriveFont(header.getTitleFont().getSize()+4f)); header.setTitleForeground(new java.awt.Color(39, 119, 198)); header.setBorder(new org.jdesktop.swingx.border.DropShadowBorder());
/** * 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.getTitleFont())) { Font titleFont = UIManager.getFont("JXHeader.titleFont");
if (isUIInstallable(header.getTitleFont())) { Font titleFont = UIManager.getFont("JXHeader.titleFont");
if (isUIInstallable(header.getTitleFont())) { Font titleFont = UIManager.getFont("JXHeader.titleFont");
if (isUIInstallable(header.getTitleFont())) { Font titleFont = UIManager.getFont("JXHeader.titleFont");
if (isUIInstallable(header.getTitleFont())) { Font titleFont = UIManager.getFont("JXHeader.titleFont");