|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.taglib.servlet.tbeans.tableview.BaseCellRendererTag
public abstract class BaseCellRendererTag
The base object for all the CellRenderer, ColumnHeaderRenderer tag support handlers in the SAS Custom Tag Library.
Field Summary |
---|
Fields inherited from class com.sas.taglib.BaseBodyTag |
---|
DELIMITERS, RB_KEY |
Constructor Summary | |
---|---|
BaseCellRendererTag()
|
Method Summary | |
---|---|
protected void |
applyAttributes()
Apply BaseCellRenderer properties to the underlying com.sas.servlet.tbeans.tableview.html.BaseTableCell object |
java.lang.String |
getBgColor()
Deprecated. The StyleInfo tag is now the preferred manner to change colors and other styles on cell renderers. |
int |
getColSpan()
Returns the colSpan property of the BaseCellRendererTag. |
java.lang.String |
getCustomAttributes()
Returns the customAttributes property of the BaseCellRendererTag. |
java.lang.String |
getHeaders()
Returns the headers property of the BaseCellRendererTag. |
int |
getHeight()
Returns the height property of the BaseCellRendererTag. |
int |
getHeightPercentage()
Returns the heightPercentage property of the BaseCellRendererTag. |
java.lang.String |
getHorizontalAlignment()
Returns the horizontalAlignment property of the BaseCellRendererTag. |
int |
getRowSpan()
Returns the rowSpan property of the BaseCellRendererTag. |
java.lang.String |
getStyleClassPrefix()
Returns the styleClassPrefix property of the BaseCellRendererTag. |
java.lang.String |
getVerticalAlignment()
Returns the verticalAlignment property of the BaseCellRendererTag. |
int |
getWidth()
Returns the width property of the BaseCellRendererTag. |
int |
getWidthPercentage()
Returns the widthPercentage property of the BaseCellRendererTag. |
protected void |
initialize(boolean includeAttributes)
Initializes attributes and variables for this tag handler. |
boolean |
isNoWrap()
Returns the noWrap property of the BaseCellRendererTag. |
void |
setBgColor(java.lang.String color)
Deprecated. The StyleInfo tag is now the preferred manner to change colors and other styles on cell renderers. |
void |
setColSpan(int colSpan)
Sets the colSpan property of the BaseCellRendererTag. |
void |
setCustomAttributes(java.lang.String customAttributes)
Sets the customAttributes property of the BaseCellRendererTag. |
void |
setHeaders(java.lang.String headers)
Sets the headers property of the BaseCellRendererTag. |
void |
setHeight(int height)
Sets the height property of the BaseCellRendererTag. |
void |
setHeightPercentage(int heightPercentage)
Sets the heightPercentage property of the BaseCellRendererTag. |
void |
setHorizontalAlignment(java.lang.String horizontalAlignment)
Sets the horizontalAlignment property of the BaseCellRendererTag. |
void |
setNoWrap(boolean noWrap)
Sets the noWrap property of the BaseCellRendererTag. |
void |
setRowSpan(int rowSpan)
Sets the rowSpan property of the BaseCellRendererTag. |
void |
setStyleClassPrefix(java.lang.String styleClassPrefix)
Sets the styleClassPrefix property of the BaseCellRendererTag. |
void |
setVerticalAlignment(java.lang.String verticalAlignment)
Sets the verticalAlignment property of the BaseCellRendererTag. |
void |
setWidth(int width)
Sets the width property of the BaseCellRendererTag. |
void |
setWidthPercentage(int widthPercentage)
Sets the widthPercentage property of the BaseCellRendererTag. |
Constructor Detail |
---|
public BaseCellRendererTag()
Method Detail |
---|
protected void initialize(boolean includeAttributes)
initialize
in class BaseBodyTag
includeAttributes
- Set to true if attributes are to be set to default values.public void setBgColor(java.lang.String color)
bgColor
- The background color for this cell. The StyleInfo tag is now the preferred manner to change colors and other styles on cell renderers.getBgColor()
public java.lang.String getBgColor()
setBgColor(java.lang.String)
public void setColSpan(int colSpan)
colSpan
- The number of columns for this cell to span.getColSpan()
public int getColSpan()
setColSpan(int)
public void setHeaders(java.lang.String headers)
headers
- Specifies the list of header cells that provide header
information for the current data cell. The value of this attribute
is a space-separated string of cell names. Those cells must be named
by setting their id attribute.getHeaders()
public java.lang.String getHeaders()
setHeaders(java.lang.String)
public void setHeight(int height)
height
- The height of the cell in pixels.getHeight()
public int getHeight()
setHeight(int)
public void setHeightPercentage(int heightPercentage)
heightPercentage
- The height of the cell as a percentage.getHeightPercentage()
public int getHeightPercentage()
setHeightPercentage(int)
public void setHorizontalAlignment(java.lang.String horizontalAlignment)
horizontalAlignment
- The horizontal alignment of the cell. Valid
values are: LEFT, CENTER, RIGHT, JUSTIFY, CHAR or NONE. The default is
NONE (i.e. the browser default).getHorizontalAlignment()
public java.lang.String getHorizontalAlignment()
setHorizontalAlignment(java.lang.String)
public void setRowSpan(int rowSpan)
rowSpan
- The number of rows for this cell to span.getRowSpan()
public int getRowSpan()
setRowSpan(int)
public void setStyleClassPrefix(java.lang.String styleClassPrefix)
styleClassPrefix
- The string to prepend to the styleClass property.getStyleClassPrefix()
public java.lang.String getStyleClassPrefix()
setStyleClassPrefix(java.lang.String)
public void setVerticalAlignment(java.lang.String verticalAlignment)
verticalAlignment
- The vertical alignment of the cell. Valid
values are: TOP, CENTER, BOTTOM, BASELINE or NONE. The default is
NONE (i.e. the browser default).getVerticalAlignment()
public java.lang.String getVerticalAlignment()
setVerticalAlignment(java.lang.String)
public void setWidth(int width)
width
- The width of the cell in pixels.getWidth()
public int getWidth()
setWidth(int)
public void setWidthPercentage(int widthPercentage)
widthPercentage
- The width of the cell as a percentage.getWidthPercentage()
public int getWidthPercentage()
setWidthPercentage(int)
public void setNoWrap(boolean noWrap)
noWrap
- If true, then automatic text wrapping is disabled. If used
carelessly, this attribute may result in excessively wide cells.isNoWrap()
public boolean isNoWrap()
setNoWrap(boolean)
public void setCustomAttributes(java.lang.String customAttributes)
customAttributes
- A list of attributes in the form of attribute="value", space delimitedgetCustomAttributes()
public java.lang.String getCustomAttributes()
setCustomAttributes(java.lang.String)
protected void applyAttributes() throws javax.servlet.jsp.JspException
applyAttributes
in class BaseBodyTag
javax.servlet.jsp.JspException
- Thrown if a JspException occurs.
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |