com.sas.taglib.servlet.tbeans.tableview
Class BaseRowTag

com.sas.taglib.servlet.tbeans.tableview.BaseRowTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally
Direct Known Subclasses:
ColumnHeaderRowTag, RowTag

public class BaseRowTag

The base object for all the RowRenderer tag support handlers in the SAS Custom Tag Library.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sas.taglib.BaseTag
APPLICATION, PAGE, RB_KEY, REQUEST, SESSION
 
Constructor Summary
BaseRowTag()
           
 
Method Summary
protected  void applyAttributes()
          Apply RowRenderer properties to the underlying com.sas.servlet.tbeans.tableview.html.DefaultTableRowRenderer object
 java.lang.String getBgColor()
          Returns the bgColor property of the RowTag.
 java.lang.String getCustomAttributes()
          Returns the customAttributes property of the RowTag.
 java.lang.String getHorizontalAlignment()
          Returns the horizontalAlignment property of the RowTag.
 java.lang.String getStyleClassPrefix()
          Returns the styleClassPrefix property of the RowTag.
 java.lang.String getVerticalAlignment()
          Returns the verticalAlignment property of the RowTag.
protected  void initialize(boolean includeAttributes)
          Initializes attributes and variables for this tag handler.
 void setBgColor(java.lang.String color)
          Sets the bgColor property of the RowTag.
 void setCustomAttributes(java.lang.String customAttributes)
          Sets the customAttributes property of the RowTag.
 void setHorizontalAlignment(java.lang.String horizontalAlignment)
          Sets the horizontalAlignment property of the RowTag.
 void setStyleClassPrefix(java.lang.String styleClassPrefix)
          Sets the styleClassPrefix property of the RowTag.
 void setVerticalAlignment(java.lang.String verticalAlignment)
          Sets the verticalAlignment property of the RowTag.
 
Methods inherited from class com.sas.taglib.BaseTag
convertScope, doCatch, doFinally, doStartTag, getApplyAttributes, getComponentFromParentComposite, getCompositeComponentKey, getInstantiate, getLocale, getPageContext, getRef, getScope, getTagScope, getWrappedClassName, getWrappedObject, getWrappedObject, loadBeanInstance, newInstance, release, removeFromScope, searchContext, setApplyAttributes, setComponentOnParentComposite, setCompositeComponentKey, setInstantiate, setLocale, setRef, setScope, setTagScope, setVariableWithinScope, setWrappedClassName, setWrappedObject, validate
 

Constructor Detail

BaseRowTag

public BaseRowTag()
Method Detail

initialize

protected void initialize(boolean includeAttributes)
Initializes attributes and variables for this tag handler.

Overrides:
initialize in class BaseTag
Parameters:
includeAttributes - Set to true if attributes are to be set to default values.

setBgColor

public void setBgColor(java.lang.String color)
Sets the bgColor property of the RowTag.

Parameters:
bgColor - The background color for the row.
See Also:
getBgColor()

getBgColor

public java.lang.String getBgColor()
Returns the bgColor property of the RowTag.

Returns:
the background color for the row
See Also:
setBgColor(java.lang.String)

setHorizontalAlignment

public void setHorizontalAlignment(java.lang.String horizontalAlignment)
Sets the horizontalAlignment property of the RowTag.

Parameters:
horizontalAlignment - The horizontal alignment of the row's cells. Valid values are: LEFT, CENTER, RIGHT, JUSTIFY, CHAR or NONE. The default is NONE (i.e. the browser defaults).
See Also:
getHorizontalAlignment()

getHorizontalAlignment

public java.lang.String getHorizontalAlignment()
Returns the horizontalAlignment property of the RowTag.

Returns:
the horizontal alignment of the row's cells
See Also:
setHorizontalAlignment(java.lang.String)

setStyleClassPrefix

public void setStyleClassPrefix(java.lang.String styleClassPrefix)
Sets the styleClassPrefix property of the RowTag.

Parameters:
styleClassPrefix - The string to prepend to the styleClass property.
See Also:
getStyleClassPrefix()

getStyleClassPrefix

public java.lang.String getStyleClassPrefix()
Returns the styleClassPrefix property of the RowTag.

Returns:
the string to prepend to the styleClass property
See Also:
setStyleClassPrefix(java.lang.String)

setVerticalAlignment

public void setVerticalAlignment(java.lang.String verticalAlignment)
Sets the verticalAlignment property of the RowTag.

Parameters:
verticalAlignment - The vertical alignment of the row's cells. Valid values are: TOP, CENTER, BOTTOM, BASELINE or NONE. The default is NONE (i.e. the browser defaults).
See Also:
getVerticalAlignment()

getVerticalAlignment

public java.lang.String getVerticalAlignment()
Returns the verticalAlignment property of the RowTag.

Returns:
the vertical alignment of the row's cells
See Also:
setVerticalAlignment(java.lang.String)

setCustomAttributes

public void setCustomAttributes(java.lang.String customAttributes)
Sets the customAttributes property of the RowTag.

Parameters:
customAttributes - A list of attributes in the form of attribute="value", space delimited
See Also:
getCustomAttributes()

getCustomAttributes

public java.lang.String getCustomAttributes()
Returns the customAttributes property of the RowTag.

Returns:
String a list of attributes in the form of attribute="value", space delimited
See Also:
setCustomAttributes(java.lang.String)

applyAttributes

protected void applyAttributes()
                        throws javax.servlet.jsp.JspException
Apply RowRenderer properties to the underlying com.sas.servlet.tbeans.tableview.html.DefaultTableRowRenderer object

Overrides:
applyAttributes in class BaseTag
Throws:
javax.servlet.jsp.JspException - Thrown if a JspException occurs.



Copyright © 2009 SAS Institute Inc. All Rights Reserved.