Package com.inductiveautomation.rm.swing
Class RMIconUtils.CompositeIcon2
java.lang.Object
com.inductiveautomation.rm.swing.RMIconUtils.CompositeIcon2
- All Implemented Interfaces:
Icon
- Enclosing class:
- RMIconUtils
An icon implementation that draws two icons.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds an icon at x y.int
Returns the height of icon1.int
Returns the width of icon1.void
Paints the icons.
-
Constructor Details
-
CompositeIcon2
Creates a new CompositeIcon.
-
-
Method Details
-
addIcon
Adds an icon at x y. -
getIconWidth
public int getIconWidth()Returns the width of icon1.- Specified by:
getIconWidth
in interfaceIcon
-
getIconHeight
public int getIconHeight()Returns the height of icon1.- Specified by:
getIconHeight
in interfaceIcon
-
paintIcon
Paints the icons.
-