Package com.inductiveautomation.rm.swing
Class RMIconUtils.StretcherIcon
java.lang.Object
com.inductiveautomation.rm.swing.RMIconUtils.StretcherIcon
- All Implemented Interfaces:
- Icon
- Enclosing class:
- RMIconUtils
An icon implementation that stretches another icon to specified with.
- 
Constructor SummaryConstructorsConstructorDescriptionStretcherIcon(Icon anIcon, int aWidth, int aHeight) Creates a new StretcherIcon with given width and height.
- 
Method SummaryModifier and TypeMethodDescriptiongetIcon()Returns the encapsulated icon.intReturns height.intReturns width.voidPaints the icon.
- 
Constructor Details- 
StretcherIconCreates a new StretcherIcon with given width and height.
 
- 
- 
Method Details- 
getIconReturns the encapsulated icon.
- 
getIconWidthpublic int getIconWidth()Returns width.- Specified by:
- getIconWidthin interface- Icon
 
- 
getIconHeightpublic int getIconHeight()Returns height.- Specified by:
- getIconHeightin interface- Icon
 
- 
paintIconPaints the icon.
 
-