Package wt.templateutil.table
Interface HTMLTableColumnModel
- All Known Implementing Classes:
DefaultHTMLTableColumnModel,HTMLTable,PDMLinkHTMLTable,WTHtmlTable
public interface HTMLTableColumnModel
Deprecated.
Deprecation Notice: This class is still valid for this release, however
this serves as advance notice that it will be removed in the future.
All user interfaces built using the Windchill HTML Template Processing
client architecture will be rewritten using a different framework in
an upcoming release.
This is the interface that all TableColumnModel objects need to implement to work with HTMLTable.
This is the interface that all TableColumnModel objects need to implement to work with HTMLTable.
The role of HTMLTableColumnModel implementors to keep track of what
columns in the TableModel to present and what order to present them.
The HTMLTableColumnModel also keeps track of the HTMLTableColumns
that are used to help render the TableModel columns.
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddColumn(HTMLTableColumn newColumn) Deprecated.getColumn(int index) Deprecated.Deprecated.intDeprecated.intgetColumnIndex(Object columnIdentifier) Deprecated.Deprecated.voidmoveColumn(int oldIndex, int newIndex) Deprecated.voidremoveColumn(int index) Deprecated.
-
Method Details
-
addColumn
Deprecated.Adds a column to the HTMLTableModel.
Supported API: true- Parameters:
newColumn-
-
getColumn
Deprecated.Get the HTMLTableColumn object at column position index.
Supported API: true- Parameters:
index-- Returns:
- HTMLTableColumn
-
getColumn
Deprecated.Get the HTMLTableColumn object with an identifier equal to the parameter identifier.
Supported API: true- Parameters:
identifier-- Returns:
- HTMLTableColumn
-
getColumnCount
int getColumnCount()Deprecated.Returns the current number of columns set to be displayed by the HTMLTable
Supported API: true- Returns:
- int
-
moveColumn
void moveColumn(int oldIndex, int newIndex) Deprecated.Move the column with the display position of oldIndex to the display position of newIndex. The action taken on the column at newIndex is up to the implementation.
Supported API: true- Parameters:
oldIndex-newIndex-
-
removeColumn
void removeColumn(int index) Deprecated.Remove the column at display position index from the HTMLTableColumnModel. All of the columns behind the deleted column are moved forwards one position.
Supported API: true- Parameters:
index-
-
getColumnIndex
Deprecated.Returns the index of the column in the TableModel that corresponds to the column in the HTMLTableColumnModel with the identifier equal to columnIdentifier.
Supported API: true- Parameters:
columnIdentifier-- Returns:
- int
-
getColumns
Enumeration getColumns()Deprecated.Returns an enumeration of the HTMLTableColumns to be displayed by the HTMLTable.
Supported API: true- Returns:
- Enumeration
-