Package megamek.client.ui.baseComponents
Class BooksIcon
java.lang.Object
com.formdev.flatlaf.icons.FlatAbstractIcon
megamek.client.ui.baseComponents.BooksIcon
- All Implemented Interfaces:
Icon,UIResource
public class BooksIcon
extends com.formdev.flatlaf.icons.FlatAbstractIcon
An icon showing stylized books and a mouse arrow. Used for sourcebook selection.
-
Field Summary
Fields inherited from class com.formdev.flatlaf.icons.FlatAbstractIcon
color, height, width -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.formdev.flatlaf.icons.FlatAbstractIcon
getIconHeight, getIconWidth, getScale, paintBackground, paintIcon, scale, setScale
-
Constructor Details
-
BooksIcon
public BooksIcon()Creates a books icon at the standard size (16) suitable to place it in line with, e.g. a JTextfield and with a standard FlatLaf color. -
BooksIcon
public BooksIcon(int size) Creates a books icon of the given size and with a standard FlatLaf color.
-
-
Method Details
-
paintIcon
- Specified by:
paintIconin classcom.formdev.flatlaf.icons.FlatAbstractIcon
-