Package com.tagtraum.audiokern.player
Class PlayerActionShapes.MultiShapeIcon
- java.lang.Object
-
- com.tagtraum.audiokern.player.PlayerActionShapes.MultiShapeIcon
-
- All Implemented Interfaces:
Icon
- Enclosing class:
- PlayerActionShapes
public static class PlayerActionShapes.MultiShapeIcon extends Object implements Icon
Allow combination of multipleIcons. First icon is painted first, followed by second etc. This naturally only work, if the icons feature transparency.
-
-
Constructor Summary
Constructors Constructor Description MultiShapeIcon(Icon... icons)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIconHeight()intgetIconWidth()voidpaintIcon(Component c, Graphics g, int x, int y)
-
-
-
Constructor Detail
-
MultiShapeIcon
public MultiShapeIcon(Icon... icons)
-
-
Method Detail
-
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidthin interfaceIcon
-
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeightin interfaceIcon
-
-