public class Icons extends Object
Constructor and Description |
---|
Icons() |
Modifier and Type | Method and Description |
---|---|
static Icon |
getFileIcon(int h,
char letter,
Color color)
Gets the jGRASP file icon.
|
static Icon |
getFolderIcon(int h)
Gets the jGRASP folder icon.
|
public static Icon getFileIcon(int h, char letter, Color color)
h
- the icon height.letter
- a single letter to be displayed on the icon, or '\0' if
none should be displayed.color
- the icon color.public static Icon getFolderIcon(int h)
h
- the icon height.