Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.pietschy.command.configuration.impl
Class ClassPathIconFactory

    java.lang.Object
      com.pietschy.command.configuration.impl.ClassPathIconFactory

All Implemented Interfaces:
  IconFactory

     class ClassPathIconFactory

extends java.lang.Object
implements IconFactory

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

    ClassPathIconFactory()

Method Detail

### createIcon

    public javax.swing.ImageIcon createIcon(java.lang.String parameters)
                                     throws ResourceNotFoundException

  Attempts to load the icon from the classpath using the path specified in the parameter.

  Specified by:
    `createIcon` in interface `IconFactory`
  Parameters:
    `parameters` - the location of the icon on the classpath.
  Returns:
    the icon.
  Throws:
    `ResourceNotFoundException` - if the icon can't be loaded.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 - 2007 Andrew Pietsch