***  This package contains classes that are subject to change.  ***

Note:
Extension of the classes in this package is prohibited unless otherwise documented. Similarly, extension or implementation of the interfaces in this package is prohibited except as documented.

Package com.sas.servlet.tbeans.tableview

Provides the base classes and interfaces used to generate a table of data for a given data model.

See:
          Description

Interface Summary
ExportAsHyperlinkInterface To support exporting to Excel as hyperlinks the values of the data items that have the "Display as a hyperlink" attribute set to yes in the Information Map
TableCell This interface defines the methods required for a TableView cell.
TableCellContentsEditor This interface defines the methods required by any object that would like to edit the contents of a cell of a TableView.
TableCellContentsRenderer This interface defines the methods required by any object that would like to renderer the contents of a cell of a TableView.
TableCellEditor This interface defines the methods required by any object that would like to be an editor for cells in a TableView.
TableCellRenderer This interface defines the methods required by any object that would like to be a renderer for cells in a TableView.
TableColumnModel Defines the requirements for a table column model object suitable for use with TableView.
TableColumnModelListener TableColumnModelListener defines the interface for an object that listens to changes in a TableColumnModel.
TableRowModel Defines the requirements for a TableRowModel object suitable for use with a TableView.
TableRowRenderer This interface defines the methods required by any object that would like to renderer the begin and end row tags for a TableView.
 

Class Summary
AbstractBaseTableView The abstract Transformation Bean base object for creating any TableView.
BaseColumnHeader A ColumnHeader manages the column header area of the TableView.
BaseHeader A template to use for column and row headers for a TableView.
BaseRowHeader A RowHeader manages the row headers of the TableView.
BaseTableView The base abstract Transformation Bean for creating a 2-dimensional Table.
BaseTableViewHelper  
DefaultTableColumnModel The standard column-handler for a TableView.
DefaultTableRowModel The standard row-handler for a TableView.
HttpEditController Interface for implementing controllers to assist html tables in editing.
HttpHoldColumnSupport Concrete extension of HoldColumnSupport for HTTP.
TableColumn A TableColumn provides slots for a renderer and an editor that can be used to display and edit the cells in this column.
TableColumnModelEvent TableColumnModelEvent is used to notify listeners that a TableColumnModel has changed.
TableViewActionSupportFilter Specialized ActionSupportFilter class for the TableView component to use when querying the HttpActionProvider for actions.
 

Package com.sas.servlet.tbeans.tableview Description

Provides the base classes and interfaces used to generate a table of data for a given data model.

OVERVIEW

The TableView package contains the base classes and interfaces necessary to produce a web based relational table. The TableView requires a data model that implements javax.swing.table.TableModel. The TableView also consists of several different parts, including:


PRIMARY CLASSES

BaseTableView
This is the base class for creating a web based relational TableView. The BaseTableView using a column model along with the data model to determine which columns to display. The BaseTableView has setCellRenderer and setCellEditor methods which allow a way to set cell renderers and editors on a per cell basis.
DefaultTableColumnModel
The column model works as a map between the TableView and the data model. The column model determines which column and in what order they will appear in the TableView. The colum model contains a TableColumn for each column in the data model that will be visible in the TableView.
TableColumn
The TableColumn provides a slot for holding an identifier or "tag" for each column, and the TableView and TableColumnModel both support getColumn(Object id) conveniences for locating columns by their identifier. If no identifier is explicitly set, the TableColumn returns its header value (the name of the column) as a default. A different identifier, which can be of any type, can be set using the TableColumn's setIdentifier method. All of the TableView's functions operate correctly regardless of the type and uniqueness of these identifiers. To specify a custom column (i.e. a column that is not in the TableModel), set the TableColumn's modelIndex to -1.
DefaultTableRowModel
This class contains the row renderer needed to render the begin and end tags for each row in the TableView. It also contains the cell renderer needed to render the row header cells.
TableRowRenderer
The row renderer is responsible for renderer the appropriate markup language tags used to represent the begin and end tags for a row in the TableView.
BaseRowHeader
Contains the default cell renderer to use when no rowHeaderRenderer is defined on the TableView's TableRowModel.
BaseColumnHeader
Contains the default cell renderer to use when no headerRenderer is defined by a TableColumn.
TableCell
The interface used to define a cell renderer or editor.
TableCellRenderer
A cell renderer is responsible for rendering a cell in the TableView when displaying the contents of the data model. The cell renderer will generate the begin and end tags of a cell in the appropriate markup language. The cell renderer contains an instance of a TableCellContentsRenderer which assists in rendering the entire table cell.
TableCellEditor
A cell editor is responsible for rendering a cell in the TableView when editing a cell from the data model. The cell editor will generate the begin and end tags of a cell in the appropriate markup language. The cell editor contains an instance of a TableCellContentsEditor which assists in rendering the entire table cell.
TableCellContentsRenderer
A cell contents renderer is responsible for rendering just the contents of a cell in the TableView. A cell contents renderer can be used to display the contents as a label, an image, or any other type of visual component in the given markup language.
TableCellContentsEditor
A cell contents editor is responsible for rendering just the contents of a cell in the TableView. A cell contents renderer will generate a control that can be used to modify the contents of the data model. A cell contents renderer could generate a text entry, a choicebox, or any other type of visual component in the given markup language.

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/.

Examples for this class may be found on the Examples Site. You will initially see a subset of examples relating to the TableView classes. You can search for others as needed.

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.


***  This package contains classes that are subject to change.  ***

Note:
Extension of the classes in this package is prohibited unless otherwise documented. Similarly, extension or implementation of the interfaces in this package is prohibited except as documented.



Copyright © 2009 SAS Institute Inc. All Rights Reserved.