wt.templateutil.components
Class DefaultStringComponent

java.lang.Object
  extended bywt.templateutil.components.HTMLComponent
      extended bywt.templateutil.components.DefaultStringComponent
Direct Known Subclasses:
PickerIconFirstCellComponent.CadxStringComponent

public class DefaultStringComponent
extends HTMLComponent

This class displays the information as a plain string without any HTML formatting.

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
protected static String BLANK_SPACE
          Deprecated.  
private static String CLASSNAME
          Deprecated.  
private static String RESOURCE
          Deprecated.  
private static boolean VERBOSE
          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, TAG, UPDATE, VIEW
 
Constructor Summary
DefaultStringComponent()
          Deprecated.  
 
Method Summary
 void init(String selector, Object value, HTMLComponentFactory componentFactory, String mode, Properties props)
          Deprecated.  
 void setTagListArray()
          Deprecated.  
 String show(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, getTag, 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, showSubComponents, startComponent
 
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. 

BLANK_SPACE

protected static final String BLANK_SPACE
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

DefaultStringComponent

public DefaultStringComponent()
Deprecated. 
Method Detail

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

show

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

Returns the String value for the Object value that is passed into the method. Processing is is done to be sure this string is properly formatted for certain possible types.

Supported API: true

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

init

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

Calls the super class init method.

Supported API: true

Overrides:
init in class HTMLComponent
Parameters:
selector -
value - The current context object
componentFactory -
mode -
props - provides the service name and the current key if they exist.