Package com.formdev.flatlaf
Interface FlatLaf.DisabledIconProvider
- All Known Implementing Classes:
FlatSVGIcon
- 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 Summary
Modifier and TypeMethodDescriptionReturns an icon with a disabled appearance.
-
Method Details
-
getDisabledIcon
Icon getDisabledIcon()Returns an icon with a disabled appearance.- Returns:
- a disabled icon
-