org.richfaces.skin

## Class SkinFactory

- java.lang.Object
- - org.richfaces.skin.SkinFactory

- Direct Known Subclasses:
    AbstractSkinFactory

      public abstract class SkinFactory
      extends Object

  Base factory class ( implement Singleton design pattern ). Produce self instance to build current skin configuration. At present, realised as lazy creation factory.
  Version:
    $Revision: 1.1.2.1 $ $Date: 2007/01/09 18:59:43 $
  Author:
    asmirnov@exadel.com (latest modification by $Author: alexsmirnov $)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SkinFactory()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract Skin` | `getBaseSkin(javax.faces.context.FacesContext facesContext)` Get base `Skin` implementation
    `abstract Skin` | `getDefaultSkin(javax.faces.context.FacesContext context)` Get default `Skin` implementation.
    `static SkinFactory` | `getInstance()` Deprecated.
    `static SkinFactory` | `getInstance(javax.faces.context.FacesContext context)`
    `abstract Skin` | `getSkin(javax.faces.context.FacesContext context)` Get current `Skin` implementation.
    `abstract Skin` | `getSkin(javax.faces.context.FacesContext context, String name)`
    `abstract Theme` | `getTheme(javax.faces.context.FacesContext facesContext, String name)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SkinFactory

          public SkinFactory()

  - ### Method Detail

    - #### getInstance

          @Deprecated
          public static final SkinFactory getInstance()

      Deprecated.

    - #### getInstance

          public static final SkinFactory getInstance(javax.faces.context.FacesContext context)

    - #### getDefaultSkin

          public abstract Skin getDefaultSkin(javax.faces.context.FacesContext context)

      Get default `Skin` implementation.
      Parameters:
        `context` -
      Returns:

    - #### getSkin

          public abstract Skin getSkin(javax.faces.context.FacesContext context)

      Get current `Skin` implementation.
      Parameters:
        `context` -
      Returns:

    - #### getBaseSkin

          public abstract Skin getBaseSkin(javax.faces.context.FacesContext facesContext)

      Get base `Skin` implementation
      Parameters:
        `facesContext` -
      Returns:

    - #### getTheme

          public abstract Theme getTheme(javax.faces.context.FacesContext facesContext,
                       String name)

      Parameters:
        `facesContext` -
        `name` -
      Returns:

    - #### getSkin

          public abstract Skin getSkin(javax.faces.context.FacesContext context,
                     String name)

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.