- All Superinterfaces:
Activity
- All Known Subinterfaces:
MutableChartActivity
,MutableCompletableActivity
,MutableHighLowChartActivity
- All Known Implementing Classes:
MutableActivityBase
,MutableCalendarActivityBase
,MutableChartActivityBase
,MutableCompletableActivityBase
,MutableHighLowChartActivityBase
public interface MutableActivity extends Activity
An add-on interface that needs to be implemented by any activity that can be
edited interactively by the user.
- Since:
- 1.0
-
Method Summary
Modifier and Type Method Description void
setEndTime(Instant time)
Sets a new end time on the activity.void
setName(String name)
Sets the name of the activity.void
setStartTime(Instant time)
Sets a new start time on the activity.Methods inherited from interface com.flexganttfx.model.Activity
getEndTime, getId, getName, getStartTime
-
Method Details
-
setName
Sets the name of the activity.- Parameters:
name
- the new name of the activity- Since:
- 1.0
-
setStartTime
Sets a new start time on the activity.- Parameters:
time
- the new start time- Since:
- 1.0
-
setEndTime
Sets a new end time on the activity.- Parameters:
time
- the new end time- Since:
- 1.0
-