|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.taglib.servlet.tbeans.tableview.AbstractBaseTableViewTag
public class AbstractBaseTableViewTag
The base object for all tag support handlers in the SAS Custom Tag Library that are used as wrappers for TableViews.
Field Summary |
---|
Fields inherited from class com.sas.taglib.BaseBodyTag |
---|
DELIMITERS, RB_KEY |
Constructor Summary | |
---|---|
AbstractBaseTableViewTag()
|
Method Summary | |
---|---|
protected void |
applyAttributes()
Apply TableView properties to the underlying com.sas.servlet.tbeans.tableview.AbstractBaseTableView object |
int |
getBorderWidth()
Returns the borderWidth property of the AbstractBaseTableViewTag. |
java.lang.String |
getCaption()
Returns the caption property of the AbstractBaseTableViewTag. |
int |
getCellPadding()
Returns the cellPadding property of the AbstractBaseTableViewTag. |
int |
getCellSpacing()
Returns the cellSpacing property of the AbstractBaseTableViewTag. |
int |
getColumnPageSize()
Returns the columnPageSize property of the AbstractBaseTableViewTag. |
java.lang.String |
getHorizontalAlignment()
Returns the horizontalAlignment property of the AbstractBaseTableViewTag. |
int |
getRowPageSize()
Returns the rowPageSize property of the AbstractBaseTableViewTag. |
java.lang.String |
getStyleClassPrefix()
Returns the styleClassPrefix property of the AbstractBaseTableViewTag. |
java.lang.String |
getSummary()
Returns the summary property of the AbstractBaseTableViewTag. |
int |
getWidth()
Returns the width property of the AbstractBaseTableViewTag. |
int |
getWidthPercentage()
Returns the widthPercentage property of the AbstractBaseTableViewTag. |
protected void |
initialize(boolean includeAttributes)
Initializes attributes and variables for this tag handler. |
boolean |
isColumnHeaderVisible()
Returns the columnHeaderVisible property of the AbstractBaseTableViewTag. |
boolean |
isFormEnabled()
Returns the formEnabled property of the AbstractBaseTableViewTag. |
boolean |
isRowHeaderVisible()
Returns the rowHeaderVisible property of the AbstractBaseTableViewTag. |
void |
setBorderWidth(int borderWidth)
Sets the borderWidth property of the AbstractBaseTableViewTag. |
void |
setCaption(java.lang.String caption)
Sets the caption property of the AbstractBaseTableViewTag. |
void |
setCellPadding(int cellPadding)
Sets the cellPadding property of the AbstractBaseTableViewTag. |
void |
setCellSpacing(int cellSpacing)
Sets the cellSpacing property of the AbstractBaseTableViewTag. |
void |
setColumnHeaderVisible(boolean columnHeaderVisible)
Sets the columnHeaderVisible property of the AbstractBaseTableViewTag. |
void |
setColumnPageSize(int columnPageSize)
Sets the columnPageSize property of the AbstractBaseTableViewTag. |
void |
setFormEnabled(boolean enabled)
Sets the formEnabled property of the AbstractBaseTableViewTag. |
void |
setHorizontalAlignment(java.lang.String horizontalAlignment)
Sets the horizontalAlignment property of the AbstractBaseTableViewTag. |
void |
setRowHeaderVisible(boolean rowHeaderVisible)
Sets the rowHeaderVisible property of the AbstractBaseTableViewTag. |
void |
setRowPageSize(int rowPageSize)
Sets the rowPageSize property of the AbstractBaseTableViewTag. |
void |
setStyleClassPrefix(java.lang.String styleClassPrefix)
Sets the styleClassPrefix property of the AbstractBaseTableViewTag. |
void |
setSummary(java.lang.String summary)
Sets the text to be used as the summary property of the AbstractBaseTableViewTag. |
void |
setWidth(int width)
Sets the width property of the AbstractBaseTableViewTag. |
void |
setWidthPercentage(int widthPercentage)
Sets the widthPercentage property of the AbstractBaseTableViewTag. |
Methods inherited from class com.sas.taglib.servlet.tbeans.BaseActionTransformationBodyTag |
---|
getActionProvider, setActionProvider |
Methods inherited from class com.sas.taglib.servlet.tbeans.BaseTransformationBodyTag |
---|
doEndTag, doStartTag, getCustomAttributes, getEpilog, getLocale, getName, getObjectDataProperty, getProlog, getRender, getRenderType, setCustomAttributes, setEpilog, setLocale, setName, setObjectDataProperty, setProlog, setRender, setRenderType |
Methods inherited from class com.sas.taglib.BaseBodyTag |
---|
doCatch, doFinally, getApplyAttributes, getBodyStrings, getCompositeComponentKey, getInstantiate, getPageContext, getRef, getScope, getTagScope, getWrappedClassName, getWrappedObject, getWrappedObject, loadBeanInstance, newInstance, release, removeFromScope, searchContext, setApplyAttributes, setCompositeComponentKey, setInstantiate, setRef, setScope, setTagScope, setVariableWithinScope, setWrappedClassName, setWrappedObject, validate |
Constructor Detail |
---|
public AbstractBaseTableViewTag()
Method Detail |
---|
protected void initialize(boolean includeAttributes)
initialize
in class BaseActionTransformationBodyTag
includeAttributes
- Set to true if attributes are to be set to default values.public void setColumnHeaderVisible(boolean columnHeaderVisible)
columnHeaderVisible
- If true, then the column headers on the TableView are
visible.isColumnHeaderVisible()
public boolean isColumnHeaderVisible()
setColumnHeaderVisible(boolean)
public void setColumnPageSize(int columnPageSize)
columnPageSize
- The number of columns to display. If columnPageSize
is less than the number of columns in the column model then column scrolling
will automatically be enabled.getColumnPageSize()
public int getColumnPageSize()
setColumnPageSize(int)
public void setSummary(java.lang.String summary)
summary
- A brief description of the structure and purpose of the
TableView.getSummary()
public java.lang.String getSummary()
setSummary(java.lang.String)
public void setStyleClassPrefix(java.lang.String styleClassPrefix)
styleClassPrefix
- A string to prepend to the styleClass name of the
TableView.getStyleClassPrefix()
public java.lang.String getStyleClassPrefix()
setStyleClassPrefix(java.lang.String)
public void setHorizontalAlignment(java.lang.String horizontalAlignment)
horizontalAlignment
- The horizontal position of the TableView on the page.
Valid values are LEFT, CENTER, RIGHT, and NONE.getHorizontalAlignment()
public java.lang.String getHorizontalAlignment()
setHorizontalAlignment(java.lang.String)
public void setWidth(int width)
width
- The width of the TableView in pixels. Overrides
widthPercentage if both are set.getWidth()
public int getWidth()
setWidth(int)
public void setRowPageSize(int rowPageSize)
rowPageSize
- The number of rows to display. If rowPageSize
is less than the number of rows in the data model then row scrolling
will automatically be enabled.getRowPageSize()
public int getRowPageSize()
setRowPageSize(int)
public void setCellPadding(int cellPadding)
cellPadding
- The number of pixels between the cell border and
the cell content.getCellPadding()
public int getCellPadding()
setCellPadding(int)
public void setBorderWidth(int borderWidth)
borderWidth
- The width of the border around the TableView in pixels.getBorderWidth()
public int getBorderWidth()
setBorderWidth(int)
public void setRowHeaderVisible(boolean rowHeaderVisible)
rowHeaderVisible
- If true, then the row headers on the TableView are
visible.isRowHeaderVisible()
public boolean isRowHeaderVisible()
setRowHeaderVisible(boolean)
public void setWidthPercentage(int widthPercentage)
widthPercentage
- The width of the TableView as a percentage.getWidthPercentage()
public int getWidthPercentage()
setWidthPercentage(int)
public void setCellSpacing(int cellSpacing)
cellSpacing
- The number of pixels between the border of each
cell.getCellSpacing()
public int getCellSpacing()
setCellSpacing(int)
public void setCaption(java.lang.String caption)
caption
- A brief description to describe the nature of the TableView.getCaption()
public java.lang.String getCaption()
setCaption(java.lang.String)
public void setFormEnabled(boolean enabled)
enabled
- If true, then the form object is rendered by the TableView.
If false, then the form object is not rendered and the user is responsible
for rendering their own form.isFormEnabled()
public boolean isFormEnabled()
setFormEnabled(boolean)
protected void applyAttributes() throws javax.servlet.jsp.JspException
applyAttributes
in class BaseActionTransformationBodyTag
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 |