Class ProgressBarComponent
java.lang.Object
com.ptc.core.components.rendering.AbstractGuiComponent
com.ptc.core.components.rendering.guicomponents.AbstractGraphicalComponent
com.ptc.core.components.rendering.guicomponents.ProgressBarComponent
- All Implemented Interfaces:
GuiComponent,GraphicalComponent,com.ptc.core.components.rendering.guicomponents.PrintableComponent,GraphicalAttRepresentationHandler,com.ptc.netmarkets.util.misc.NmFormatable,Serializable
- Direct Known Subclasses:
PercentCompleteComponent
This class is the gui component that represents progress bars.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
- 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
Methods 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
addHiddenField, draw, getHiddenFields
-
Method Details
-
newInstance
Create a new ProgressBarComponent. For detailed description check:invalid reference
GraphicalComponent#newInstance()
Supported API: true
- Parameters:
value- the value of the attribute to render. value may be null.metaData- a map of the additional data (e.g. begin, end, color, ...) used to render the value metaData may be null.- Returns:
- a new GraphicalComponent instance
- Throws:
WTException
-
toJSON
- Returns:
- the JSON object that will be passed to the client-side
- Throws:
WTException
-
getJSRendererName
- Returns:
- the name of the JavaScript function that can render the values returned by toJSON().
-