|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pietschy.command.configuration.impl.ClassPathIconFactory
class ClassPathIconFactory
An internal IconFactory implementation that loads an icon of the
classpath.
| Constructor Summary | |
|---|---|
ClassPathIconFactory()
|
|
| Method Summary | |
|---|---|
javax.swing.ImageIcon |
createIcon(java.lang.String parameters)
Attempts to load the icon from the classpath using the path specified in the parameter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
ClassPathIconFactory()
| Method Detail |
|---|
public javax.swing.ImageIcon createIcon(java.lang.String parameters)
throws ResourceNotFoundException
createIcon in interface IconFactoryparameters - the location of the icon on the classpath.
ResourceNotFoundException - if the icon can't be loaded.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||