public class FixedSizeIcon extends Object implements Icon
Plugin.getButtonAction()
Constructor and Description |
---|
FixedSizeIcon(int width,
int height,
Icon nestedIcon)
Creates a new instance of FixedSizeIcon.
|
Modifier and Type | Method and Description |
---|---|
int |
getIconHeight()
Gets the icon's height.
|
int |
getIconWidth()
Gets the icon's width.
|
void |
paintIcon(Component c,
Graphics g,
int x,
int y)
Paints the icon.
|
public FixedSizeIcon(int width, int height, Icon nestedIcon)
width
- The width the icon should have.height
- The height the icon should have.nestedIcon
- The nested icon to show.public int getIconWidth()
getIconWidth
in interface Icon
public int getIconHeight()
getIconHeight
in interface Icon
TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)