wt.templateutil.components
Class DefaultIconComponent

java.lang.Object
  extended bywt.templateutil.components.HTMLComponent
      extended bywt.templateutil.components.HTMLImgComponent
          extended bywt.templateutil.components.DefaultIconComponent
Direct Known Subclasses:
ExpandableIconComponent, PickerIconFirstCellComponent.CadxIconComponent, SignatureIconLinkComponent

public class DefaultIconComponent
extends HTMLImgComponent

This is the default component for displaying an icon in the HTML Template Processing UI. It handles displaying the Icon Image HTML tags as well as any glyphs that are associated with the icon.

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
private static String CLASSNAME
          Deprecated.  
private static String CODEBASE
          Deprecated.  
private  IconSelector iconSelector
          Deprecated.  
private static String RESOURCE
          Deprecated.  
private static boolean VERBOSE
          Deprecated.  
 
Fields inherited from class wt.templateutil.components.HTMLImgComponent
ALIGN, ALT, BORDER, HEIGHT, HSPACE, IMG_ALIGN, IMG_ALT, IMG_BORDER, IMG_HEIGHT, IMG_HSPACE, IMG_ISMAP, IMG_LOWSRC, IMG_NAME, IMG_ONABORT, IMG_ONERROR, IMG_ONLOAD, IMG_SRC, IMG_SUPPRESS, IMG_TITLE, IMG_USEMAP, IMG_VSPACE, IMG_WIDTH, ISMAP, LOWSRC, NAME, ONABORT, ONERROR, ONLOAD, SRC, SUPPRESS, tag, TAG, TITLE, USEMAP, VSPACE, WIDTH
 
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, NULLVALUE, PRINT_TAG_ATTR, SERVICENAME, UPDATE, VIEW
 
Constructor Summary
DefaultIconComponent()
          Deprecated.  
 
Method Summary
 String getObjectIconImgTag(Object value)
          Deprecated.  
private static String getObjectType(WTObject obj)
          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.HTMLImgComponent
getTag, init, setTagListArray
 
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. 

VERBOSE

private static boolean VERBOSE
Deprecated. 

CODEBASE

private static String CODEBASE
Deprecated. 

iconSelector

private IconSelector iconSelector
Deprecated. 
Constructor Detail

DefaultIconComponent

public DefaultIconComponent()
Deprecated. 
Method Detail

startComponent

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

Writes the beginning HTML for the Icon Image.

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.  

Displays the icon and its associated glyphs.

Supported API: true

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

getObjectIconImgTag

public String getObjectIconImgTag(Object value)
                           throws WTException
Deprecated. 
Throws:
WTException

getObjectType

private static String getObjectType(WTObject obj)
Deprecated.