wt.templateutil.table
Class RowDataTableModel

java.lang.Object
  extended by wt.templateutil.table.RowDataTableModel
All Implemented Interfaces:
TableModel, AddColumn, ColumnIdentifier, TableHeaderSetter, TableModelStub
Direct Known Subclasses:
TreeTableModel

Deprecated.

public class RowDataTableModel
extends Object
implements TableModelStub, AddColumn, TableHeaderSetter

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.

Supported API: true

Extendable: false


Method Summary
 void addColumn(Properties props)
          Deprecated.  
 void addTableModelListener(TableModelListener l)
          Deprecated.  
 Class getColumnClass(int columnIndex)
          Deprecated.  
 int getColumnCount()
          Deprecated.  
 String getColumnName(int columnIndex)
          Deprecated.  
 String getColumnName(String attribute)
          Deprecated.  
 Object getIdentifier(int columnIndex)
          Deprecated.  
 int getRowCount()
          Deprecated.  
 Vector getRowDataObjects()
          Deprecated.  
 Vector getTableColumns()
          Deprecated.  
 Object getValueAt(int rowIndex, int columnIndex)
          Deprecated.  
 boolean isCellEditable(int rowIndex, int columnIndex)
          Deprecated.  
 void removeTableModelListener(TableModelListener l)
          Deprecated.  
 void setHeaderFromResource(String resourceBundleName, String resourceBundleKey, Object columnId)
          Deprecated.  
 void setHeaderFromTargetClass(String targetClassName, Object columnId)
          Deprecated.  
 void setLocale(Locale newLocale)
          Deprecated.  
 void setRowDataObjects(Vector a_RowDataObjects)
          Deprecated.  
 void setTableColumns(Vector a_TableColumns)
          Deprecated.  
 void setValueAt(Object value, int rowIndex, int columnIndex)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRowDataObjects

public Vector getRowDataObjects()
Deprecated. 

Gets the value of the attribute: rowDataObjects; rowDataObjects holds the list of objects that represents the table row.

Supported API: true

Returns:
Vector

setRowDataObjects

public void setRowDataObjects(Vector a_RowDataObjects)
Deprecated. 

Sets the value of the attribute: rowDataObjects; rowDataObjects holds the list of objects that represents the table row.

Supported API: true

Parameters:
a_RowDataObjects -

getTableColumns

public Vector getTableColumns()
Deprecated. 

Gets the value of the attribute: tableColumns; tableColumn holds list of names (attributes) that represent the columns

Supported API: true

Returns:
Vector

setTableColumns

public void setTableColumns(Vector a_TableColumns)
Deprecated. 

Sets the value of the attribute: tableColumns; tableColumn holds list of names (attributes) that represent the columns

Supported API: true

Parameters:
a_TableColumns -

addTableModelListener

public void addTableModelListener(TableModelListener l)
Deprecated. 



Supported API: true

Specified by:
addTableModelListener in interface TableModel
Specified by:
addTableModelListener in interface TableModelStub
Parameters:
l -

getColumnClass

public Class getColumnClass(int columnIndex)
Deprecated. 



Supported API: true

Specified by:
getColumnClass in interface TableModel
Specified by:
getColumnClass in interface TableModelStub
Parameters:
columnIndex -
Returns:
Class

getColumnCount

public int getColumnCount()
Deprecated. 



Supported API: true

Specified by:
getColumnCount in interface TableModel
Specified by:
getColumnCount in interface TableModelStub
Returns:
int

getColumnName

public String getColumnName(int columnIndex)
Deprecated. 

Returns name of the HTML table column for the column index passed in as input parameter.

Supported API: true

Specified by:
getColumnName in interface TableModel
Specified by:
getColumnName in interface TableModelStub
Parameters:
columnIndex -
Returns:
String

getRowCount

public int getRowCount()
Deprecated. 



Supported API: true

Specified by:
getRowCount in interface TableModel
Specified by:
getRowCount in interface TableModelStub
Returns:
int

getValueAt

public Object getValueAt(int rowIndex,
                         int columnIndex)
Deprecated. 



Supported API: true

Specified by:
getValueAt in interface TableModel
Specified by:
getValueAt in interface TableModelStub
Parameters:
rowIndex -
columnIndex -
Returns:
Object

isCellEditable

public boolean isCellEditable(int rowIndex,
                              int columnIndex)
Deprecated. 



Supported API: true

Specified by:
isCellEditable in interface TableModel
Specified by:
isCellEditable in interface TableModelStub
Parameters:
rowIndex -
columnIndex -
Returns:
boolean

removeTableModelListener

public void removeTableModelListener(TableModelListener l)
Deprecated. 



Supported API: true

Specified by:
removeTableModelListener in interface TableModel
Specified by:
removeTableModelListener in interface TableModelStub
Parameters:
l -

setValueAt

public void setValueAt(Object value,
                       int rowIndex,
                       int columnIndex)
Deprecated. 



Supported API: true

Specified by:
setValueAt in interface TableModel
Specified by:
setValueAt in interface TableModelStub
Parameters:
value -
rowIndex -
columnIndex -

addColumn

public void addColumn(Properties props)
               throws WTException
Deprecated. 

Adds a new Column to the TableModel. The Properties object can be used to pass in information regarding adding the new column to the TableModel. In the case of the addColumn method in the BasicTableService, the Properties are the name/value pairs that were passed in the Windchill script call.

Supported API: true

Specified by:
addColumn in interface AddColumn
Parameters:
props -
Throws:
WTException

getIdentifier

public Object getIdentifier(int columnIndex)
Deprecated. 

Returns the name/handle of the column at columnIndex.

Supported API: true

Specified by:
getIdentifier in interface ColumnIdentifier
Parameters:
columnIndex -
Returns:
Object

setHeaderFromResource

public void setHeaderFromResource(String resourceBundleName,
                                  String resourceBundleKey,
                                  Object columnId)
Deprecated. 

Sets the value returned from the getColumnName method for the column with name/handle columnId to be the localized String returned for the resource key, resourceBundleKey, from the resource bundle, resourceBundleName.

This is a convenience method to allow overriding the either the display name for an attribute or to allow setting the title on a column when the name/handle of the column is not an attribute of the BinaryLink or OtherSide object.

Supported API: true

Specified by:
setHeaderFromResource in interface TableHeaderSetter
Parameters:
resourceBundleName -
resourceBundleKey -
columnId -

setHeaderFromTargetClass

public void setHeaderFromTargetClass(String targetClassName,
                                     Object columnId)
Deprecated. 

Sets the class that introspection is done on when the name/handle of the column is used to define the Column Name.

Supported API: true

Specified by:
setHeaderFromTargetClass in interface TableHeaderSetter
Parameters:
targetClassName -
columnId -

setLocale

public void setLocale(Locale newLocale)
Deprecated. 

Sets the value of the attribute: locale; locale holds user locale information.

Supported API: true

Parameters:
newLocale -

getColumnName

public String getColumnName(String attribute)
Deprecated. 

Returns name of the HTML table column for the attribute name passed in as input parameter.

Supported API: true

Parameters:
attribute -
Returns:
String