|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xj3d.ui.awt.widgets.IconLoader
public class IconLoader
A convenience class that loads Icons and images for Xj3D's internal uses and provides caching mechanisms.
| Constructor Summary | |
|---|---|
IconLoader()
|
|
| Method Summary | |
|---|---|
static javax.swing.ImageIcon |
loadIcon(java.lang.String name,
ErrorReporter reporter)
Load an icon for the named node type. |
static java.awt.Image |
loadImage(java.lang.String name,
ErrorReporter reporter)
Load an image for the named image file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IconLoader()
| Method Detail |
|---|
public static java.awt.Image loadImage(java.lang.String name,
ErrorReporter reporter)
name - The path name to load the icon for. If not found,
no image is loaded.reporter - An error reporter to send error messages to
public static javax.swing.ImageIcon loadIcon(java.lang.String name,
ErrorReporter reporter)
name - The name of the node to load the icon for. If not found,
no image is loaded.reporter - An error reporter to send error messages to
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||