Class HTMLGuiComponent
java.lang.Object
com.ptc.core.components.rendering.AbstractGuiComponent
com.ptc.core.components.rendering.guicomponents.HTMLGuiComponent
- All Implemented Interfaces:
GuiComponent,com.ptc.netmarkets.util.misc.NmFormatable,Serializable
- Direct Known Subclasses:
CheckBox,ComboBox,IconComponent,Label,RadioButton,TextArea,TextBox
Abstract component for HTML ui components
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields 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 -
Method Summary
Modifier and TypeMethodDescriptionaddJsAction(String event, String action) Add JS action to an event.voidsetNameQualifier(String nameDifferentiator) Sets name qualifier for the component
Supported API: trueMethods inherited from class com.ptc.core.components.rendering.AbstractGuiComponent
_isValueNull, addHiddenField, addOnChangeListenerForDriverAttribute, addStyleClass, draw, 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, isValueNull, removeStyleClass, setCollationKey, setColumnName, setComponentHidden, setDivClass, setEnabled, setFilterInternalValue, setHiddenId, setHiddenIdClass, setId, setLabel, setLocale, setMultiValued, setName, setReadOnly, setRenderer, setRenderLabel, setRenderLabelOnRight, setRenderWhileHidden, setRequired, setValueHidden, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.ptc.core.components.rendering.GuiComponent
getInternalValue
-
Method Details
-
addJsAction
Add JS action to an event. If there is already a JS action for the given event this function will replace it
Supported API: true- Parameters:
event- - event to add action toaction- - js action to add
-
setNameQualifier
Sets name qualifier for the component
Supported API: true- Parameters:
nameDifferentiator- name qualifier to be set
-