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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintReturns height.intReturns width.voidPaints the icon.
- 
Constructor Details- 
ShapeIconCreates a new ShapeIcon.
 
- 
- 
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.
 
-