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 Summary
ConstructorsConstructorDescriptionSpacerIcon
(Icon anIcon, int aWidth, int aHeight) Creates a new SpacerIcon with given width & height. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns height.int
Returns width.void
Paints the icon.
-
Constructor Details
-
SpacerIcon
Creates a new SpacerIcon with given width & height.
-
-
Method Details
-
getIconWidth
public int getIconWidth()Returns width.- Specified by:
getIconWidth
in interfaceIcon
-
getIconHeight
public int getIconHeight()Returns height.- Specified by:
getIconHeight
in interfaceIcon
-
paintIcon
Paints the icon.
-