Skip to main content

Temperature SPOT - Part 4

Posted by mriem on August 24, 2007 at 11:00 PM EDT

The code below is the component part for the Temperature JSF library.

package com.manorrock.jsf.sunspot.temperature;

import javax.faces.component.UIComponentBase;

/**
 * A JSF SunSPOT temperature component.
 *
 * @author Manfred Riem (mriem@manorrock.com)
 */
public class TemperatureComponent extends UIComponentBase {
    /**
     * Stores the family.
     */
    private static String FAMILY = "com.manorrock.jsf.sunspot.temperature.TemperatureFamily";
    
    /**
     * Get the family.
     */
    public String getFamily() {
        return FAMILY;
    }
}

The next entry will be about the TemperatureTag.

Related Topics >>