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 multipleIcon
s. 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 int
getIconHeight()
int
getIconWidth()
void
paintIcon(Component c, Graphics g, int x, int y)
-
-
-
Constructor Detail
-
MultiShapeIcon
public MultiShapeIcon(Icon... icons)
-
-
Method Detail
-
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interfaceIcon
-
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interfaceIcon
-
-