|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.taglib.servlet.tbeans.tableview.ColumnsTag
public class ColumnsTag
ColumnsTag is the tag handler class for the sas:Columns custom tag . ColumnsTag is invoked by the JSP page to evaluate the sas:Columns custom tag during the execution of the page. Tag handler methods are called by the JSP page implementation class at various points during the evaluation of the tag. The tag handler methods in turn call methods on the underlying Transformation Bean object, DefaultTableColumnModel, to execute the methods.
If you need to extend or modify the functionality of the sas:Columns custom tag, you can subclass this tag handler class.
For More Information:
Visit the AppDev Studio Developer's Site to access step-by-step examples, white papers and additional usage information at http://support.sas.com/rnd/appdev/.
Refer to the Custom Tag Library Reference for usage information on the sas:Columns custom tag.
Note: A snapshot of the AppDev Studio Developers Site is installed on your local Web server when you install AppDev Studio. To access the site from webAF, select Help -> Developer Site.
DefaultTableColumnModel
,
Serialized FormField Summary |
---|
Fields inherited from class com.sas.taglib.BaseBodyTag |
---|
DELIMITERS, RB_KEY |
Constructor Summary | |
---|---|
ColumnsTag()
|
Method Summary | |
---|---|
void |
addHeld(java.lang.String hold,
TableColumn column)
Add the list of columns to be held. |
void |
addSort(java.lang.String sort,
TableColumn column)
Add the list of columns to be sorted. |
int |
doEndTag()
Process the end tag. |
java.util.ArrayList |
getOrder()
Returns the order property of the ColumnsTag. |
java.lang.String |
getSortOrder()
Gets the sortOrder property. |
protected void |
initialize(boolean includeAttributes)
Initializes attributes and variables for this tag handler. |
boolean |
isOrderColumns()
Returns the orderColumns property of the ColumnsTag. |
void |
setOrder(java.util.ArrayList indexList)
Sets the order property of the ColumnsTag. |
void |
setOrderColumns(boolean orderColumns)
Sets the orderColumns property of the ColumnsTag. |
void |
setSortOrder(java.lang.String sortOrder)
Sets the sortOrder property (String). |
Constructor Detail |
---|
public ColumnsTag()
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 setOrderColumns(boolean orderColumns)
orderColumns
- True if the columns should be displayed in the given order.isOrderColumns()
public boolean isOrderColumns()
setOrderColumns(boolean)
public void setOrder(java.util.ArrayList indexList)
indexList
- ArrayList of the model's indexes in the order to displaygetOrder()
public java.util.ArrayList getOrder()
setOrder(java.util.ArrayList)
public void setSortOrder(java.lang.String sortOrder)
sortOrder
- A comma-delimitted string of integers to specify the sort order.public java.lang.String getSortOrder()
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
public void addHeld(java.lang.String hold, TableColumn column)
hold
- Which side to hold the column on.column
- The TableColumn to hold.public void addSort(java.lang.String sort, TableColumn column)
sort
- Which direction to sort the column.column
- The TableColumn to sort.
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |