wt.templateutil.table
Interface HTMLTableColumnModel

All Known Implementing Classes:
DefaultHTMLTableColumnModel, HTMLTable

public interface HTMLTableColumnModel

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.

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
 void addColumn(HTMLTableColumn newColumn)
          Deprecated.  
 HTMLTableColumn getColumn(int index)
          Deprecated.  
 HTMLTableColumn getColumn(Object identifier)
          Deprecated.  
 int getColumnCount()
          Deprecated.  
 int getColumnIndex(Object columnIdentifier)
          Deprecated.  
 Enumeration getColumns()
          Deprecated.  
 void moveColumn(int oldIndex, int newIndex)
          Deprecated.  
 void removeColumn(int index)
          Deprecated.  
 

Method Detail

addColumn

public void addColumn(HTMLTableColumn newColumn)
Deprecated.  

Adds a column to the HTMLTableModel.

Supported API: true

Parameters:
newColumn -

getColumn

public HTMLTableColumn getColumn(int index)
Deprecated.  

Get the HTMLTableColumn object at column position index.

Supported API: true

Parameters:
index -
Returns:
HTMLTableColumn

getColumn

public HTMLTableColumn getColumn(Object identifier)
Deprecated.  

Get the HTMLTableColumn object with an identifier equal to the parameter identifier.

Supported API: true

Parameters:
identifier -
Returns:
HTMLTableColumn

getColumnCount

public int getColumnCount()
Deprecated.  

Returns the current number of columns set to be displayed by the HTMLTable

Supported API: true

Returns:
int

moveColumn

public 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

public 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

public int getColumnIndex(Object columnIdentifier)
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

public Enumeration getColumns()
Deprecated.  

Returns an enumeration of the HTMLTableColumns to be displayed by the HTMLTable.

Supported API: true

Returns:
Enumeration