com.pietschy.command.configuration.impl
Class IconFactoryFactory

java.lang.Object
  extended by com.pietschy.command.configuration.impl.IconFactoryFactory
All Implemented Interfaces:
IconFactory

 class IconFactoryFactory
extends java.lang.Object
implements IconFactory

An icon factory instance that delegates to the user installed IconFactory.

See Also:
Defaults.setIconFactory(IconFactory)

Constructor Summary
IconFactoryFactory()
           
 
Method Summary
 javax.swing.Icon createIcon(java.lang.String parameters)
          Creates an icon using the currently installed user IconFactory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IconFactoryFactory

IconFactoryFactory()
Method Detail

createIcon

public javax.swing.Icon createIcon(java.lang.String parameters)
                            throws ParseException
Creates an icon using the currently installed user IconFactory.

Specified by:
createIcon in interface IconFactory
Parameters:
parameters - the icon parameters
Returns:
the icon created by the user factory.
Throws:
ParseException - if the user icon factory is null or if it threw an exception.
See Also:
Defaults.setIconFactory(IconFactory)


Copyright © 2006 - 2007 Andrew Pietsch