Class HTMLTableColumn
- Direct Known Subclasses:
ActionsTableColumn,CheckBoxTableColumn,IconTableColumn,LatestVersionTableColumn,TreeTableColumn
This the base class for objects that represent a Column in an HTMLTable. Any object that wants to represent an Column in an HTMLTable must subclass this class.
This is a simple, default implementation of a column object.
It is essentially a place holder for information to be used
when generating the header and the cells for a column in an
HTMLTable. Subclasses can add some business logic, presentation logic,
or specialized defaults to be used when rendering the header and
cells in a column.
Supported API: true
Extendable: false
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets the Properties object that is passed off to each HTML Components used to render a cell in this column.Deprecated.Gets the object that represents the value to present in the Header of of the column
Supported API: trueDeprecated.Gets the HTML component preferred by the column to present the header.Deprecated.Gets the Properties object that is passed off to the HTML Component used to render a header in this column.Deprecated.Gets the identifier of the column that will be used to reference the column during Windchill script calls with the HTML Table Service.intDeprecated.Gets the column index of the column in the TableModel that this column is visually representing
Supported API: truevoidsetColumnProperties(Properties a_ColumnProperties) Deprecated.Sets the Properties object that is passed off to each HTML Components used to render a cell in this column.voidDeprecated.Sets the object that represents the value to present in the Header of of the column
Supported API: truevoidsetHeaderProperties(Properties a_HeaderProperties) Deprecated.Sets the Properties object that is passed off to the HTML Component used to render a header in this column.voidsetIdentifier(Object a_Identifier) Deprecated.Sets the identifier of the column that will be used to reference the column during Windchill script calls with the HTML Table Service.voidsetModelIndex(int a_ModelIndex) Deprecated.Sets the column index of the column in the TableModel that this column is visually representing
Supported API: true
-
Constructor Details
-
HTMLTableColumn
public HTMLTableColumn(int modelIndex) Deprecated.Constuctor that sets the modelIndex of the column that points to the corresponding column in the TableModel.
Supported API: true- Parameters:
modelIndex-
-
-
Method Details
-
getHeader
Deprecated.Gets the object that represents the value to present in the Header of of the column
Supported API: true- Returns:
- Object
-
setHeader
Deprecated.Sets the object that represents the value to present in the Header of of the column
Supported API: true- Parameters:
a_Header-
-
getIdentifier
Deprecated.Gets the identifier of the column that will be used to reference the column during Windchill script calls with the HTML Table Service.If the TableModel being used implements the ColumnIdentifier interface, the value for the identifier will be set during the addMethod call when the column is added to the HTMLTableColumnModel
Supported API: true- Returns:
- Object
-
setIdentifier
Deprecated.Sets the identifier of the column that will be used to reference the column during Windchill script calls with the HTML Table Service.If the TableModel being used implements the ColumnIdentifier interface, the value for the identifier will be set during the addMethod call when the column is added to the HTMLTableColumnModel
Supported API: true- Parameters:
a_Identifier-
-
getModelIndex
public int getModelIndex()Deprecated.Gets the column index of the column in the TableModel that this column is visually representing
Supported API: true- Returns:
- int
-
setModelIndex
public void setModelIndex(int a_ModelIndex) Deprecated.Sets the column index of the column in the TableModel that this column is visually representing
Supported API: true- Parameters:
a_ModelIndex-
-
getColumnProperties
Deprecated.Gets the Properties object that is passed off to each HTML Components used to render a cell in this column.This Properties object is passed into the HTML component in the init method of the HTML component when the HTMLTable is rendering the cell.
Supported API: true- Returns:
- Properties
-
setColumnProperties
Deprecated.Sets the Properties object that is passed off to each HTML Components used to render a cell in this column.This Properties object is passed into the HTML component in the init method of the HTML component when the HTMLTable is rendering the cell.
Supported API: true- Parameters:
a_ColumnProperties-
-
getHeaderProperties
Deprecated.Gets the Properties object that is passed off to the HTML Component used to render a header in this column.This Properties object is passed into the HTML component in the init method of the HTML component when the HTMLTable is rendering the header.
Supported API: true- Returns:
- Properties
-
setHeaderProperties
Deprecated.Sets the Properties object that is passed off to the HTML Component used to render a header in this column.This Properties object is passed into the HTML component in the init method of the HTML component when the HTMLTable is rendering the header.
Supported API: true- Parameters:
a_HeaderProperties-
-
getHeaderComponent
Deprecated.Gets the HTML component preferred by the column to present the header.By default this value is null. If it is set, then the HTMLTable will use this component instead of going to the HTMLComponentFactory to select the appropriate HTML component.
Supported API: true- Returns:
- HTMLComponent
-