wt.templateutil.table
Class IconTableColumn

java.lang.Object
  extended bywt.templateutil.table.HTMLTableColumn
      extended bywt.templateutil.table.IconTableColumn

public class IconTableColumn
extends HTMLTableColumn

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. Custom HTMLTableColumn that provides its own CellComponent and also sets the Header properties to accomodate its custom set up. It is the First column in most of the Tables in the HTML client.

The HTML component that is used by the IconTableColumn to render the cells in its column is the IconFirstCellComponent. This HTML component presents a single "logical" cell that is actually two HTML table cells. The first cell is the image that is associated with the class being presented in the row. The image is state dependent, e.g. is the object is checked out an additional glyph will be added over the image to indicate this state. The second cell will present the value of an arbitrary attribute with a link to the Properties page for the object being presented.

The header Properties are set to adjust for the fact that while the IconTableColumn is a single "logical" column, it is actually two HTML column widths. Thus, the header needs to have column width of two. Otherwise, the headers will be mis-aligned.

Supported API: true

Extendable: false


Field Summary
private static String CLASSNAME
          Deprecated.  
private static String RESOURCE
          Deprecated.  
private static boolean VERBOSE
          Deprecated.  
 
Fields inherited from class wt.templateutil.table.HTMLTableColumn
 
Constructor Summary
IconTableColumn()
          Deprecated. Sets the CellComponent to an instance of IconFirstCellComponent and sets the header properties to ensure that the Header has a colspan of 2.
IconTableColumn(int modelIndex)
          Deprecated. Sets the CellComponent to an instance of IconFirstCellComponent and sets the header properties to ensure that the Header has a colspan of 2.
 
Methods inherited from class wt.templateutil.table.HTMLTableColumn
getCellComponent, getColumnProperties, getHeader, getHeaderComponent, getHeaderProperties, getIdentifier, getModelIndex, setCellComponent, setColumnProperties, setHeader, setHeaderComponent, setHeaderProperties, setIdentifier, setModelIndex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
Deprecated. 
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Deprecated. 

VERBOSE

private static boolean VERBOSE
Deprecated. 
Constructor Detail

IconTableColumn

public IconTableColumn()
Deprecated. 
Sets the CellComponent to an instance of IconFirstCellComponent and sets the header properties to ensure that the Header has a colspan of 2.


IconTableColumn

public IconTableColumn(int modelIndex)
Deprecated. 
Sets the CellComponent to an instance of IconFirstCellComponent and sets the header properties to ensure that the Header has a colspan of 2. The super is called with the modelIndex to set the TableModel index of the HTMLTableColumn.

Parameters:
modelIndex -