|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--planetj.html.HTMLElement | +--planetj.html.HTMLTable
This class is used for containing the properties of an HTML table into an object. A HTMLTAbleProperties object is used when outputing the HTML code for a table.
Field Summary | |
static String |
className
|
static String |
LOCATION_ACTION_ROW_INLINE
In-line row actions location. |
static int |
MULTIPLESELECTION
|
static int |
NOSELECTION
|
static int |
SINGLESELECTION
|
static String |
STYLE_SHEET
|
Fields inherited from class planetj.html.HTMLElement |
DISABLED |
Constructor Summary | |
HTMLTable()
Creates a new HTMLTable object and sets its table id to the default. |
|
HTMLTable(String rcId)
Creates a new HTMLTable object and sets its table id. |
|
HTMLTable(String rcId,
String rowId)
Creates a new HTMLTable object and sets its table id. |
Method Summary | |
StringBuffer |
appendBody(RowCollection pRC,
List pFieldNames,
StringBuffer html,
javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse)
|
static StringBuffer |
appendChartLinks(RowCollection rc,
StringBuffer html,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Append links to view charts for given RowCollection. |
StringBuffer |
appendHeader(RowCollection pRC,
List pFieldNames,
StringBuffer html,
javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse)
|
StringBuffer |
appendMagicLinks(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
StringBuffer html,
RowCollection pRC)
|
StringBuffer |
appendMagicRow(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
StringBuffer html,
RowCollection pRC)
|
StringBuffer |
appendMagicRow(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
StringBuffer html,
RowCollection pRC,
boolean generatequicklinks)
|
StringBuffer |
appendMagicRowFunctions(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
StringBuffer html,
RowCollection pRC)
|
StringBuffer |
appendNextPreviousLinks(boolean useExtraText,
javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
StringBuffer html,
RowCollection pRC)
Appends next and previous rows links to the given StringBuffer. |
static StringBuffer |
appendPrintLink(RowCollection rc,
String printURI,
StringBuffer html,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
StringBuffer |
appendRow(int rowNum,
int displayRowNum,
OddEvenFlag oddEvenFlag,
boolean isChildRow,
Row row,
List fieldNames,
StringBuffer html,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
StringBuffer |
appendRow(int rowNum,
int displayRowNum,
OddEvenFlag oddEvenFlag,
Row row,
List fieldNames,
StringBuffer html,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
StringBuffer |
appendRow(int rowNum,
int displayRowNum,
Row row,
List fieldNames,
StringBuffer html,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated. - replaced with appendRow that also takes in an OddEvenFlag object used to determine if the row being generated is odd or even |
StringBuffer |
appendStyleSheet(StringBuffer html)
|
String |
generateTable(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Generates HTML code for this HTMLTable object. |
String |
generateTable(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
RowCollection pRC,
List pFieldNames)
Deprecated. Replaced with generateTable(RowCollection, List, HttpServletRequest, HttpServletResponse) |
String |
generateTable(RowCollection rc,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Generates HTML code for this HTML table using the specified rows (RowCollection). |
String |
generateTable(RowCollection rc,
List names,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Generates HTML code for this HTML table using the given RowCollection. |
int |
getBorder()
Deprecated. |
int |
getCellPadding()
Deprecated. |
int |
getCellSpacing()
Deprecated. |
String |
getCopyLinkText()
|
String |
getCopyURI()
|
String |
getDeleteAllLinkText()
|
String |
getDeleteLinkText()
|
String |
getEditLinkText()
|
String |
getEditURI()
|
List |
getExcludedFieldNames()
|
List |
getFieldNames()
|
int |
getFirstRowIndex()
Returns the mFirstRow. |
int |
getGridWidth()
Deprecated. |
String |
getInsertLinkText()
|
String |
getInsertURI()
|
String |
getInternalPagingText()
Gets the test used with internal paging to tell the user how many records there are |
String |
getNextPreviousJustify()
Insert the method's description here. |
String |
getNoRecordsFoundText()
Gets the text to display when there are no records |
String |
getPrintURI()
|
String |
getRowId()
|
RowCollection |
getRows()
Returns the rows (RowCollection) to the table has for populating its data. |
String |
getRowSelectionJavascript()
Gets the name of the Javascript function to call when a row is selected. |
int |
getRowsToDisplay()
Returns the mRowsToDisplay. |
int |
getSelectionType()
Insert the method's description here. |
String |
getStyleSheetLink()
|
String |
getTableId()
Returns the TableId of the specific table being generated Creation date: (8/5/2003 10:47:40 AM) |
String |
getUpdateLinkText()
|
String |
getURI(javax.servlet.http.HttpServletRequest pRequest)
|
String |
getViewURI()
|
boolean |
isAllowDeleteAllRows()
Deprecated. use isDisplayDeleteAllRows() instead |
boolean |
isAllowMultipleDelete()
|
boolean |
isAllowNextAndPrevious()
Deprecated. use isDisplayNextAndPrevious() instead |
boolean |
isAllowPrint()
Deprecated. use isDisplayPrint() instead |
boolean |
isAllowRowCopy()
Deprecated. use isDisplayRowCopy instead |
boolean |
isAllowViewDetails()
Deprecated. use isDisplayViewDetails() instead |
boolean |
isColumnSortingEnabled()
Deprecated. use isDisplaySortingLinks() instead |
boolean |
isCopyRCToTableLink()
Creation date: (1/23/2002 4:52:01 PM) |
boolean |
isDataOnly()
Return true if only the raw data should be returned for the table. |
boolean |
isDataOnly(javax.servlet.http.HttpServletRequest req)
Return true if only the raw data should be returned for the table. |
boolean |
isDisplayChartLink()
Checks to see if a chart link can be displayed. |
boolean |
isDisplayColumnHeaders()
Tests if the column headers should be displayed |
boolean |
isDisplayDelete()
Tests whether or not the Delete button should be displayed |
boolean |
isDisplayDeleteAllRows()
Tests if the "Delete All" button should be displayed |
boolean |
isDisplayEdit()
Tests if the Edit button should be displayed |
boolean |
isDisplayEditFDs()
Tests if links for editing the field descriptor for columns should be displayed |
boolean |
isDisplayExcelLink()
Tests if a link for viewing the table's contents in Excel should be displayed |
boolean |
isDisplayExcelXlsLink()
Tests if a link for sending contents as Excel file should be displayed |
boolean |
isDisplayGrid()
Tests if the gird spearating cells in the table should be displayed |
boolean |
isDisplayInsert()
Tests if the Insert button should be displayed |
boolean |
isDisplayMagicLinks()
Deprecated. because no one is calling it and isDisplayEditFDs() might return true even if no FD's are being displayed (because they are only displayed when an app is launched from the builder) |
boolean |
isDisplayMSAccessLink()
Tests if a link for exporting the table's contents to MS Access should be displayed |
boolean |
isDisplayMSWordLink()
Tests if a link for viewing the table's contents in MS Word should be displayed |
boolean |
isDisplayNextAndPrevious()
Sets whether or not the "next" and "previous" links to the next and previous RowCollections should be displayed. |
boolean |
isDisplayPDFLink()
Tests if a link for viewing the table's contents as a PDF should be displayed |
boolean |
isDisplayPrint()
Tests if the Print magic link should be displayed |
boolean |
isDisplayRefresh()
Tests if a link for refreshing the table should be displayed |
boolean |
isDisplayRemove()
Tests if the Remove button should be displayed |
boolean |
isDisplayRemoveAll()
Tests whether or not the Remove All button should be displayed |
boolean |
isDisplayRow(Row row)
Determines if the Row should be displayed or not. |
boolean |
isDisplayRowCopy()
Tests whether or not the HTML generated table should include the Copy Row button |
boolean |
isDisplaySortingLinks()
Tests if links for sorting on a column of the table should be displayed |
boolean |
isDisplayUpdateableButton()
This method was added as a temporary fix and should not be used for anything if possible. |
boolean |
isDisplayViewDetails()
Tests if the View Details button should be displayed |
boolean |
isDisplayWhiteSortLinks()
Tests if white sorting links should be used - the default is to use black ones |
boolean |
isDisplayXMLLink()
Tests if a link for viewing the table's contents as XML should be displayed |
boolean |
isEditFDQuickLinkEnabled()
Gets whether or not a quick link can be created to allow to navigation to the FDManager where a field/column's FD can be edited. |
boolean |
isIgnoreRowCollectionProperties()
Check to see if the RowCollection's properties should be ignored when when generating results. |
boolean |
isInsertable()
Tests if the table's contents can be inserted directly from the table. |
boolean |
isInternalPaging()
Tests if we are using internal paging. |
boolean |
isMagicDelete()
Deprecated. use isDisplayDelete() instead |
boolean |
isMagicEdit()
Deprecated. use isDisplayEdit() instead |
boolean |
isMagicEditFDs()
Deprecated. use isDisplayEditFDs() instead |
boolean |
isMagicExcelLink()
Deprecated. use isDisplayExcelLink() instead |
boolean |
isMagicInsert()
Deprecated. use isDisplayInsert() instead |
boolean |
isMagicMSWordLink()
Deprecated. use isDisplayMSWordLink() instead |
boolean |
isMagicPDFLink()
Deprecated. use isDisplayPDFLink() instead |
boolean |
isMagicRefresh()
Deprecated. use isDisplayRefresh() instead |
boolean |
isMagicSortingLinks()
Deprecated. use isDisplaySortingLinks() instead |
boolean |
isMagicXMLLink()
Deprecated. use isDisplayXMLLink() instead |
boolean |
isMultipleSelection()
|
boolean |
isNoSelection()
|
boolean |
isSelectableRecords()
Insert the method's description here. |
boolean |
isShowHeader()
Deprecated. use isDisplayColumnHeaders() instead |
boolean |
isShowRowFunctionsOnLeftSide()
|
boolean |
isShowRowFunctionsOnRightSide()
|
boolean |
isShowSelection()
!!TF by WK (11/7/2002 12:51:44 PM) remove after dynamic generic actions are complete. |
boolean |
isSingleSelection()
|
boolean |
isUpdateable()
Tests if the table's contents can be updated directly from the table. |
boolean |
isUsedDefaultCSS()
Check to see if default results CSS should be included in generation when no request and response are provided. |
boolean |
isUseWhiteSortLinks()
|
boolean |
isWrapHeaders()
Check to see if column headers should be wrapped. |
void |
setAllMagicLinks(boolean onOrOff)
Deprecated. use setAllTableLinks() instead |
void |
setAllowDeleteAllRows(boolean pAllowDeleteAllRows)
Deprecated. use setDisplayDeleteAllRows() instead |
void |
setAllowMultipleDelete(boolean pAllowMultipleDelete)
|
void |
setAllowNextAndPrevious(boolean pAllowNextAndPrevious)
Deprecated. use setDisplayNextAndPrevious() instead |
void |
setAllowPrint(boolean pAllowPrint)
Deprecated. use setDisplayPrint() instead |
void |
setAllowRowCopy(boolean pAllowRowCopy)
Deprecated. use setDisplayRowCopy instead |
void |
setAllowViewDetails(boolean pAllowViewDetails)
Deprecated. use setDisplayViewDetails() instead |
void |
setAllRowFunctions(boolean onOrOff)
Convenience method to turn on or off all row functions |
void |
setAllTableLinks(boolean onOrOff)
Convenience method to turn on or off all the magic links which operate on the contents of the entire table |
void |
setBorder(int newBorder)
Deprecated. |
void |
setCellPadding(int newCellPadding)
Deprecated. |
void |
setCellSpaceing(int newCellSpaceing)
Deprecated. |
void |
setCopyRCToTableLink(boolean newCopyRCToTableLink)
Creation date: (1/23/2002 4:52:01 PM) |
void |
setCopyURI(String copyURI)
|
void |
setDataOnly(boolean dataOnly)
Set true if only the raw data should be returned for the table. |
void |
setDeleteAllLinkText(String pDeleteAllLinkText)
Sets text for delete all button. |
void |
setDeleteLinkText(String pDeleteLinkText)
Sets text for delete button. |
void |
setDisplayChartLink(boolean displayChart)
Sets if a chart link is able to be displayed. |
void |
setDisplayDelete(boolean pDisplayDelete)
Sets whether or not the Delete button should be displayed |
void |
setDisplayDeleteAllRows(boolean pDisplayDeleteAllRows)
Sets if the "Delete All" button should be displayed |
void |
setDisplayEdit(boolean pDisplayEdit)
Sets if the Edit button should be displayed |
void |
setDisplayEditFDs(boolean pDisplayEditFDs)
Sets if links for editing the field descriptor for columns should be displayed |
void |
setDisplayExcelLink(boolean newDisplayExcelLink)
Sets if a link for viewing the table's contents in Excel should be displayed |
void |
setDisplayExcelXlsLink(boolean newDisplayExcelXlsLink)
Sets if a link for sending table's contents as an Excel file should be displayed |
void |
setDisplayGrid(boolean pDisplayGrid)
Sets if the grid separating cells of the table should be displayed |
void |
setDisplayInsert(boolean pDisplayInsert)
Sets if the Insert button should be displayed |
void |
setDisplayMSAccessLink(boolean display)
Tests if a link for exporting the table's contents to MS Access should be displayed |
void |
setDisplayMSWordLink(boolean newDisplayMSWordLink)
Sets if a link for viewing the table's contents in MS Word should be displayed |
void |
setDisplayNextAndPrevious(boolean pDisplayNextAndPrevious)
Sets whether or not the "next" and "previous" links to the next and previous RowCollections should be displayed. |
void |
setDisplayPDFLink(boolean newDisplayPDFLink)
Sets if a link for viewing the table's contents as a PDF should be displayed |
void |
setDisplayPrint(boolean pDisplayPrint)
Sets if the Print magic link should be displayed |
void |
setDisplayRefresh(boolean newDisplayRefresh)
Sets if a link for refreshing the table should be displayed |
void |
setDisplayRemove(boolean remove)
Sets if the Remove button should be displayed |
void |
setDisplayRemoveAll(boolean pRemoveAll)
Sets if the Remove All button should be displayed |
void |
setDisplayRowCopy(boolean pDisplayRowCopy)
Sets if the Copy Row button should be displayed |
void |
setDisplaySortingLinks(boolean newDisplaySortingLinks)
Sets if links for sorting on a column of the table should be displayed |
void |
setDisplayUpdateableButton(boolean displayButton)
This method was added as a temporary fix and should not be used for anything if possible. |
void |
setDisplayViewDetails(boolean pDisplayViewDetails)
Sets if the View Details button should be displayed |
void |
setDisplayWhiteSortLinks(boolean usewhite)
Sets if white sorting links should be displayed - the default is to display black ones |
void |
setDisplayXMLLink(boolean newDisplayXMLLink)
Sets if a link for viewing the table's contents as XML should be displayed |
void |
setEditURI(String pEditURI)
|
void |
setExcludedFieldNames(List names)
|
void |
setFieldNames(List names)
|
void |
setFirstRowIndex(int mFirstRow)
Sets the mFirstRow. |
void |
setGridWidth(int width)
Deprecated. |
void |
setIgnoreRowCollectionProperties(boolean ignore)
Set whether or not to ignore the RowCollection's properties when generating results. |
void |
setInsertable(boolean insertable)
Set table contents to allow or disallow inserting directly from the table. |
void |
setInsertLinkText(String pInsertLinkText)
Sets text for insert button. |
void |
setInsertURI(String pInsertURI)
|
void |
setInternalPagingText(String text)
Sets the test used with internal paging to tell the user how many records there are |
void |
setMagicDelete(boolean pMagicDelete)
Deprecated. Use setDisplayDelete() instead |
void |
setMagicEdit(boolean pMagicEdit)
Deprecated. use setDisplayEdit() instead |
void |
setMagicEditFDs(boolean pMagicEditFDs)
Deprecated. use setDisplayEditFDs() instead |
void |
setMagicExcelLink(boolean newMagicExcelLink)
Deprecated. use setDisplayExcelLink() instead |
void |
setMagicInsert(boolean pMagicInsert)
Deprecated. use setDisplayInsert() instead |
void |
setMagicMSWordLink(boolean newMagicMSWordLink)
Deprecated. use setDisplayMSWordLink() instead |
void |
setMagicPDFLink(boolean newMagicPDFLink)
Deprecated. use setDisplayPDFLink() instead |
void |
setMagicRefresh(boolean newMagicRefresh)
Deprecated. use setDisplayRefresh() instead |
void |
setMagicSortingLinks(boolean newMagicSortingLinks)
Deprecated. use setDisplaySortingLinks() instead |
void |
setMagicXMLLink(boolean newMagicXMLLink)
Deprecated. use setDisplayXMLLink() instead |
void |
setNextPreviousJustify(String newNextPreviousJustify)
|
void |
setNoRecordsFoundText(String text)
Sets the text to display when there are no records |
void |
setPrintURI(String uri)
|
void |
setProperties(ChartSpecificationPG chartSpecs)
Sets any details display properties for this HTML table. |
void |
setProperties(DetailDisplayPropertyGroup properties)
Sets any details display properties for this HTML table. |
void |
setProperties(DisplayColumnsPropertyGroup properties)
Sets any display column properties for this HTML table. |
void |
setProperties(PropertyGroupList pList)
Sets the properties of this HTML table. |
void |
setProperties(TableDisplayPropertyGroup pProperties)
|
void |
setRowCollectionId(String rcId)
|
void |
setRowId(String pRowId)
|
void |
setRows(RowCollection rows)
Sets the rows (RowCollection) to be used in populating the data for the table. |
void |
setRowsAndProperties(RowCollection rc,
javax.servlet.http.HttpServletRequest request)
Sets the rows (RowCollection) to be used in populating the data for the table. |
void |
setRowSelectionJavascript(String newRowSelectionJavascript)
Sets the name of the Javascript function to call when a row is selected. |
void |
setRowsToDisplay(int mRowsToDisplay)
Sets the mRowsToDisplay. |
void |
setSelectableRecords(boolean value)
Insert the method's description here. |
void |
setSelectionType(int newSelectionType)
Insert the method's description here. |
void |
setShowHeader(boolean pShowHeader)
|
void |
setShowRowFunctionsOnLeftSide(boolean onOrOff)
|
void |
setShowRowFunctionsOnRightSide(boolean onOrOff)
|
void |
setShowSelection(boolean newMShowSelection)
!!TF by WK (11/7/2002 12:52:32 PM) remove after dynamic generic actions are complete |
void |
setStyleSheetLink(String pStyleSheetLink)
|
void |
setTableId(String newTableId)
Set table Id where the newTableId is the variable being set to mTableId from the html table Used for excel web query. |
void |
setTableUpdateable(boolean pTableUpdateable)
Deprecated. use setUpdateable() instead |
void |
setUpdateable(boolean pUpdateable)
Sets if the table's contents can be updated directly from the table. |
void |
setUpdateLinkText(String pUpdateLinkText)
Sets text for update button. |
void |
setURI(String pURI)
|
void |
setUsedDefaultCSS(boolean include)
Set whether or not the default results CSS should be included in generation when no request and response are provided. |
void |
setUseWhiteSortLinks(boolean usewhite)
Deprecated. use setDisplayWhiteSortLinks() instead |
void |
setViewLinkText(String pViewLinkText)
Sets text for view button. |
void |
setViewURI(String pViewURI)
|
void |
setWrapHeaders(boolean wrap)
Set whether or not column headers should be wrapped. |
Methods inherited from class planetj.html.HTMLElement |
appendAttribute, appendAttribute, appendExtractableHiddenField, getId, isDisplayField, setId |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String LOCATION_ACTION_ROW_INLINE
public static final int NOSELECTION
public static final int SINGLESELECTION
public static final int MULTIPLESELECTION
public static final String STYLE_SHEET
public static final String className
Constructor Detail |
public HTMLTable()
public HTMLTable(String rcId)
public HTMLTable(String rcId, String rowId)
Method Detail |
public StringBuffer appendBody(RowCollection pRC, List pFieldNames, StringBuffer html, javax.servlet.http.HttpServletRequest pRequest, javax.servlet.http.HttpServletResponse pResponse) throws CMException
CMException
public static StringBuffer appendChartLinks(RowCollection rc, StringBuffer html, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws CMException
CMException
public StringBuffer appendHeader(RowCollection pRC, List pFieldNames, StringBuffer html, javax.servlet.http.HttpServletRequest pRequest, javax.servlet.http.HttpServletResponse pResponse) throws CMException
CMException
public StringBuffer appendMagicLinks(javax.servlet.http.HttpServletRequest pRequest, javax.servlet.http.HttpServletResponse pResponse, StringBuffer html, RowCollection pRC) throws DataEngineException
DataEngineException
public StringBuffer appendMagicRow(javax.servlet.http.HttpServletRequest pRequest, javax.servlet.http.HttpServletResponse pResponse, StringBuffer html, RowCollection pRC) throws DataEngineException
DataEngineException
public StringBuffer appendMagicRow(javax.servlet.http.HttpServletRequest pRequest, javax.servlet.http.HttpServletResponse pResponse, StringBuffer html, RowCollection pRC, boolean generatequicklinks) throws DataEngineException
DataEngineException
public StringBuffer appendMagicRowFunctions(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, StringBuffer html, RowCollection pRC)
public StringBuffer appendNextPreviousLinks(boolean useExtraText, javax.servlet.http.HttpServletRequest pRequest, javax.servlet.http.HttpServletResponse pResponse, StringBuffer html, RowCollection pRC)
public static StringBuffer appendPrintLink(RowCollection rc, String printURI, StringBuffer html, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public StringBuffer appendRow(int rowNum, int displayRowNum, Row row, List fieldNames, StringBuffer html, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws CMException
CMException
public StringBuffer appendRow(int rowNum, int displayRowNum, OddEvenFlag oddEvenFlag, Row row, List fieldNames, StringBuffer html, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws CMException
CMException
public StringBuffer appendRow(int rowNum, int displayRowNum, OddEvenFlag oddEvenFlag, boolean isChildRow, Row row, List fieldNames, StringBuffer html, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws CMException
CMException
public StringBuffer appendStyleSheet(StringBuffer html)
public String generateTable(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws CMException
request
- HttpServletRequestresponse
- HttpServletResponse
CMException
public String generateTable(javax.servlet.http.HttpServletRequest pRequest, javax.servlet.http.HttpServletResponse pResponse, RowCollection pRC, List pFieldNames) throws CMException
CMException
public String generateTable(RowCollection rc, List names, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws CMException
rc
- RowCollection to generate HTML fornames
- list of names of columns to generaterequest
- HttpServletRequest from clientresponse
- HttpServletResponse to client
CMException
public String generateTable(RowCollection rc, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws CMException
CMException
public int getBorder()
public int getCellPadding()
public int getCellSpacing()
public String getCopyLinkText()
public String getCopyURI()
public String getDeleteAllLinkText()
public String getDeleteLinkText()
public String getEditLinkText()
public String getEditURI()
public List getExcludedFieldNames()
public List getFieldNames()
public int getFirstRowIndex()
public int getGridWidth()
public String getInsertLinkText()
public String getInsertURI()
public String getInternalPagingText()
public String getNextPreviousJustify()
public String getNoRecordsFoundText()
public String getPrintURI()
public String getRowId()
public RowCollection getRows()
public String getRowSelectionJavascript()
public int getRowsToDisplay()
public int getSelectionType()
public String getStyleSheetLink()
public String getTableId()
public String getUpdateLinkText()
public String getURI(javax.servlet.http.HttpServletRequest pRequest)
public String getViewURI()
public boolean isAllowDeleteAllRows()
public boolean isAllowMultipleDelete()
public boolean isAllowNextAndPrevious()
public boolean isAllowPrint()
public boolean isAllowRowCopy()
public boolean isAllowViewDetails()
public boolean isColumnSortingEnabled()
public boolean isCopyRCToTableLink()
public boolean isDataOnly()
public boolean isDataOnly(javax.servlet.http.HttpServletRequest req)
public boolean isDisplayChartLink()
public boolean isDisplayColumnHeaders()
public boolean isDisplayDelete()
public boolean isDisplayDeleteAllRows()
public boolean isDisplayEdit()
public boolean isDisplayEditFDs()
public boolean isDisplayExcelLink()
public boolean isDisplayExcelXlsLink()
public boolean isDisplayGrid()
public boolean isDisplayInsert()
public boolean isDisplayMagicLinks() throws DataEngineException
DataEngineException
public boolean isDisplayMSAccessLink()
public boolean isDisplayMSWordLink()
public boolean isDisplayNextAndPrevious()
public boolean isDisplayPDFLink()
public boolean isDisplayPrint()
public boolean isDisplayRefresh()
public boolean isDisplayRemove()
public boolean isDisplayRemoveAll()
public boolean isDisplayRow(Row row)
public boolean isDisplayRowCopy()
public boolean isDisplaySortingLinks()
public boolean isDisplayUpdateableButton()
public boolean isDisplayViewDetails()
public boolean isDisplayWhiteSortLinks()
public boolean isDisplayXMLLink()
public boolean isEditFDQuickLinkEnabled()
public boolean isIgnoreRowCollectionProperties()
public boolean isInsertable()
public boolean isInternalPaging()
public boolean isMagicDelete()
public boolean isMagicEdit()
public boolean isMagicEditFDs()
public boolean isMagicExcelLink()
public boolean isMagicInsert()
public boolean isMagicMSWordLink()
public boolean isMagicPDFLink()
public boolean isMagicRefresh()
public boolean isMagicSortingLinks()
public boolean isMagicXMLLink()
public boolean isMultipleSelection()
public boolean isNoSelection()
public boolean isSelectableRecords()
public boolean isShowHeader()
public boolean isShowRowFunctionsOnLeftSide()
public boolean isShowRowFunctionsOnRightSide()
public boolean isShowSelection()
public boolean isSingleSelection()
public boolean isUpdateable()
public boolean isUsedDefaultCSS()
public boolean isUseWhiteSortLinks()
public boolean isWrapHeaders()
public void setAllMagicLinks(boolean onOrOff)
public void setAllowDeleteAllRows(boolean pAllowDeleteAllRows)
public void setAllowMultipleDelete(boolean pAllowMultipleDelete)
public void setAllowNextAndPrevious(boolean pAllowNextAndPrevious)
public void setAllowPrint(boolean pAllowPrint)
public void setAllowRowCopy(boolean pAllowRowCopy)
public void setAllowViewDetails(boolean pAllowViewDetails)
public void setAllRowFunctions(boolean onOrOff)
public void setAllTableLinks(boolean onOrOff)
public void setBorder(int newBorder)
public void setCellPadding(int newCellPadding)
public void setCellSpaceing(int newCellSpaceing)
public void setCopyRCToTableLink(boolean newCopyRCToTableLink)
newCopyRCToTableLink
- booleanpublic void setCopyURI(String copyURI)
public void setDataOnly(boolean dataOnly)
public void setDeleteAllLinkText(String pDeleteAllLinkText)
public void setDeleteLinkText(String pDeleteLinkText)
public void setDisplayChartLink(boolean displayChart)
public void setDisplayDelete(boolean pDisplayDelete)
public void setDisplayDeleteAllRows(boolean pDisplayDeleteAllRows)
public void setDisplayEdit(boolean pDisplayEdit)
public void setDisplayEditFDs(boolean pDisplayEditFDs)
public void setDisplayExcelLink(boolean newDisplayExcelLink)
public void setDisplayExcelXlsLink(boolean newDisplayExcelXlsLink)
public void setDisplayGrid(boolean pDisplayGrid)
public void setDisplayInsert(boolean pDisplayInsert)
public void setDisplayMSAccessLink(boolean display)
public void setDisplayMSWordLink(boolean newDisplayMSWordLink)
public void setDisplayNextAndPrevious(boolean pDisplayNextAndPrevious)
public void setDisplayPDFLink(boolean newDisplayPDFLink)
public void setDisplayPrint(boolean pDisplayPrint)
public void setDisplayRefresh(boolean newDisplayRefresh)
public void setDisplayRemove(boolean remove)
public void setDisplayRemoveAll(boolean pRemoveAll)
public void setDisplayRowCopy(boolean pDisplayRowCopy)
public void setDisplaySortingLinks(boolean newDisplaySortingLinks)
public void setDisplayUpdateableButton(boolean displayButton)
public void setDisplayViewDetails(boolean pDisplayViewDetails)
public void setDisplayWhiteSortLinks(boolean usewhite)
public void setDisplayXMLLink(boolean newDisplayXMLLink)
public void setEditURI(String pEditURI)
public void setExcludedFieldNames(List names)
public void setFieldNames(List names)
public void setFirstRowIndex(int mFirstRow)
mFirstRow
- The mFirstRow to setpublic void setGridWidth(int width)
public void setIgnoreRowCollectionProperties(boolean ignore)
ignore
- flag to indicate if RowCollection properties
are ignored when generating resultspublic void setInsertable(boolean insertable)
public void setInsertLinkText(String pInsertLinkText)
public void setInsertURI(String pInsertURI)
public void setInternalPagingText(String text)
public void setMagicDelete(boolean pMagicDelete)
public void setMagicEdit(boolean pMagicEdit)
public void setMagicEditFDs(boolean pMagicEditFDs)
public void setMagicExcelLink(boolean newMagicExcelLink)
public void setMagicInsert(boolean pMagicInsert)
public void setMagicMSWordLink(boolean newMagicMSWordLink)
public void setMagicPDFLink(boolean newMagicPDFLink)
public void setMagicRefresh(boolean newMagicRefresh)
public void setMagicSortingLinks(boolean newMagicSortingLinks)
public void setMagicXMLLink(boolean newMagicXMLLink)
public void setNextPreviousJustify(String newNextPreviousJustify)
public void setNoRecordsFoundText(String text)
public void setPrintURI(String uri)
public void setProperties(ChartSpecificationPG chartSpecs)
public void setProperties(DetailDisplayPropertyGroup properties)
public void setProperties(DisplayColumnsPropertyGroup properties)
public void setProperties(TableDisplayPropertyGroup pProperties)
public void setProperties(PropertyGroupList pList)
public void setRowCollectionId(String rcId)
public void setRowId(String pRowId)
public void setRows(RowCollection rows)
rows
- RowCollectionpublic void setRowsAndProperties(RowCollection rc, javax.servlet.http.HttpServletRequest request)
public void setRowSelectionJavascript(String newRowSelectionJavascript)
public void setRowsToDisplay(int mRowsToDisplay)
mRowsToDisplay
- The mRowsToDisplay to setpublic void setSelectableRecords(boolean value)
value
- booleanpublic void setSelectionType(int newSelectionType)
newSelectionType
- intpublic void setShowHeader(boolean pShowHeader)
public void setShowRowFunctionsOnLeftSide(boolean onOrOff)
public void setShowRowFunctionsOnRightSide(boolean onOrOff)
public void setShowSelection(boolean newMShowSelection)
public void setStyleSheetLink(String pStyleSheetLink)
public void setTableId(String newTableId)
public void setTableUpdateable(boolean pTableUpdateable)
public void setUpdateable(boolean pUpdateable)
public void setUpdateLinkText(String pUpdateLinkText)
public void setURI(String pURI)
public void setUsedDefaultCSS(boolean include)
include
- true if default CSS should be included in generation; false
otherwisepublic void setUseWhiteSortLinks(boolean usewhite)
public void setViewLinkText(String pViewLinkText)
public void setViewURI(String pViewURI)
public void setWrapHeaders(boolean wrap)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |