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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintReturns the height of icon1.intReturns the width of icon1.getLabel()Returns the JLabel.voidPaints the icons.
- 
Constructor Details- 
LabelIconCreates a new label icon.
- 
LabelIconCreates a label icon for a button.
 
- 
- 
Method Details- 
getLabelReturns the JLabel.
- 
getIconWidthpublic int getIconWidth()Returns the width of icon1.- Specified by:
- getIconWidthin interface- Icon
 
- 
getIconHeightpublic int getIconHeight()Returns the height of icon1.- Specified by:
- getIconHeightin interface- Icon
 
- 
paintIconPaints the icons.
 
-