|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.templateutil.table.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.
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
Field Summary | |
private HTMLComponent |
cellComponent
Deprecated. |
private static String |
CLASSNAME
Deprecated. |
private Properties |
columnProperties
Deprecated. |
private Object |
header
Deprecated. |
private HTMLComponent |
headerComponent
Deprecated. |
private Properties |
headerProperties
Deprecated. |
private Object |
identifier
Deprecated. |
private int |
modelIndex
Deprecated. |
private static String |
RESOURCE
Deprecated. |
private static boolean |
VERBOSE
Deprecated. |
Constructor Summary | |
HTMLTableColumn()
Deprecated. The Default no-arg contructor. |
|
HTMLTableColumn(int modelIndex)
Deprecated. |
|
HTMLTableColumn(int modelIndex,
HTMLComponent cellComponent)
Deprecated. |
Method Summary | |
HTMLComponent |
getCellComponent()
Deprecated. Gets the HTML component preferred by the column to render the cells in this column. |
Properties |
getColumnProperties()
Deprecated. Gets the Properties object that is passed off to each HTML Components used to render a cell in this column. |
Object |
getHeader()
Deprecated. Gets the object that represents the value to present in the Header of of the column Supported API: true |
HTMLComponent |
getHeaderComponent()
Deprecated. Gets the HTML component preferred by the column to present the header. |
Properties |
getHeaderProperties()
Deprecated. Gets the Properties object that is passed off to the HTML Component used to render a header in this column. |
Object |
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. |
int |
getModelIndex()
Deprecated. Gets the column index of the column in the TableModel that this column is visually representing Supported API: true |
void |
setCellComponent(HTMLComponent a_CellComponent)
Deprecated. Sets the HTML component preferred by the column to render the cells in this column. |
void |
setColumnProperties(Properties a_ColumnProperties)
Deprecated. Sets the Properties object that is passed off to each HTML Components used to render a cell in this column. |
void |
setHeader(Object a_Header)
Deprecated. Sets the object that represents the value to present in the Header of of the column Supported API: true |
void |
setHeaderComponent(HTMLComponent a_HeaderComponent)
Deprecated. Sets the HTML component preferred by the column to present the header. |
void |
setHeaderProperties(Properties a_HeaderProperties)
Deprecated. Sets the Properties object that is passed off to the HTML Component used to render a header in this column. |
void |
setIdentifier(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. |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private Object header
private Object identifier
private int modelIndex
private static boolean VERBOSE
private Properties columnProperties
private Properties headerProperties
private HTMLComponent headerComponent
private HTMLComponent cellComponent
Constructor Detail |
public HTMLTableColumn(int modelIndex)
modelIndex
- public HTMLTableColumn(int modelIndex, HTMLComponent cellComponent)
modelIndex
- cellComponent
- public HTMLTableColumn()
Method Detail |
public Object getHeader()
public void setHeader(Object a_Header)
a_Header
- public Object getIdentifier()
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
public void setIdentifier(Object a_Identifier)
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
a_Identifier
- public int getModelIndex()
public void setModelIndex(int a_ModelIndex)
a_ModelIndex
- public Properties getColumnProperties()
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
public void setColumnProperties(Properties a_ColumnProperties)
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
a_ColumnProperties
- public Properties getHeaderProperties()
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
public void setHeaderProperties(Properties a_HeaderProperties)
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
a_HeaderProperties
- public HTMLComponent getHeaderComponent()
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
public void setHeaderComponent(HTMLComponent a_HeaderComponent)
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: false
a_HeaderComponent
- public HTMLComponent getCellComponent()
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: false
public void setCellComponent(HTMLComponent a_CellComponent)
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: false
a_CellComponent
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |