wt.templateutil.components
Class UnitCell

java.lang.Object
  extended bywt.templateutil.components.HTMLComponent
      extended bywt.templateutil.components.DefaultHTMLComponent
          extended bywt.templateutil.components.UnitCell

public class UnitCell
extends DefaultHTMLComponent


Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
private static boolean VERBOSE
           
private static String versionID
           
 
Fields inherited from class wt.templateutil.components.DefaultHTMLComponent
defaultComponent
 
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
UnitCell()
           
 
Method Summary
protected  String getUnitValue(Quantity quantity, Locale locale)
           
 String showSubComponents(Object value, Properties formData, OutputStream os, Locale locale)
          Returns a string that is the contcatenation of the result of calling show() on all the associated subComponents sequentially.
 
Methods inherited from class wt.templateutil.components.DefaultHTMLComponent
endComponent, init, setTagListArray, startComponent
 
Methods inherited from class wt.templateutil.components.HTMLComponent
appendID, appendID, appendToID, appendToID, createIDForComponent, 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, 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
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

versionID

private static final String versionID
See Also:
Constant Field Values

VERBOSE

private static boolean VERBOSE
Constructor Detail

UnitCell

public UnitCell()
Method Detail

showSubComponents

public String showSubComponents(Object value,
                                Properties formData,
                                OutputStream os,
                                Locale locale)
Description copied from class: HTMLComponent
Returns a string that is the contcatenation of the result of calling show() on all the associated subComponents sequentially.

Supported API: true

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

getUnitValue

protected String getUnitValue(Quantity quantity,
                              Locale locale)