wt.templateutil.table
Class DefaultHTMLTableColumnModel

java.lang.Object
  extended bywt.templateutil.table.DefaultHTMLTableColumnModel
All Implemented Interfaces:
HTMLTableColumnModel

public class DefaultHTMLTableColumnModel
extends Object
implements 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 class represents the default implementation of the HTMLTableColumnModel. All of the methods in this default implementation perform the responsibilities of the methods in the obvious way.

Supported API: true

Extendable: false


Field Summary
private static String CLASSNAME
          Deprecated.  
private  int columnMargin
          Deprecated.  
private  Vector htmlTableColumns
          Deprecated.  
private static String RESOURCE
          Deprecated.  
private static boolean VERBOSE
          Deprecated.  
 
Constructor Summary
DefaultHTMLTableColumnModel()
          Deprecated.  
 
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.  
 int getColumnMargin()
          Deprecated.  
 Enumeration getColumns()
          Deprecated.  
 Vector getHtmlTableColumns()
          Deprecated.  
 void moveColumn(int oldIndex, int newIndex)
          Deprecated.  
 void removeColumn(int index)
          Deprecated.  
 void setColumnMargin(int a_ColumnMargin)
          Deprecated.  
 void setHtmlTableColumns(Vector a_HtmlTableColumns)
          Deprecated.  
 
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. 

columnMargin

private int columnMargin
Deprecated. 

VERBOSE

private static boolean VERBOSE
Deprecated. 

htmlTableColumns

private Vector htmlTableColumns
Deprecated. 
Constructor Detail

DefaultHTMLTableColumnModel

public DefaultHTMLTableColumnModel()
Deprecated. 
Method Detail

getColumnMargin

public int getColumnMargin()
Deprecated.  

Gets the value of the attribute: columnMargin; Controls the margin around the column. By default this value is set to zero.

Supported API: true

Returns:
int

setColumnMargin

public void setColumnMargin(int a_ColumnMargin)
Deprecated.  

Sets the value of the attribute: columnMargin; Controls the margin around the column. By default this value is set to zero.

Supported API: true

Parameters:
a_ColumnMargin -

getHtmlTableColumns

public Vector getHtmlTableColumns()
Deprecated.  

Gets the object for the association that plays role: htmlTableColumns.

Supported API: false

Returns:
Vector

setHtmlTableColumns

public void setHtmlTableColumns(Vector a_HtmlTableColumns)
                         throws WTPropertyVetoException
Deprecated.  

Sets the object for the association that plays role: htmlTableColumns.

Supported API: false

Parameters:
a_HtmlTableColumns -
Throws:
WTPropertyVetoException

addColumn

public void addColumn(HTMLTableColumn newColumn)
Deprecated.  

Adds a column to the HTMLTableModel.

Supported API: true

Specified by:
addColumn in interface HTMLTableColumnModel
Parameters:
newColumn -

getColumn

public HTMLTableColumn getColumn(int index)
Deprecated.  

Get the HTMLTableColumn object at column position index.

Supported API: true

Specified by:
getColumn in interface HTMLTableColumnModel
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

Specified by:
getColumn in interface HTMLTableColumnModel
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

Specified by:
getColumnCount in interface HTMLTableColumnModel
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

Specified by:
moveColumn in interface HTMLTableColumnModel
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

Specified by:
removeColumn in interface HTMLTableColumnModel
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

Specified by:
getColumnIndex in interface HTMLTableColumnModel
Parameters:
columnIdentifier -
Returns:
int

getColumns

public Enumeration getColumns()
Deprecated.  

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

Supported API: true

Specified by:
getColumns in interface HTMLTableColumnModel
Returns:
Enumeration