Package com.github.weisj.darklaf.icons
Class TextIcon
java.lang.Object
com.github.weisj.darklaf.icons.TextIcon
- All Implemented Interfaces:
DerivableIcon<TextIcon>,Icon
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionderive(int width, int height)Derive a new icon with the specified size.intintvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.weisj.darklaf.icons.DerivableIcon
copy
-
Constructor Details
-
TextIcon
-
TextIcon
-
-
Method Details
-
paintIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidthin interfaceIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeightin interfaceIcon
-
derive
Description copied from interface:DerivableIconDerive a new icon with the specified size.- Specified by:
derivein interfaceDerivableIcon<TextIcon>- Parameters:
width- the new widthheight- the new height.- Returns:
- the derived icon.
-