wt.templateutil.components
Class HTMLTableCellComponent

java.lang.Object
  extended bywt.templateutil.components.HTMLComponent
      extended bywt.templateutil.components.HTMLTableCellComponent
Direct Known Subclasses:
ActionsCellComponent, DefaultHTMLCellComponent, DisableableCheckBoxCellComponent, EffectivityLinkCellComponent, HTMLTableHeaderComponent, ImageLinkStringCellComponent, InputTextCellComponent, LatestVersionCellComponent, LinkStringCellComponent, NameLinkComponent, PDMLinkIconFirstCellComponent.LinkTableCell, PDMLinkIconFirstNoLinkCellComponent.LinkTableCell, PDMLinkPendingChangeIconCellComponent.LinkTableCell, PDMLinkTableColumn.EmptyTableCellComponent, PDMLinkTableHeader, PickerIconFirstCellComponent.PickerLinkTableCell, PickerIconTableColumn.EmptyTableCellComponent, RequiredTableCellComponent, SeeActionsCellComponent, TaskTableCellComponent, TreeCellComponent, UserIconNameCellComponent.WrapTableCell, ValueTableCellComponent

public class HTMLTableCellComponent
extends HTMLComponent

Displays the information within the tags for an HTML Table cell.

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


Field Summary
static String ALIGN
          Deprecated.  
static String BGCOLOR
          Deprecated.  
private static String CLASSNAME
          Deprecated.  
static String COLSPAN
          Deprecated.  
static String HEIGHT
          Deprecated.  
static String NOWRAP
          Deprecated.  
private static String RESOURCE
          Deprecated.  
static String ROWSPAN
          Deprecated.  
protected  boolean showBold
          Deprecated.  
private  String tag
          Deprecated.  
static String TAG
          Deprecated.  
static String TD_ALIGN
          Deprecated.  
static String TD_CLASS
          Deprecated.  
static String TD_COLSPAN
          Deprecated.  
static String TD_HEIGHT
          Deprecated.  
static String TD_ID
          Deprecated.  
static String TD_NOWRAP
          Deprecated.  
static String TD_ROWSPAN
          Deprecated.  
static String TD_VALIGN
          Deprecated.  
static String TD_WIDTH
          Deprecated.  
static String VALIGN
          Deprecated.  
private static boolean VERBOSE
          Deprecated.  
static String WIDTH
          Deprecated.  
 
Fields inherited from class wt.templateutil.components.HTMLComponent
CLASS, COMPONENT_ID, COMPONENT_ID_SEPARATOR, CREATE, DEFAULT_SERVICE_NAME, DEFAULTS_ONLY, EMPTY_STRING, ID, ID_US_ENGLISH_LOCALE, NAME, NULLVALUE, PRINT_TAG_ATTR, SERVICENAME, UPDATE, VIEW
 
Constructor Summary
HTMLTableCellComponent()
          Deprecated.  
 
Method Summary
 String getTag()
          Deprecated.  
 void init(String selector, Object value, HTMLComponentFactory componentFactory, String mode, Properties props)
          Deprecated.  
 boolean isShowBold()
          Deprecated.  
 void setShowBold(boolean isShowBold)
          Deprecated.  
 void setTagListArray()
          Deprecated.  
 String showSubComponents(Object value, Properties formData, OutputStream os, Locale locale)
          Deprecated.  
 String startComponent(Object value, Properties formData, OutputStream os, Locale locale)
          Deprecated.  
 
Methods inherited from class wt.templateutil.components.HTMLComponent
appendID, appendID, appendToID, appendToID, createIDForComponent, endComponent, getHtmlComponents, getID, getIdProp, getName, getOID, getPrintWriter, getRealValue, getServiceName, getState, getTagID, getTagIDKey, getTagList, getTagSettings, getURLFactory, insertID, insertID, isInheritStyle, isPrintTagAttributes, isUseDefaultsOnly, main, putTagID, putTagID, removeID, removeTagID, setHtmlComponents, setID, setInheritStyle, setName, setPrintTagAttributes, setServiceName, setState, setTag, setTagList, setTagListDefaults, setTagSettings, setTagValue, setUseDefaultsOnly, show
 
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. 

