Interface ProgressBar
- All Superinterfaces:
Component,ComponentExporter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringName of property that defines the completion percentage. -
Method Summary
Modifier and TypeMethodDescriptiondefault floatGet the completed percentagedefault floatGet the remaining percentageMethods inherited from interface com.adobe.cq.wcm.core.components.models.Component
getAppliedCssClasses, getData, getExportedType, getId
-
Field Details
-
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
-