Class FlatAscendingSortIcon
java.lang.Object
com.formdev.flatlaf.icons.FlatAbstractIcon
com.formdev.flatlaf.icons.FlatAscendingSortIcon
- All Implemented Interfaces:
Icon, UIResource
- Direct Known Subclasses:
FlatDescendingSortIcon
"ascendingSort" icon for
JTableHeader.- UiDefault:
- Component.arrowType String chevron (default) or triangle, Table.sortIconColor Color
-
Field Summary
FieldsFields inherited from class FlatAbstractIcon
color, height, width -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidpaintArrow(Component c, Graphics2D g, boolean chevron) protected voidpaintIcon(Component c, Graphics2D g) Paints icon.Methods inherited from class FlatAbstractIcon
getIconHeight, getIconWidth, getScale, paintBackground, paintIcon, scale, setScale
-
Field Details
-
chevron
protected boolean chevron -
sortIconColor
-
-
Constructor Details
-
FlatAscendingSortIcon
public FlatAscendingSortIcon()
-
-
Method Details
-
paintIcon
Description copied from class:FlatAbstractIconPaints icon.The graphics context is translated and scaled. This means that icon x,y coordinates are
0,0and it is not necessary to scale coordinates within this method.The bounds to be used for icon painting are: 0, 0,
FlatAbstractIcon.width,FlatAbstractIcon.height.- Specified by:
paintIconin classFlatAbstractIcon
-
paintArrow
-