Klasse MutableCalendarActivityBase<T>
java.lang.Object
com.flexganttfx.model.activity.ActivityBase<T>
com.flexganttfx.model.activity.MutableActivityBase<T>
com.flexganttfx.model.calendar.MutableCalendarActivityBase<T>
- Typparameter:
T- the type of the optional user object
- Alle implementierten Schnittstellen:
Activity, MutableActivity, CalendarActivity
public class MutableCalendarActivityBase<T>
extends MutableActivityBase<T>
implements CalendarActivity
A mutable calendar activity base implementation.
- Seit:
- 1.0
-
Feldübersicht
Von Klasse geerbte Felder ActivityBase
DEFAULT_DURATION, endTime, id, name, startTime, userObject -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungConstructs a new mutable calendar activity.Constructs a new mutable calendar activity with the given name.MutableCalendarActivityBase(String name, Instant startTime, Instant endTime) Constructs a new mutable calendar activity with the given name, start time, and end time.MutableCalendarActivityBase(Instant startTime, Instant endTime) Constructs a new mutable calendar activity with the start time and end time. -
Methodenübersicht
Von Klasse geerbte Methoden MutableActivityBase
addDuration, addDuration, getDuration, setDuration, setEndTime, setName, setStartTimeVon Klasse geerbte Methoden ActivityBase
getEndTime, getId, getName, getStartTime, getUserObject, setUserObject, toStringVon Klasse geerbte Methoden Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden Activity
getEndTime, getId, getName, getStartTime
-
Konstruktordetails
-
MutableCalendarActivityBase
public MutableCalendarActivityBase()Constructs a new mutable calendar activity. The initial start time will be set toInstant.now()and the end time will be equal toInstant.now()plus the value ofActivityBase.DEFAULT_DURATION.- Seit:
- 1.0
-
MutableCalendarActivityBase
Constructs a new mutable calendar activity with the given name. The initial start time will be set toInstant.now()and the end time will be equal toInstant.now()plus the value ofActivityBase.DEFAULT_DURATION.- Parameter:
name- the name of the activity- Seit:
- 1.0
-
MutableCalendarActivityBase
-
MutableCalendarActivityBase
Constructs a new mutable calendar activity with the given name, start time, and end time.- Parameter:
name- the name of the activitystartTime- the start time of the activityendTime- the end time of the activity- Seit:
- 1.0
-