Package com.tagtraum.core.swing
Class PressedIcon
- java.lang.Object
-
- com.tagtraum.core.swing.PressedIcon
-
- All Implemented Interfaces:
Icon
public class PressedIcon extends Object implements Icon
Pressed icon, suitable forApplicationAction.PRESSED_ICON
.- Author:
- Hendrik Schreiber
-
-
Constructor Summary
Constructors Constructor Description PressedIcon(Icon icon)
-
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)
String
toString()
-
-
-
Constructor Detail
-
PressedIcon
public PressedIcon(Icon icon)
-
-
Method Detail
-
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interfaceIcon
-
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interfaceIcon
-
-