Class SubstanceOptionPaneUI.OptionPaneLabel

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JLabel
org.pushingpixels.substance.internal.ui.SubstanceOptionPaneUI.OptionPaneLabel
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants
Enclosing class:
SubstanceOptionPaneUI

protected static class SubstanceOptionPaneUI.OptionPaneLabel extends JLabel
Label extension class. Due to defect 250, the option pane icon animation (glowing icon) should repaint only the icon itself and not the entire option pane. While the AnimationConfigurationManager API provides an option to enable animations on the specific component, it's better to enable it on the component class (to make the lookups faster). So, when the option pane icon label is created (in addIcon method), we use this class.
See Also:
  • Constructor Details

    • OptionPaneLabel

      protected OptionPaneLabel()