Constructor and Description |
---|
BlankIcon(int width,
int height)
Constructs a new blank icon.
|
Modifier and Type | Method and Description |
---|---|
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(Component c,
Graphics g,
int x,
int y) |
public BlankIcon(int width, int height)
width
- the width of the iconheight
- the height of the iconpublic int getIconHeight()
getIconHeight
in interface Icon
public int getIconWidth()
getIconWidth
in interface Icon
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.