Interface FlatLaf.DisabledIconProvider

  • Enclosing class:
    FlatLaf

    public static interface FlatLaf.DisabledIconProvider
    A provider for disabled icons.

    This is intended to be implemented by Icon implementations that provide the ability to paint disabled state.

    Used in FlatLaf.getDisabledIcon(JComponent, Icon) to create a disabled icon from an enabled icon.

    • Method Detail

      • getDisabledIcon

        Icon getDisabledIcon()
        Returns an icon with a disabled appearance.
        Returns:
        a disabled icon