Schnittstelle MutableActivityRepository<A extends Activity>
- Typparameter:
A- the activity type
- Alle Superschnittstellen:
ActivityRepository<A>,EventTarget
- Alle bekannten Implementierungsklassen:
IntervalTreeActivityRepository,ListActivityRepository,MutableActivityRepositoryBase
The required interface for a repository that is also mutable (activities
can be added and removed).
- Seit:
- 1.0
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaddActivity(ActivityRef<A> activity) Adds the given activity to the repository.voidRemoves all activities from all layers from the repository.voidclearActivities(Layer layer) Removes the activities on the given layer from the repository.voidremoveActivity(ActivityRef<A> activity) Removes the given activity from the repository.Von Schnittstelle geerbte Methoden com.flexganttfx.model.ActivityRepository
addEventHandler, getActivities, getEarliestTimeUsed, getLatestTimeUsed, removeEventHandlerVon Schnittstelle geerbte Methoden javafx.event.EventTarget
buildEventDispatchChain
-
Methodendetails
-
addActivity
Adds the given activity to the repository.- Parameter:
activity- the activity- Seit:
- 1.0
-
removeActivity
Removes the given activity from the repository.- Parameter:
activity- the activity- Seit:
- 1.0
-
clearActivities
void clearActivities()Removes all activities from all layers from the repository.- Seit:
- 1.0
-
clearActivities
Removes the activities on the given layer from the repository.- Parameter:
layer- the layer to clear- Seit:
- 1.0
-