Package wt.templateutil.components
Class HTMLCheckBoxComponent
java.lang.Object
wt.templateutil.components.HTMLComponent
wt.templateutil.components.HTMLCheckBoxComponent
Deprecated.
This class displays an HTML checkbox. It handles enabling, Disabling,
initial state, and grouping the checkbox in a group with a "select all"
checkbox.
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
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
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.static final StringDeprecated.static final StringDeprecated.Fields inherited from class wt.templateutil.components.HTMLComponent
DEFAULT_SERVICE_NAME, DEFAULTS_ONLY, PRINT_TAG_ATTR, SERVICENAME -
Method Summary
Modifier and TypeMethodDescriptiongetTag()Deprecated.voidinit(String selector, Object value, HTMLComponentFactory componentFactory, String mode, Properties props) Deprecated.booleanDeprecated.voidsetDisabled(boolean a_Disabled) Deprecated.startComponent(Object value, Properties formData, OutputStream os, Locale locale) Deprecated.Methods inherited from class wt.templateutil.components.HTMLComponent
endComponent, getHtmlComponents, getPrintWriter, getServiceName, getTagList, getTagSettings, isInheritStyle, isPrintTagAttributes, isUseDefaultsOnly, main, setInheritStyle, setPrintTagAttributes, setServiceName, setTag, setTagList, setTagListDefaults, setTagSettings, setTagValue, setUseDefaultsOnly, show, showSubComponents
-
Field Details
-
TYPE
Deprecated.
Supported API: true- See Also:
-
NAME
Deprecated.
Supported API: true- See Also:
-
VALUE
Deprecated.
Supported API: true- See Also:
-
-
Method Details
-
isDisabled
public boolean isDisabled()Deprecated.Gets the value of the attribute: disabled.
Supported API: true- Returns:
- boolean
-
setDisabled
public void setDisabled(boolean a_Disabled) Deprecated.Sets the value of the attribute: disabled.
Supported API: true- Parameters:
a_Disabled-
-
startComponent
Deprecated.Displays the HTML tag that constitutes the begining of the component. Appropriately initializes the value of the checkbox to be checked or unchecked.
Supported API: true- Overrides:
startComponentin classHTMLComponent- Parameters:
value-formData-os-locale-- Returns:
- String
-
init
public void init(String selector, Object value, HTMLComponentFactory componentFactory, String mode, Properties props) Deprecated.Sets the type of the component to checkbox, registers an onclick event to unclick any associated "All" checkbox, and disables or enables the checkbox as appropriate.
Supported API: true- Overrides:
initin classHTMLComponent- Parameters:
selector-value-componentFactory-mode-props-
-
getTag
Deprecated.Returns the tag attribute
Supported API: true- Overrides:
getTagin classHTMLComponent- Parameters:
Object-OutputStream-Locale-- Returns:
- String
-