Method Summary |
|
public void | add(HtmlComponent comp, int type) |
public void | addPropertyExpression(Object comp, String propertyName, DataStoreEvaluator expEval) The propExpression will be evaluated by the evaluated for each row in the DataStore and the set method for the specified property will be called on the specified object.
Parameters: comp - The component to set the property for Parameters: propertyName - The name of the property to set. |
public void | addPropertyExpression(Object comp, String propertyName, DataStoreExpression propExpression) This method will add a property expression to the HtmlDataTable.
The propExpression will be evaluated for each row in the DataStore and the set method for the specified property will be called on the specified object.
Parameters: comp - The component to set the property for Parameters: propertyName - The name of the property to set. |
public void | addPropertyExpression(Object comp, String propertyName, String expression) The propExpression will be evaluated for each row in the DataStore and the set method for the specified property will be called on the specified object.
Parameters: comp - The component to set the property for Parameters: propertyName - The name of the property to set. |
public void | clearPropertyExpressions() |
public boolean | executeEvent(int eventType) |
public HtmlComponent | findSortComponent(HtmlComponent sortComp) This method will find a component suitable for sorting (an html for component attached to a datastore) inside the passed component. |
public void | flipColor() This method should not be called directly. |
public void | generateHTML(TagWriter t, String content) Generates the HTML for the component. |
public void | generateImage(String img, OutputStream out) |
public String | generateNextTDName(int colSpan, int type) This method should not be called directly. |
public String | generateNextTRName(int type) This method should not be called directly. |
public boolean | getAlwaysShowGroupFooter() |
public int | getBorder() Gets the border thickness for the table. |
public String | getBorderColor() Gets the background color for the table. |
public int[] | getBreakColumns() Returns an array of column numbers used for control breaks. |
public long | getCacheKey() |
public int | getCellPadding() Gets the cell padding for the table. |
public int | getCellSpacing() Gets the cell spacing for the table. |
public boolean | getClickSort() |
public int | getCols() Sets the cell padding for the table. |
public String | getCurrentRowBackgroundColor() This method should not be called directly. |
public String | getCurrentRowStyleClassName() This method should not be called directly. |
public DataStoreBuffer | getDataStoreBuffer() Returns the DataStoreBuffer attached to this component. |
public boolean | getDidSubmit() This method returns true if the datatable did the last submit of the page through a sort or clicking on a paging button. |
public int | getFirstRowOnPage() Returns the first row on the page displayed in the datatable. |
public boolean | getGenTHeadAndBody() |
public String | getGroupBy() Returns the GroupBy string initialized by the JSP. |
public int | getHSpace() Gets the horizontal margin for the table. |
public String | getHeaderTDNameForRow(String name) This method should not be called directly. |
public String | getHeadingBackgroundColor() This method returns the background color for the heading of the Data Table. |
public String | getHeadingStyleClassName() |
public String | getHeight() |
public int | getLastRenderedRow() |
public int | getMaxPageButtons() This method gets the maximum number of paging buttons to display. |
public int | getMaxPagingButtons() Sets the maximum number of paging buttons for the table. |
public int | getMaxTDColumns() This method should not be called directly. |
public String | getNextRowBackgroundColor() |
public int | getPage(int row) This method returns the page the row is on. |
public int | getPageButtonType() Gets the type of paging buttons for the data table. |
public Color | getPagingButtonBackgroundColor() |
public Color | getPagingButtonBottomRightColor() |
public String | getPagingButtonDisplayStyle() This method gets the Display Style for a generated page button image. |
public Font | getPagingButtonFont() |
public int | getPagingButtonHeight() |
public Color | getPagingButtonTextColor() |
public String | getRowBackgroundColor1() |
public String | getRowBackgroundColor2() |
public HtmlRowHighlighter | getRowHighlighter() |
public String | getRowStyleClassName1() |
public String | getRowStyleClassName2() |
public int | getRowsPerPage() This method gets the number of rows to display on one page of output. |
public String | getScrollAnchor() This method gets the anchor to scroll to when a paging button on the table is clicked. |
public boolean | getScrollOnClickSort() Gets whether the datastore will build scrolling javascript when the user clicks on a column heading to sort or a paging button. |
public boolean | getSelRowsPerPage() Returns true if rows per page selector is visible. |
public int | getSortColumn() This method returns the number of the last column that the user clicked on to sort the list. |
public int | getSortDirection() This method returns the direction of the sort set when the user last clicked a column heading to sort the list. |
public boolean | getUseCache() |
public int | getVSpace() Gets the vertical margin for the table. |
public String | getWidth() |
public void | initColor() This method should not be called directly. |
public boolean | isRowOnPage(int row) This method returns true if the specified row is on the current page. |
public boolean | processParms(Hashtable parms, int rowNo) |
public void | processPropertyExpressions(int row) |
public void | resetCounters() This method should not be called directly. |
public void | setAlign(String newAlign) Sets the alignment for the Data Table. |
public void | setAlwaysShowGroupFooter(boolean alwaysShowGroupFooter) |
public void | setBackgroundColor(String value) Sets the background color for the table. |
public void | setBaseClickSort(String column, int dir) This method will set the base click sort column for the datastore. |
public void | setBorder(int border) Sets the border width for the table. |
public void | setBorderColor(String value) Sets the background color for the table. |
public void | setBreakColumns(int[] cols) Use this method to set the columns that the Data Table will control break on. |
public void | setBreakColumns(String[] cols) Use this method to set the columns that the Data Table will control break on. |
public void | setBreakColumns(int col) Use this method to set the columns that the Data Table will control break on. |
public void | setBreakColumns(String col) Use this method to set the columns that the Data Table will control break on. |
public void | setCacheKey(long key) This method is used by the framework to decide whether or not to generate the image or get it from cache. |
public void | setCellPadding(int value) Sets the cell padding for the table. |
public void | setCellSpacing(int value) Sets the cell spacing for the table. |
public void | setClickSort(boolean newClickSort) |
public void | setCols(int value) Sets the number of columns for the table. |
public void | setDataStoreBuffer(DataStoreBuffer ds) Set the datastore buffer that will be used to generate the table. |
public void | setFirstRowOnPage(int firstRowOnPage) This method sets the first row displayed on the current page. |
public void | setGenTHeadAndBody(boolean genTHeadAndBody) |
public void | setGroupBy(java.lang.String newGroupBy) Sets the groupby string for the datatable. |
public void | setHSpace(int val) Sets the horizontal margin for the table. |
public void | setHeadingBackgroundColor(String value) |
public void | setHeadingStyleClassName(String string) |
public void | setHeight(String val) |
public void | setLastRenderedRow(int lastRenderedRow) |
public void | setMaxPageButtons(int max) This method sets the maximum number of paging buttons to display. |
public void | setMaxPagingButtons(int max) Sets the maximum number of paging buttons for the table. |
public void | setMaxTDColumns(int cols) This method should not be called directly. |
public void | setPage(int page) This method will scroll to the first row on the current selected page
It also adjusts the _firstSubmitButton to correctly set up the page
range below the table. |
public void | setPageButtonType(int type) Sets the type of paging buttons for the data table. |
public void | setPageSelectRenderer(DataTablePageSelectRenderer r) |
public void | setPageSelectRenderer(String r) |
public void | setPagingButtonBackgroundColor(Color c) |
public void | setPagingButtonBottomRightColor(Color c) |
public void | setPagingButtonDisplayStyle(String style) This method sets the Display Style for a generated image button. |
public void | setPagingButtonFont(Font f) This method sets the font used for dynamically generated page button images. |
public void | setPagingButtonHeight(int height) |
public void | setRowBackgroundColor1(String value) |
public void | setRowBackgroundColor2(String value) |
public void | setRowHighlighter(HtmlRowHighlighter rowHighlighter) Parameters: Framework - method, do not call directly. |
public void | setRowStyleClassName1(String string) |
public void | setRowStyleClassName2(String string) |
public void | setRowsPerPage(int rowsPerPage) This method sets the number of rows to display on one page of output. |
public void | setRowsPerPageRenderer(DataTableRowsPerPageRenderer r) |
public void | setRowsPerPageRenderer(String r) |
public void | setScrollAnchor(String anchor) This method sets the anchor to scroll to when a paging button on the table is clicked. |
public void | setScrollOnClickSort(boolean scroll) Sets whether the datastore will build scrolling javascript when the user clicks on a column heading to sort or a paging button. |
public void | setSelRowsPerPage(boolean sel) Sets whether rows per page selector is visible. |
public void | setTheme(String theme) This method sets the property theme for the component. |
public void | setVSpace(int val) Sets the vertical margin for the table. |
public void | setWidth(String val) |
public void | updateLocale() |