Class MultiValuedInputComponent
java.lang.Object
com.ptc.core.components.rendering.AbstractGuiComponent
com.ptc.core.components.rendering.guicomponents.AttributeGuiComponent
com.ptc.core.components.rendering.guicomponents.AttributeInputComponent
com.ptc.core.components.rendering.guicomponents.MultiValuedInputComponent
- All Implemented Interfaces:
GuiComponent,com.ptc.netmarkets.util.misc.NmFormatable,Serializable
A composite GUI component to input a string value.
This component will be composed of a TextBox component or a TextArea component
depending on the max string length and the configurations that determine this.
Supported API: true
Supported API: true
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ptc.core.components.rendering.guicomponents.AttributeInputComponent
AttributeInputComponent.FormParameterKeys, AttributeInputComponent.InputMode -
Field Summary
Fields inherited from class com.ptc.core.components.rendering.guicomponents.AttributeInputComponent
applyPrePopulate, defaultValueMode, isDefaultState, isNewStateFields inherited from class com.ptc.core.components.rendering.guicomponents.AttributeGuiComponent
rawValueFields inherited from class com.ptc.core.components.rendering.AbstractGuiComponent
componentHidden, divClass, enabled, locale, multiValued, readOnly, renderer, renderWhileHidden, required, valueHiddenFields inherited from interface com.ptc.core.components.rendering.GuiComponent
NBSPFields inherited from interface com.ptc.netmarkets.util.misc.NmFormatable
DIV_CLASS, RENDER_WHILE_HIDDEN, STYLE_CLASSES -
Constructor Summary
ConstructorsConstructorDescriptionMultiValuedInputComponent(ArrayList<AttributeInputComponent> guiComponents, AttributeInputComponent defaultGui) Create an instance of MultiValuedInputComponent from a list of AttributeInputComponent and a default AttributeInputComponent
Supported API: true -
Method Summary
Modifier and TypeMethodDescriptionvoidsetComponentHidden(boolean hidden) Set whether the component is hidden or not
Supported API: truevoidsetEditable(boolean isEditable) Set whether the component is editable or not
Supported API: trueMethods inherited from class com.ptc.core.components.rendering.guicomponents.AttributeInputComponent
convertFirstCharToUpperCase, createComboBoxForDiscreteSets, createComboBoxForDiscreteSets, createComboBoxForDiscreteSets, createRadioButtonsForDiscreteSets, createRadioButtonsForDiscreteSets, createSelectionUI, fixListOfOptions, formatValue, formatValueForTooltip, getDefaultValue, getDefaultValueMode, getFormProcessorClassName, getInputMode, getLocalizedDisplayString_ForServerGenerated, getLocalizedDisplayStringForServerGenerated, getLocalizedDisplayStringForServerGenerated, getNameForAutogenHiddenField, getNameForPregenHiddenField, getTooltip, isApplyPrePopulate, isDefaultState, isEditable, setIncludeBlankEntryInList, setInputMode, setNewState, setTooltipMethods inherited from class com.ptc.core.components.rendering.guicomponents.AttributeGuiComponent
getInternalValue, getRawValue, isValueNull, setRawValueMethods inherited from class com.ptc.core.components.rendering.AbstractGuiComponent
_isValueNull, addHiddenField, addOnChangeListenerForDriverAttribute, addStyleClass, getCollationKey, getColumnName, getDivClass, getFilterInternalValue, getHiddenClass, getHiddenFields, getId, getInternalValueString, getLabel, getLocale, getName, getRenderer, getRequiredStyle, getStyleClasses, getStyleClassList, isComponentHidden, isDriverAttribute, isEnabled, isHiddenId, isMultiValued, isReadOnly, isRenderLabel, isRenderLabelOnRight, isRenderWhileHidden, isRequired, isValueHidden, removeStyleClass, setCollationKey, setColumnName, setDivClass, setEnabled, setFilterInternalValue, setHiddenId, setHiddenIdClass, setId, setLabel, setLocale, setMultiValued, setName, setReadOnly, setRenderer, setRenderLabel, setRenderLabelOnRight, setRenderWhileHidden, setRequired, toString
-
Constructor Details
-
MultiValuedInputComponent
public MultiValuedInputComponent(ArrayList<AttributeInputComponent> guiComponents, AttributeInputComponent defaultGui) Create an instance of MultiValuedInputComponent from a list of AttributeInputComponent and a default AttributeInputComponent
Supported API: true
-
-
Method Details
-
setEditable
public void setEditable(boolean isEditable) Set whether the component is editable or not
Supported API: true- Overrides:
setEditablein classAttributeInputComponent- Parameters:
isEditable- isEditable=true: renders the component as editable isEditable=false; renders the component as non-editable.
-
setComponentHidden
public void setComponentHidden(boolean hidden) Set whether the component is hidden or not
Supported API: true- Overrides:
setComponentHiddenin classAbstractGuiComponent- Parameters:
hidden- hidden=true: renders the component as hidden hidden=false; renders the component as non-hidden.
-