public class Icon extends Object
The named icon standard groups icons in different categories. There is a
subclass of Icon for each of these divisions: common
actions that can be taken by users,
used to annotate other icons, the all important smiley
faces, XDG defined
places, and a list of common
states for various application features.
These constants can be used to create an Image using the constructor
taking an Icon:
image = new Image(FaceIcon.FACE_SMILE);You can also use named icons in TreeViews; DataColumnIcon and a
setValue()taking an Icon are for specifying a named icon in a TreeModel and CellRendererPixbuf has a
setIcon()where you can specify the column to pull the image from.
Ideally you should always get an icon back when requesting an Image with one of these constants. There is a fallback mechanism if an image isn't found, but that is somewhat vague and certainly up to the overall desktop theme you're using. Worst case you'll get the "broken missing image" icon.