|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
com.ibm.btt.gui.jsptags.DSETagSupport
com.ibm.btt.gui.jsptags.DSETableTagSupport
public abstract class DSETableTagSupport
This class implements the DSETableTagSupport that provides basic support for JSP Tag that create tables.
The following tag attributes can be associated with the DSETableSupportTag:
Subclasses of DSETableTagSupport create an HTML Table element that shows the contents of IndexedCollections.
Field Summary | |
---|---|
protected java.lang.String |
border
The HMTL table element attribute: border |
protected static java.lang.String |
CA_CA
The HTML TD element attribute: class |
protected static java.lang.String |
CA_TA
The HTML TD element attribute: align |
protected static java.lang.String |
CA_WA
The HTML TD element attribute: width |
protected java.lang.String |
cellBGColor
The HTML table cell background color |
protected java.lang.String |
cellBGColor2
The HTML table cell second background color to alternate the colors |
protected java.lang.String |
cellpadding
The HMTL table element attribute: cellpadding |
protected java.lang.String |
cellspacing
The HMTL table element attribute: cellspacing |
protected java.lang.String |
colAlignments
The HTML table columns text aligment |
protected java.lang.String |
colSizes
The HTML table columns size |
static java.lang.String |
COPYRIGHT
|
protected static java.lang.String |
CT_CLOSE
The HTML caption element close |
protected static java.lang.String |
CT_OPEN
The HTML caption element open |
protected java.lang.String |
dataNameForList
The IndexedCollection or KeyedCollection name |
protected int |
end
The end indicator of the indexed collection |
protected java.lang.String |
headerAlignment
The HTML table headers text aligment |
protected java.lang.String |
headerBGColor
The HTML table headers background color |
protected java.lang.String |
headerFontColor
The HTML table headers font color |
protected java.lang.String |
headerFontFace
The HTML table headers font face |
protected java.lang.String |
headerFontSize
The HTML table headers font size |
protected java.lang.String |
headers
The HTML table headers |
protected IndexedCollection |
ic
|
protected java.lang.String |
showCaption
The indicator to insert the HMTL caption element or not |
protected java.lang.String |
showHeaders
The indicator to insert the HMTL table headers or not |
protected java.lang.String |
skipCols
The number of column to skip |
protected int |
start
The start indicator of the indexed collection |
protected static java.lang.String |
TB_TA
The HTML table element attribute: border |
protected static java.lang.String |
TBG_TA
The HTML TR element attribute: bgcolor |
protected static java.lang.String |
TCP_TA
The HTML table element attribute: cellpadding |
protected static java.lang.String |
TCS_TA
The HTML table element attribute: cellspacing |
protected static java.lang.String |
TDT_CLOSE
The HTML TD element close |
protected static java.lang.String |
TDT_OPEN
The HTML TD element open |
protected static java.lang.String |
THT_CLOSE
The HTML TH element close |
protected static java.lang.String |
THT_OPEN
The HTML TH element open |
protected static java.lang.String |
TRT_CLOSE
The HTML TR element close |
protected static java.lang.String |
TRT_OPEN
The HTML TR element open |
protected static java.lang.String |
TT_CLOSE
The HTML table element close |
protected static java.lang.String |
TT_OPEN
The HTML table element open |
protected static java.lang.String |
TW_TA
The HTML table element attribute: width |
protected java.lang.String |
width
The HMTL table element attribute: width |
Fields inherited from class com.ibm.btt.gui.jsptags.DSETagSupport |
---|
APPLICATION_SCOPE, BR_RE, BT_CLOSE, BT_OPEN, buffer, BUTTON, CENTER, COMMENT_VAL_ERROR, custom, dataName, DOC_CLOSE, DOC_FORM_EVENT, DOC_FORM_HALF1, DOC_FORM_HALF2, DOC_SUBMIT, DOT, ERRORCOLOR, FCLTA, FCTA, FFTA, fontColor, fontFace, fontSize, FSTA, FT_CLOSE, FT_OPEN, HARD, IBT_OPEN, ICKT_OPEN, IHT_OPEN, IIT_OPEN, IMAGE, IPT_OPEN, IRAT_OPEN, IRT_OPEN, IST_OPEN, IT_CA, IT_CHECKED, IT_DISA, IT_MA, IT_NA, IT_OA, IT_OPEN, IT_READ, IT_READONLY, IT_SA, IT_SRA, IT_VA, IT_WA, ITT_OPEN, LEFT, LO_CLOSE, LO_RE, LOWT, msgPrefix, name, NBSP, NO, NULL, OFF, out, PAGE_SCOPE, QU_LO, QU_LO_CLOSE_RE, QU_LO_RE, QU_SP, QUOT, REQUEST_SCOPE, RESET, RET, RIGHT, SESSION_SCOPE, SOFT, SP, styleName, SUBMIT, TAT_CA, TAT_CLOSE, TAT_OPNE, TAT_RA, TAT_WA, valErrBundle, YES |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
---|
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
DSETableTagSupport()
Default constructor. |
Method Summary | |
---|---|
void |
bufferAppendHeaderFontEnd()
Appends the end font tag to the buffer. |
void |
bufferAppendHeaderFontStart()
Appends the start font tag to the buffer. |
void |
bufferAppendHeaders(KeyedCollection aKeyedCollection)
Creates the Table headers using the ids of the DataElements contained in aKeyedCollection. |
void |
bufferAppendHeaders(java.util.StringTokenizer tokenizer)
Creates the Table headers when they have been defined in the headers attribute. |
void |
bufferAppendTDOpen(java.lang.String[] align,
java.lang.String[] size,
int col)
Appends the start font tag to the buffer. |
void |
bufferAppendTROpen(int row)
Appends the start font tag to the buffer. |
abstract void |
doForIndexedCollection()
Processes when the IndexedCollection specified by the dataNameForList property contains IndexedCollections. |
abstract void |
doForKeyedCollection()
Processes when the IndexedCollection specified by the dataNameForList property contains KeyedCollections. |
int |
doStartTag()
Processes the start tag for this instance. |
java.lang.String[] |
getColAligns()
Returns the value of the colAlignments property in a String[] object. |
java.lang.String[] |
getColWidths()
Returns the value of the colSizes property in a String[] object. |
java.lang.String |
getStringValue(DataElement aDataElement)
Returns the value of the aDataElement property. |
void |
setBorder(java.lang.String newBorder)
Sets the border property with a new value. |
void |
setCellBGColor(java.lang.String newCellBGColor)
Sets the cellBGColor property with a new value. |
void |
setCellBGColor2(java.lang.String newCellBGColor2)
Sets the cellBGColor2 property with a new value. |
void |
setCellpadding(java.lang.String newCellpadding)
Sets the cellpadding property with a new value. |
void |
setCellspacing(java.lang.String newCellspacing)
Sets the cellspacing property with a new value. |
void |
setColAlignments(java.lang.String newColAlignments)
Sets the colAlignments property with a new value. |
void |
setColSizes(java.lang.String newColSizes)
Sets the colSizes property with a new value. |
void |
setDataNameForList(java.lang.String newDataNameForList)
Sets the dataNameForList property with a new value. |
void |
setEnd(java.lang.String newEnd)
Sets the end property with a new value. |
void |
setHeaderAlignment(java.lang.String newHeaderAlignment)
Sets the headerAlignment property with a new value. |
void |
setHeaderBGColor(java.lang.String newHeaderBGColor)
Sets the headerBGColor property with a new value. |
void |
setHeaderFontColor(java.lang.String newHeaderFontColor)
Sets the HeaderFontColor property with a new value |
void |
setHeaderFontFace(java.lang.String newHeaderFontFace)
Sets the headerFontFace property with a new value. |
void |
setHeaderFontSize(java.lang.String newHeaderFontSize)
Sets the headerFontSize property with a new value. |
void |
setHeaders(java.lang.String newHeaders)
Sets the headers property with a new value. |
void |
setShowCaption(java.lang.String newShowCaption)
Sets the showCaption property with a new value. |
void |
setShowHeaders(java.lang.String newShowHeaders)
Sets the showHeaders property with a new value. |
void |
setSkipCols(java.lang.String newSkipCols)
Sets the skipCols property with a new value. |
void |
setStart(java.lang.String newStart)
Sets the start property with a new value. |
void |
setWidth(java.lang.String newWidth)
Sets the width property with a new value. |
Methods inherited from class com.ibm.btt.gui.jsptags.DSETagSupport |
---|
bufferAppendFontEnd, bufferAppendFontStart, getJspContextServices, getName, getResourceBundle, setCustom, setDataName, setFontColor, setFontFace, setFontSize, setName, setPageContext, setResourceBundle, setResourceBundle, setStyle, setVEResourceBundle |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setParent, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
protected IndexedCollection ic
protected java.lang.String dataNameForList
protected java.lang.String border
protected java.lang.String cellspacing
protected java.lang.String cellpadding
protected java.lang.String width
protected int start
protected int end
protected java.lang.String showCaption
protected java.lang.String showHeaders
protected java.lang.String headers
protected java.lang.String headerFontFace
protected java.lang.String headerFontSize
protected java.lang.String headerFontColor
protected java.lang.String headerAlignment
protected java.lang.String headerBGColor
protected java.lang.String cellBGColor
protected java.lang.String cellBGColor2
protected java.lang.String colSizes
protected java.lang.String colAlignments
protected java.lang.String skipCols
protected static final java.lang.String CT_OPEN
protected static final java.lang.String CT_CLOSE
protected static final java.lang.String TT_OPEN
protected static final java.lang.String TB_TA
protected static final java.lang.String TW_TA
protected static final java.lang.String TCS_TA
protected static final java.lang.String TCP_TA
protected static final java.lang.String TT_CLOSE
protected static final java.lang.String TRT_OPEN
protected static final java.lang.String TBG_TA
protected static final java.lang.String TRT_CLOSE
protected static final java.lang.String THT_OPEN
protected static final java.lang.String THT_CLOSE
protected static final java.lang.String TDT_OPEN
protected static final java.lang.String TDT_CLOSE
protected static final java.lang.String CA_TA
protected static final java.lang.String CA_CA
protected static final java.lang.String CA_WA
Constructor Detail |
---|
public DSETableTagSupport()
Method Detail |
---|
public void bufferAppendHeaderFontEnd()
public void bufferAppendHeaderFontStart()
public void bufferAppendHeaders(java.util.StringTokenizer tokenizer)
tokenizer
- The headers contentspublic void bufferAppendHeaders(KeyedCollection aKeyedCollection) throws DSEObjectNotFoundException
aKeyedCollection
- The keyed collection
com.ibm.btt.base.DSEObjectNotFound
DSEObjectNotFoundException
public void bufferAppendTDOpen(java.lang.String[] align, java.lang.String[] size, int col)
align
- The align attributesize
- The size attributecol
- the column numberpublic void bufferAppendTROpen(int row)
row
- The row numberpublic abstract void doForIndexedCollection() throws java.io.IOException, DSEObjectNotFoundException, DSETypeException
java.io.IOException
DSEObjectNotFound
DSETypeException
DSEObjectNotFoundException
public abstract void doForKeyedCollection() throws java.io.IOException, DSEObjectNotFoundException, DSETypeException
java.io.IOException
DSEObjectNotFound
DSETypeException
DSEObjectNotFoundException
public int doStartTag()
This method returns Tag.EVAL_BODY_INCLUDE or BodyTag.EVAL_BODY_BUFFERED to indicate that the body of the action should be evaluated or SKIP_BODY to indicate otherwise. When a Tag returns EVAL_BODY_INCLUDE, this method includes the result of evaluating the body (if any) in the current "out" JspWriter and then invokes doEndTag().
Refer to the class description for specific details about this method.
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
public java.lang.String[] getColAligns()
public java.lang.String[] getColWidths()
public java.lang.String getStringValue(DataElement aDataElement) throws DSETypeException
DSETypeException
public void setBorder(java.lang.String newBorder)
newSize
- The new valuepublic void setCellBGColor(java.lang.String newCellBGColor)
newCellBGColor
- The new valuepublic void setCellBGColor2(java.lang.String newCellBGColor2)
newCellBGColor2
- The new valuepublic void setCellpadding(java.lang.String newCellpadding)
newCellpadding
- The new valuepublic void setCellspacing(java.lang.String newCellspacing)
newCellspacing
- The new valuepublic void setColAlignments(java.lang.String newColAlignments)
newColAlignments
- The new valuepublic void setColSizes(java.lang.String newColSizes)
newColSizes
- The new valuepublic void setDataNameForList(java.lang.String newDataNameForList)
newDataNameForList
- The new valuepublic void setEnd(java.lang.String newEnd)
newEnd
- The new valuepublic void setHeaderAlignment(java.lang.String newHeaderAlignment)
newHeaderAlignment
- The new valuepublic void setHeaderBGColor(java.lang.String newHeaderBGColor)
newHeaderBGColor
- The new valuepublic void setHeaderFontColor(java.lang.String newHeaderFontColor)
newHeaderFontColor
- The new valuepublic void setHeaderFontFace(java.lang.String newHeaderFontFace)
newHeaderFontFace
- The new valuepublic void setHeaderFontSize(java.lang.String newHeaderFontSize)
newHeaderFontSize
- The new valuepublic void setHeaders(java.lang.String newHeaders)
newHeaders
- The new valuepublic void setShowCaption(java.lang.String newShowCaption)
newShowCaption
- The new valuepublic void setShowHeaders(java.lang.String newShowHeaders)
newShowHeaders
- The new valuepublic void setSkipCols(java.lang.String newSkipCols)
newSkipCols
- The new valuepublic void setStart(java.lang.String newStart)
newStart
- The new valuepublic void setWidth(java.lang.String newWidth)
newWidth
- The new value
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |