Class FlatTreeCollapsedIcon
java.lang.Object
com.formdev.flatlaf.icons.FlatAbstractIcon
com.formdev.flatlaf.icons.FlatTreeCollapsedIcon
- All Implemented Interfaces:
Icon, UIResource
- Direct Known Subclasses:
FlatTreeExpandedIcon
"collapsed" icon for
JTree.-
Field Summary
FieldsFields inherited from class FlatAbstractIcon
color, height, width -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static <T> TgetStyleFromTreeUI(Component c, Function<FlatTreeUI, T> f) Because this icon is always shared for all trees, get icon specific style from FlatTreeUI.protected voidpaintIcon(Component c, Graphics2D g) (package private) voidrotate(Component c, Graphics2D g) (package private) void(package private) static voidMethods inherited from class FlatAbstractIcon
getIconHeight, getIconWidth, paintBackground, paintIcon
-
Field Details
-
chevron
private final boolean chevron -
path
-
-
Constructor Details
-
FlatTreeCollapsedIcon
public FlatTreeCollapsedIcon() -
FlatTreeCollapsedIcon
FlatTreeCollapsedIcon(Color color)
-
-
Method Details
-
paintIcon
- Specified by:
paintIconin classFlatAbstractIcon
-
setStyleColorFromTreeUI
-
rotate
-
getStyleFromTreeUI
Because this icon is always shared for all trees, get icon specific style from FlatTreeUI. -
setStyleColorFromTreeUI
-