com.infragistics.faces.chart.taglib.html
Class LightTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bycom.infragistics.faces.shared.taglib.ModelComponentTag
          extended bycom.infragistics.faces.chart.taglib.html.LightTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class LightTag
extends ModelComponentTag

JSP Tags For The light Component. Light components specify a light source used to illuminate the three dimensional charts.

Each light source specifies a color and can be one of:

  • directional (such as the sun) with parallel rays oriented in the specified direction.
  • positional (such as a candle) with rays emanating in all directions from the specified position.
  • spot
  • with rays emanating in the specified direction from the specified position
  • ambient
  • equally illuminating all surfaces. If no light sources are specified, a simple configuration consisting of a bright front and slight ambient illumination is automatically created.

    Use

    To use the component in a JSP page, declare the taglib:
     <%@ taglib prefix="ig" uri="http://www.infragistics.com/faces/netadvantage" %>
     
    and instantiate:
     <ig:light >
     

    Attributes

    Name Type Default Description
    color Color "Color.WHITE" The color of this light source.
    direction String "null" The light direction. The direction may be null, in which case the light source will be either ambient or positional
    focus float "90" The spotlight beam focus.
    position String "null" The position of this light source. The position may be null, in which case the light source will be either ambient or directional.

    See Also:
    Serialized Form

    Field Summary
     
    Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
    EVAL_BODY_AGAIN
     
    Fields inherited from interface javax.servlet.jsp.tagext.Tag
    EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
     
    Constructor Summary
    LightTag()
              Constructor
     
    Method Summary
     java.lang.Object getNewInstance()
              This method must be implemented by subclasses and return an instance of a CompositeProperty
     void release()
               
     void setColor(java.lang.String newValue)
               
     void setDirection(java.lang.String newValue)
               
     void setFocus(java.lang.String newValue)
               
     void setPosition(java.lang.String newValue)
               
     
    Methods inherited from class com.infragistics.faces.shared.taglib.ModelComponentTag
    doEndTag, doStartTag, getModelInstance
     
    Methods inherited from class javax.servlet.jsp.tagext.TagSupport
    doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
     
    Methods inherited from class java.lang.Object
    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Constructor Detail

    LightTag

    public LightTag()

    Constructor

    Method Detail

    release

    public void release()
    Specified by:
    release in interface javax.servlet.jsp.tagext.Tag
    Overrides:
    release in class ModelComponentTag

    setColor

    public void setColor(java.lang.String newValue)

    setDirection

    public void setDirection(java.lang.String newValue)

    setFocus

    public void setFocus(java.lang.String newValue)

    setPosition

    public void setPosition(java.lang.String newValue)

    getNewInstance

    public java.lang.Object getNewInstance()
    Description copied from class: ModelComponentTag
    This method must be implemented by subclasses and return an instance of a CompositeProperty

    Specified by:
    getNewInstance in class ModelComponentTag
    Returns: