public class ReIcon extends Object
Modifier and Type | Method and Description |
---|---|
Icon |
getIcon() |
Icon |
getIcon(int size)
Produce an icon of the required size.
|
public ReIcon(Icon icon)
public Icon getIcon()
public Icon getIcon(int size)
The returned icon is not always an ImageIcon; and may in fact pay attention to your component foreground and background color.
size
- Size of the icon (usually 16,32 and 48 are supported)Copyright © 1996–2018 Geotools. All rights reserved.