Package com.inductiveautomation.rm.swing
Class RMIconUtils.BorderIcon
java.lang.Object
com.inductiveautomation.rm.swing.RMIconUtils.BorderIcon
- All Implemented Interfaces:
- Icon
- Enclosing class:
- RMIconUtils
An icon implementation that renders a border on another icon.
- 
Constructor SummaryConstructorsConstructorDescriptionBorderIcon(Color aColor, Icon anIcon, int aWidth, int aHeight) Creates a new BorderIcon with line border in given color.BorderIcon(Border aBorder, Icon anIcon, int aWidth, int aHeight) Creates a new BorderIcon.BorderIcon(Icon anIcon, int aWidth, int aHeight) Creates a new BorderIcon with black line border.
- 
Method SummaryModifier and TypeMethodDescriptionintReturns height.intReturns width.voidPaints the icon.
- 
Constructor Details- 
BorderIconCreates a new BorderIcon with black line border.
- 
BorderIconCreates a new BorderIcon with line border in given color.
- 
BorderIconCreates a new BorderIcon.
 
- 
- 
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.
 
-