Package wt.templateutil.components
Class HTMLComponent
java.lang.Object
wt.templateutil.components.HTMLComponent
- Direct Known Subclasses:
DefaultHTMLComponent,DefaultStringComponent,HTMLCheckBoxComponent,HTMLFont,HTMLImgComponent,HTMLLinkComponent,HTMLSelectComponent,HTMLTableCellComponent,HTMLTableComponent,HTMLTextInputComponent,LifeCycleStateComponent,NameComponent
Deprecated.
This abstract component contains the common processing code for displaying
and HTML component. It handles tag fomat, tag attributes, and nesting
of components.In most cases any HTML component can be displayed simply
by calling the show() method defined in this class.
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: true
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: true
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionendComponent(Object value, OutputStream os, Locale locale) Deprecated.Deprecated.getPrintWriter(OutputStream out, Locale locale) Deprecated.Deprecated.getTag()Deprecated.String[]Deprecated.Deprecated.voidinit(String selector, Object value, HTMLComponentFactory componentFactory, String mode, Properties props) Deprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.static voidDeprecated.voidsetInheritStyle(boolean a_InheritStyle) Deprecated.voidsetPrintTagAttributes(boolean a_PrintTagAttributes) Deprecated.voidsetServiceName(String a_ServiceName) Deprecated.voidDeprecated.voidsetTagList(String[] a_TagList) Deprecated.abstract voidDeprecated.voidsetTagListDefaults(WTProperties defaultProperties) Deprecated.voidsetTagSettings(Hashtable a_TagSettings) Deprecated.voidsetTagValue(String tagID, String tagValue) Deprecated.voidsetUseDefaultsOnly(boolean a_UseDefaultsOnly) Deprecated.show(Object value, Properties formData, OutputStream os, Locale locale) Deprecated.showSubComponents(Object value, Properties formData, OutputStream os, Locale locale) Deprecated.startComponent(Object value, Properties formData, OutputStream os, Locale locale) Deprecated.
-
Field Details
-
DEFAULT_SERVICE_NAME
Deprecated.
Supported API: true- See Also:
-
DEFAULTS_ONLY
Deprecated.
Supported API: true- See Also:
-
PRINT_TAG_ATTR
Deprecated.
Supported API: true- See Also:
-
SERVICENAME
Deprecated.
Supported API: true- See Also:
-
-
Method Details
-
getTagList
Deprecated.Gets the value of the attribute: tagList.
Supported API: true- Returns:
- String[]
-
setTagList
Deprecated.Sets the value of the attribute: tagList.
Supported API: true- Parameters:
a_TagList-
-
getTagSettings
Deprecated.Gets the value of the attribute: tagSettings.
Supported API: true- Returns:
- Hashtable
-
setTagSettings
Deprecated.Sets the value of the attribute: tagSettings.
Supported API: true- Parameters:
a_TagSettings-
-
isUseDefaultsOnly
public boolean isUseDefaultsOnly()Deprecated.Gets the value of the attribute: useDefaultsOnly.
Supported API: true- Returns:
- boolean
-
setUseDefaultsOnly
public void setUseDefaultsOnly(boolean a_UseDefaultsOnly) Deprecated.Sets the value of the attribute: useDefaultsOnly.
Supported API: true- Parameters:
a_UseDefaultsOnly-
-
getServiceName
Deprecated.Gets the value of the attribute: serviceName.
Supported API: true- Returns:
- String
-
setServiceName
Deprecated.Sets the value of the attribute: serviceName.
Supported API: true- Parameters:
a_ServiceName-
-
getTag
Deprecated.Gets the value of the attribute: tag.
Supported API: true- Returns:
- String
-
setTag
Deprecated.Sets the value of the attribute: tag.
Supported API: true- Parameters:
a_Tag-
-
isPrintTagAttributes
public boolean isPrintTagAttributes()Deprecated.Gets the value of the attribute: printTagAttributes.
Supported API: true- Returns:
- boolean
-
setPrintTagAttributes
public void setPrintTagAttributes(boolean a_PrintTagAttributes) Deprecated.Sets the value of the attribute: printTagAttributes.
Supported API: true- Parameters:
a_PrintTagAttributes-
-
isInheritStyle
public boolean isInheritStyle()Deprecated.Gets the value of the attribute: inheritStyle.
Supported API: true- Returns:
- boolean
-
setInheritStyle
public void setInheritStyle(boolean a_InheritStyle) Deprecated.Sets the value of the attribute: inheritStyle.
Supported API: true- Parameters:
a_InheritStyle-
-
getHtmlComponents
Deprecated.Gets the object for the association that plays role: htmlComponents.
Supported API: true- Returns:
- Vector
-
show
Deprecated.This method is the main control for the Display of all HTMLComponent subclasses. It first calls startComponent, then showSubComponents, and then endComponent. It returns a string that is the concatenation of the results of these three methods. A call to show() should be all that is needed to display any subclass component.
Supported API: true- Parameters:
value-formData-os-locale-- Returns:
- String
-
init
public void init(String selector, Object value, HTMLComponentFactory componentFactory, String mode, Properties props) Deprecated.Initializes the HTML componenet using information from the Properties object.
Supported API: true- Parameters:
selector-value- The current context objectcomponentFactory-mode-props- provides the service name and the current key if they exist.
-
startComponent
Deprecated.Displays the standard format of a starting HTML tag include the opening less than, the tag name, the key value pairs that are the tag attributes, and the closing greater than.
Supported API: true- Parameters:
value-formData-os-locale-- Returns:
- String
-
endComponent
Deprecated.Displays the default format for a closing HTML tag. Including the opening less than, the tag name, and the closing greater than.
Supported API: true- Parameters:
value-os-locale-- Returns:
- String
-
showSubComponents
Deprecated.Returns a string that is the contcatenation of the result of calling show() on all the associated subComponents sequentially.
Supported API: true- Parameters:
value-formData-os-locale-- Returns:
- String
-
setTagListArray
public abstract 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 -
setTagListDefaults
Deprecated.
Supported API: true- Parameters:
defaultProperties-
-
setTagValue
Deprecated.This method stores the value that corresponds to one of the keys in the TagList array.
Supported API: true- Parameters:
tagID- The key value that should be found in the taglist array.tagValue- the value that should be stored.
-
getPrintWriter
Deprecated.
Supported API: true- Parameters:
out-locale-- Returns:
- PrintWriter
-
main
Deprecated.
Supported API: true- Parameters:
args-
-