Package eu.bandm.tools.option.runtime
Class Gui.StringIcon
java.lang.Object
eu.bandm.tools.option.runtime.Gui.StringIcon
- All Implemented Interfaces:
Icon
- Enclosing class:
- Gui
A wrapper class which prints a string in a very tiny font, for putting it on a "JButton".
This wrapping turned out to be necessary, only
because otherwise the buttons would not be really controlable in size!
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
void
Evident.
-
Constructor Details
-
StringIcon
Evident
-
-
Method Details
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidth
in interfaceIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeight
in interfaceIcon
-
paintIcon
Evident. Please note that (x,y) are the topleft coordinates, with y increasing downwards.
-