Class 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

public class ProgressBarComponent extends AbstractGraphicalComponent
This class is the gui component that represents progress bars.

Supported API: true

Extendable: true
See Also:
  • Method Details

    • newInstance

      public GraphicalComponent newInstance(Object value, Map<String,Object> metaData) throws WTException
      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

      public org.json.JSONObject toJSON() throws WTException
      For detailed description check:GraphicalComponent.toJSON()
      Supported API: true

      Returns:
      the JSON object that will be passed to the client-side
      Throws:
      WTException
    • getJSRendererName

      public String getJSRendererName()
      For detailed description check:GraphicalComponent.getJSRendererName()
      Supported API: true

      Returns:
      the name of the JavaScript function that can render the values returned by toJSON().