Class PercentCompleteComponent
java.lang.Object
com.ptc.core.components.rendering.AbstractGuiComponent
com.ptc.core.components.rendering.guicomponents.AbstractGraphicalComponent
com.ptc.core.components.rendering.guicomponents.ProgressBarComponent
com.ptc.core.components.rendering.guicomponents.PercentCompleteComponent
- All Implemented Interfaces:
GuiComponent,GraphicalComponent,com.ptc.core.components.rendering.guicomponents.PrintableComponent,GraphicalAttRepresentationHandler,com.ptc.netmarkets.util.misc.NmFormatable,Serializable
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.guicomponents.ProgressBarComponent
COMPARABLE_ERROR_VALUE, COMPARABLE_MISSING_VALUE, JS_RENDERER_FUNCTIONFields 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 TypeMethodDescriptionnewInstance(Object value, Map<String, Object> metaData) Create a new PercentCompleteComponent.Methods inherited from class com.ptc.core.components.rendering.guicomponents.ProgressBarComponent
getInternalValue, getJSRendererName, getPrintableValue, isValidForDatatype, toJSONMethods 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 PercentCompleteComponent. For detailed description check:invalid reference
GraphicalComponent#newInstance()
Supported API: true
- Specified by:
newInstancein interfaceGraphicalComponent- Overrides:
newInstancein classProgressBarComponent- 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
-