com.sun.rave.web.ui.component.util.factories
Class IconFactory

java.lang.Object
  extended by com.sun.rave.web.ui.component.util.factories.ComponentFactoryBase
      extended by com.sun.rave.web.ui.component.util.factories.IconFactory
All Implemented Interfaces:
ComponentFactory

public class IconFactory
extends ComponentFactoryBase

This factory is responsible for instantiating an icon UIComponent.


Constructor Summary
IconFactory()
           
 
Method Summary
 javax.faces.component.UIComponent create(javax.faces.context.FacesContext context, LayoutComponent descriptor, javax.faces.component.UIComponent parent)
           This is the factory method responsible for creating the UIComponent.
 
Methods inherited from class com.sun.rave.web.ui.component.util.factories.ComponentFactoryBase
addChild, getEvaluatedOption, setOptions, storeInstanceHandlers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IconFactory

public IconFactory()
Method Detail

create

public javax.faces.component.UIComponent create(javax.faces.context.FacesContext context,
                                                LayoutComponent descriptor,
                                                javax.faces.component.UIComponent parent)

This is the factory method responsible for creating the UIComponent.

Parameters:
context - The FacesContext
descriptor - The LayoutComponent descriptor associated with the requested UIComponent.
parent - The parent UIComponent
Returns:
The newly created Icon