Package com.formdev.flatlaf.icons
Class FlatAbstractIcon
java.lang.Object
com.formdev.flatlaf.icons.FlatAbstractIcon
- All Implemented Interfaces:
Icon
,UIResource
- Direct Known Subclasses:
FlatAnimatedIcon
,FlatAscendingSortIcon
,FlatCapsLockIcon
,FlatCheckBoxIcon
,FlatCheckBoxMenuItemIcon
,FlatClearIcon
,FlatColorPipette.Magnifier.ColorIcon
,FlatColumnControlIcon
,FlatFileChooserDetailsViewIcon
,FlatFileChooserHomeFolderIcon
,FlatFileChooserListViewIcon
,FlatFileChooserNewFolderIcon
,FlatFileChooserUpFolderIcon
,FlatFileViewComputerIcon
,FlatFileViewDirectoryIcon
,FlatFileViewFileIcon
,FlatFileViewFloppyDriveIcon
,FlatFileViewHardDriveIcon
,FlatHelpButtonIcon
,FlatInternalFrameAbstractIcon
,FlatMenuArrowIcon
,FlatMenuItemArrowIcon
,FlatMonthDownIcon
,FlatOptionPaneAbstractIcon
,FlatRevealIcon
,FlatSearchIcon
,FlatTabbedPaneCloseIcon
,FlatTreeClosedIcon
,FlatTreeCollapsedIcon
,FlatTreeLeafIcon
,FlatTreeOpenIcon
,FlatWindowAbstractIcon
Base class for icons that scales width and height, creates and initializes
a scaled graphics context for icon painting.
Subclasses do not need to scale icon painting.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
protected abstract void
paintIcon
(Component c, Graphics2D g2) void
-
Field Details
-
width
protected final int width -
height
protected final int height -
color
-
-
Constructor Details
-
FlatAbstractIcon
-
-
Method Details
-
paintIcon
-
paintIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidth
in interfaceIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeight
in interfaceIcon
-