Package com.inductiveautomation.rm.swing
Class RMIconUtils.ShapeIcon
java.lang.Object
com.inductiveautomation.rm.swing.RMIconUtils.ShapeIcon
- All Implemented Interfaces:
 Icon
- Enclosing class:
 - RMIconUtils
 
A simple icon implementation to draw a given shape in a given color in a given size.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintReturns height.intReturns width.voidPaints the icon. 
- 
Constructor Details
- 
ShapeIcon
Creates a new ShapeIcon. 
 - 
 - 
Method Details
- 
getIconWidth
public int getIconWidth()Returns width.- Specified by:
 getIconWidthin interfaceIcon
 - 
getIconHeight
public int getIconHeight()Returns height.- Specified by:
 getIconHeightin interfaceIcon
 - 
paintIcon
Paints the icon. 
 -