org.kuali.kfs.sys.document.web.renderers
Class LabelRenderer

java.lang.Object
  extended by org.kuali.kfs.sys.document.web.renderers.LabelRenderer
All Implemented Interfaces:
Renderer

public class LabelRenderer
extends Object
implements Renderer

This renders a label (and not, as I was about to write labels a render). It's main job is to render header cells on accounting lines.


Constructor Summary
LabelRenderer()
           
 
Method Summary
 void clear()
          If this object is held in a pool, this method is called before the object is returned to the pool, so that the object can be cleaned up for the next use.
protected  String getApplicationURL()
           
 String getAttributeEntryForHelp()
          Gets the attributeEntryForHelp attribute.
 String getFullClassNameForHelp()
          Gets the fullClassNameForHelp attribute.
 String getLabel()
          Gets the label attribute.
 String getLabelFor()
          Gets the labelFor attribute.
 boolean isReadOnly()
          Gets the readOnly attribute.
 boolean isRequired()
          Gets the required attribute.
 void render(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag)
          Asks this renderer to render
 void setAttributeEntryForHelp(String attributeEntryForHelp)
          Sets the attributeEntryForHelp attribute value.
 void setFullClassNameForHelp(String fullClassNameForHelp)
          Sets the fullClassNameForHelp attribute value.
 void setLabel(String label)
          Sets the label attribute value.
 void setLabelFor(String labelFor)
          Sets the labelFor attribute value.
 void setReadOnly(boolean readOnly)
          Sets the readOnly attribute value.
 void setRequired(boolean required)
          Sets the required attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabelRenderer

public LabelRenderer()
Method Detail

getAttributeEntryForHelp

public String getAttributeEntryForHelp()
Gets the attributeEntryForHelp attribute.

Returns:
Returns the attributeEntryForHelp.

setAttributeEntryForHelp

public void setAttributeEntryForHelp(String attributeEntryForHelp)
Sets the attributeEntryForHelp attribute value.

Parameters:
attributeEntryForHelp - The attributeEntryForHelp to set.

getFullClassNameForHelp

public String getFullClassNameForHelp()
Gets the fullClassNameForHelp attribute.

Returns:
Returns the fullClassNameForHelp.

setFullClassNameForHelp

public void setFullClassNameForHelp(String fullClassNameForHelp)
Sets the fullClassNameForHelp attribute value.

Parameters:
fullClassNameForHelp - The fullClassNameForHelp to set.

getLabel

public String getLabel()
Gets the label attribute.

Returns:
Returns the label.

setLabel

public void setLabel(String label)
Sets the label attribute value.

Parameters:
label - The label to set.

isRequired

public boolean isRequired()
Gets the required attribute.

Returns:
Returns the required.

setRequired

public void setRequired(boolean required)
Sets the required attribute value.

Parameters:
required - The required to set.

isReadOnly

public boolean isReadOnly()
Gets the readOnly attribute.

Returns:
Returns the readOnly.

setReadOnly

public void setReadOnly(boolean readOnly)
Sets the readOnly attribute value.

Parameters:
readOnly - The readOnly to set.

getLabelFor

public String getLabelFor()
Gets the labelFor attribute.

Returns:
Returns the labelFor.

setLabelFor

public void setLabelFor(String labelFor)
Sets the labelFor attribute value.

Parameters:
labelFor - The labelFor to set.

clear

public void clear()
Description copied from interface: Renderer
If this object is held in a pool, this method is called before the object is returned to the pool, so that the object can be cleaned up for the next use.

Specified by:
clear in interface Renderer
See Also:
Renderer.clear()

getApplicationURL

protected String getApplicationURL()

render

public void render(javax.servlet.jsp.PageContext pageContext,
                   javax.servlet.jsp.tagext.Tag parentTag)
            throws javax.servlet.jsp.JspException
Description copied from interface: Renderer
Asks this renderer to render

Specified by:
render in interface Renderer
Parameters:
pageContext - the JSP page context to render to
parentTag - the tag that is the "parent" of this rendering
Throws:
javax.servlet.jsp.JspException
See Also:
org.kuali.kfs.sys.document.web.renderers.Renderer#render(javax.servlet.jsp.PageContext, javax.servlet.jsp.tagext.Tag, org.kuali.rice.kns.bo.BusinessObject)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.