- All Superinterfaces:
Activity
- All Known Subinterfaces:
MutableCompletableActivity
- All Known Implementing Classes:
CompletableActivityBase
,MutableCompletableActivityBase
public interface CompletableActivity extends Activity
An add-on interface for any
Activity
that wants to visualize a
percentage complete value. This is often done by filling a section of the
activity bar depending on the value represented.- Since:
- 1.0
-
Method Summary
Modifier and Type Method Description double
getPercentageComplete()
Returns the "percentage complete" value of the activity.Methods inherited from interface com.flexganttfx.model.Activity
getEndTime, getId, getName, getStartTime
-
Method Details
-
getPercentageComplete
double getPercentageComplete()Returns the "percentage complete" value of the activity. Must be a value between 0 and 100%.- Returns:
- the percentage complete value [0, 100];
-