|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.templateutil.components.HTMLComponent
public abstract class HTMLComponent
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
| Field Summary | |
|---|---|
static String |
DEFAULT_SERVICE_NAME
Deprecated. |
static String |
DEFAULTS_ONLY
Deprecated. |
static String |
PRINT_TAG_ATTR
Deprecated. |
static String |
SERVICENAME
Deprecated. |
| Method Summary | |
|---|---|
String |
endComponent(Object value,
OutputStream os,
Locale locale)
Deprecated. |
Vector |
getHtmlComponents()
Deprecated. |
PrintWriter |
getPrintWriter(OutputStream out,
Locale locale)
Deprecated. |
String |
getServiceName()
Deprecated. |
String |
getTag()
Deprecated. |
String[] |
getTagList()
Deprecated. |
Hashtable |
getTagSettings()
Deprecated. |
void |
init(String selector,
Object value,
HTMLComponentFactory componentFactory,
String mode,
Properties props)
Deprecated. |
boolean |
isInheritStyle()
Deprecated. |
boolean |
isPrintTagAttributes()
Deprecated. |
boolean |
isUseDefaultsOnly()
Deprecated. |
static void |
main(String[] args)
Deprecated. |
void |
setInheritStyle(boolean a_InheritStyle)
Deprecated. |
void |
setPrintTagAttributes(boolean a_PrintTagAttributes)
Deprecated. |
void |
setServiceName(String a_ServiceName)
Deprecated. |
void |
setTag(String a_Tag)
Deprecated. |
void |
setTagList(String[] a_TagList)
Deprecated. |
abstract void |
setTagListArray()
Deprecated. |
void |
setTagListDefaults(WTProperties defaultProperties)
Deprecated. |
void |
setTagSettings(Hashtable a_TagSettings)
Deprecated. |
void |
setTagValue(String tagID,
String tagValue)
Deprecated. |
void |
setUseDefaultsOnly(boolean a_UseDefaultsOnly)
Deprecated. |
String |
show(Object value,
Properties formData,
OutputStream os,
Locale locale)
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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_SERVICE_NAME
public static final String DEFAULTS_ONLY
public static final String PRINT_TAG_ATTR
public static final String SERVICENAME
| Method Detail |
|---|
public String[] getTagList()
public void setTagList(String[] a_TagList)
a_TagList - public Hashtable getTagSettings()
public void setTagSettings(Hashtable a_TagSettings)
a_TagSettings - public boolean isUseDefaultsOnly()
public void setUseDefaultsOnly(boolean a_UseDefaultsOnly)
a_UseDefaultsOnly - public String getServiceName()
public void setServiceName(String a_ServiceName)
a_ServiceName - public String getTag()
public void setTag(String a_Tag)
a_Tag - public boolean isPrintTagAttributes()
public void setPrintTagAttributes(boolean a_PrintTagAttributes)
a_PrintTagAttributes - public boolean isInheritStyle()
public void setInheritStyle(boolean a_InheritStyle)
a_InheritStyle - public Vector getHtmlComponents()
public String show(Object value,
Properties formData,
OutputStream os,
Locale locale)
value - formData - os - locale -
public void init(String selector,
Object value,
HTMLComponentFactory componentFactory,
String mode,
Properties props)
selector - value - The current context objectcomponentFactory - mode - props - provides the service name and the current key if they exist.
public String startComponent(Object value,
Properties formData,
OutputStream os,
Locale locale)
value - formData - os - locale -
public String endComponent(Object value,
OutputStream os,
Locale locale)
value - os - locale -
public String showSubComponents(Object value,
Properties formData,
OutputStream os,
Locale locale)
value - formData - os - locale -
public abstract void setTagListArray()
public void setTagListDefaults(WTProperties defaultProperties)
defaultProperties -
public void setTagValue(String tagID,
String tagValue)
tagID - The key value that should be found in the taglist array.tagValue - the value that should be stored.
public PrintWriter getPrintWriter(OutputStream out,
Locale locale)
out - locale -
public static void main(String[] args)
args -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||