BGCOLOR

public static final String BGCOLOR
Deprecated.  



Supported API: true

See Also:
Constant Field Values

ALIGN

public static final String ALIGN
Deprecated.  



Supported API: true

See Also:
Constant Field Values

VALIGN

public static final String VALIGN
Deprecated.  



Supported API: true

See Also:
Constant Field Values

COLSPAN

public static final String COLSPAN
Deprecated.  



Supported API: true

See Also:
Constant Field Values

ROWSPAN

public static final String ROWSPAN
Deprecated.  



Supported API: true

See Also:
Constant Field Values

HEIGHT

public static final String HEIGHT
Deprecated.  



Supported API: true

See Also:
Constant Field Values

WIDTH

public static final String WIDTH
Deprecated.  



Supported API: true

See Also:
Constant Field Values

NOWRAP

public static final String NOWRAP
Deprecated.  



Supported API: true

See Also:
Constant Field Values

VERBOSE

private static boolean VERBOSE
Deprecated. 

tag

private String tag
Deprecated. 

TAG

public static final String TAG
Deprecated. 
See Also:
Constant Field Values

TD_ALIGN

public static final String TD_ALIGN
Deprecated. 
See Also:
Constant Field Values

TD_VALIGN

public static final String TD_VALIGN
Deprecated. 
See Also:
Constant Field Values

TD_COLSPAN

public static final String TD_COLSPAN
Deprecated. 
See Also:
Constant Field Values

TD_ROWSPAN

public static final String TD_ROWSPAN
Deprecated. 
See Also:
Constant Field Values

TD_HEIGHT

public static final String TD_HEIGHT
Deprecated. 
See Also:
Constant Field Values

TD_WIDTH

public static final String TD_WIDTH
Deprecated. 
See Also:
Constant Field Values

TD_NOWRAP

public static final String TD_NOWRAP
Deprecated. 
See Also:
Constant Field Values

TD_CLASS

public static final String TD_CLASS
Deprecated. 
See Also:
Constant Field Values

TD_ID

public static final String TD_ID
Deprecated. 
See Also:
Constant Field Values

showBold

protected boolean showBold
Deprecated. 
Constructor Detail

HTMLTableCellComponent

public HTMLTableCellComponent()
Deprecated.  



Supported API: true

Method Detail

getTag

public String getTag()
Deprecated.  

Returns the tag for a table cell: "TD"

Supported API: true

Overrides:
getTag in class HTMLComponent
Returns:
String

init

public void init(String selector,
                 Object value,
                 HTMLComponentFactory componentFactory,
                 String mode,
                 Properties props)
Deprecated.  

Determines whether the cell should be displayed in Bold font and then calls the super class init method.

Supported API: true

Overrides:
init in class HTMLComponent
Parameters:
selector -
value -
componentFactory -
mode -
props -

setTagListArray

public void setTagListArray()
Deprecated.  

Initializes the TagListArray to an array of values representing the possible attributes on the tag. For example one possible array would be: {TYPE, NAME, VALUE, ID} these attributes are later displayed in the HTML as key value pairs, for example "NAME=checkbox1"

Supported API: true

Specified by:
setTagListArray in class HTMLComponent

startComponent

public String startComponent(Object value,
                             Properties formData,
                             OutputStream os,
                             Locale locale)
Deprecated.  

startComponent() is overridden her to ensure that this component does not include ID in it's generation. TD cells do not require ID.

Supported API: true

Overrides:
startComponent in class HTMLComponent
Parameters:
value -
formData -
os -
locale -
Returns:
String

showSubComponents

public String showSubComponents(Object value,
                                Properties formData,
                                OutputStream os,
                                Locale locale)
Deprecated.  

Handles displaying the bold tag if the contents should be bold. If the contents should not be bold it just cals the superclass showSubComponents method.

Supported API: true

Overrides:
showSubComponents in class HTMLComponent
Parameters:
value -
formData -
os -
locale -
Returns:
String

setShowBold

public void setShowBold(boolean isShowBold)
Deprecated. 

isShowBold

public boolean isShowBold()
Deprecated.