Modifier and Type | Field and Description |
---|---|
private static int |
DEFAULT_HEIGHT |
static int |
DEFAULT_WIDTH |
private int |
height
The height.
|
private BasicStroke |
stroke
The stroke.
|
private int |
width
The width.
|
Constructor and Description |
---|
MissingIcon()
Instantiates a new missing icon.
|
MissingIcon(int width,
int height)
Instantiates a new missing icon.
|
Modifier and Type | Method and Description |
---|---|
BufferedImage |
getBufferedImage()
Gets the buffered image.
|
int |
getIconHeight() |
int |
getIconWidth() |
Image |
getImage()
Gets the image.
|
void |
paintIcon(Component ccomponent,
Graphics grapth,
int xPosition,
int yPosition) |
private static final int DEFAULT_HEIGHT
public static final int DEFAULT_WIDTH
private int width
private int height
private BasicStroke stroke
public MissingIcon()
public MissingIcon(int width, int height)
width
- the widthheight
- the heightpublic void paintIcon(Component ccomponent, Graphics grapth, int xPosition, int yPosition)
public int getIconWidth()
getIconWidth
in interface Icon
public int getIconHeight()
getIconHeight
in interface Icon
public Image getImage()
public BufferedImage getBufferedImage()
Copyright © 2014 www.staniscia.net. All Rights Reserved.