Package com.inductiveautomation.rm.swing
Class RMIconUtils.SpacerIcon
java.lang.Object
com.inductiveautomation.rm.swing.RMIconUtils.SpacerIcon
- All Implemented Interfaces:
- Icon
- Enclosing class:
- RMIconUtils
An icon implementation that renders a border on another icon.
- 
Constructor SummaryConstructorsConstructorDescriptionSpacerIcon(Icon anIcon, int aWidth, int aHeight) Creates a new SpacerIcon with given width & height.
- 
Method SummaryModifier and TypeMethodDescriptionintReturns height.intReturns width.voidPaints the icon.
- 
Constructor Details- 
SpacerIconCreates a new SpacerIcon with given width & height.
 
- 
- 
Method Details- 
getIconWidthpublic int getIconWidth()Returns width.- Specified by:
- getIconWidthin interface- Icon
 
- 
getIconHeightpublic int getIconHeight()Returns height.- Specified by:
- getIconHeightin interface- Icon
 
- 
paintIconPaints the icon.
 
-