Package com.inductiveautomation.rm.swing
Class RMIconUtils.LabelIcon
java.lang.Object
com.inductiveautomation.rm.swing.RMIconUtils.LabelIcon
- All Implemented Interfaces:
 Icon
- Enclosing class:
 - RMIconUtils
 
An icon implementation that uses a JLabel.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintReturns the height of icon1.intReturns the width of icon1.getLabel()Returns the JLabel.voidPaints the icons. 
- 
Constructor Details
- 
LabelIcon
Creates a new label icon. - 
LabelIcon
Creates a label icon for a button. 
 - 
 - 
Method Details
- 
getLabel
Returns the JLabel. - 
getIconWidth
public int getIconWidth()Returns the width of icon1.- Specified by:
 getIconWidthin interfaceIcon
 - 
getIconHeight
public int getIconHeight()Returns the height of icon1.- Specified by:
 getIconHeightin interfaceIcon
 - 
paintIcon
Paints the icons. 
 -