Interface ProgressBar

All Superinterfaces:
Component, ComponentExporter

@ConsumerType public interface ProgressBar extends Component
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Name of property that defines the completion percentage.

    Fields inherited from interface com.adobe.cq.wcm.core.components.models.Component

    PN_ID
  • Method Summary

    Modifier and Type
    Method
    Description
    default float
    Get the completed percentage
    default float
    Get the remaining percentage

    Methods inherited from interface com.adobe.cq.wcm.core.components.models.Component

    getAppliedCssClasses, getData, getExportedType, getId
  • Field Details

    • PN_COMPLETED

      static final String PN_COMPLETED
      Name of property that defines the completion percentage. The property should provide a numeric value between 0 and 100.
      Since:
      com.adobe.cq.wcm.core.components.models 12.12.0
      See Also:
  • Method Details

    • getCompleted

      default float getCompleted()
      Get the completed percentage
      Returns:
      Completed percentage as a number between 0 and 100
      Since:
      com.adobe.cq.wcm.core.components.models 12.12.0
    • getRemaining

      default float getRemaining()
      Get the remaining percentage
      Returns:
      Remaining percentage as a number between 0 and 100
      Since:
      com.adobe.cq.wcm.core.components.models 12.12.0