Klasse CalendarActivityBase<T>
java.lang.Object
com.flexganttfx.model.activity.ActivityBase<T>
com.flexganttfx.model.calendar.CalendarActivityBase<T>
- Typparameter:
T- the type of an optional user object
- Alle implementierten Schnittstellen:
Activity, CalendarActivity
- Bekannte direkte Unterklassen:
WeekendCalendarActivity
The base implementation of a calendar activity.
- Seit:
- 1.0
-
Feldübersicht
Von Klasse geerbte Felder ActivityBase
DEFAULT_DURATION, endTime, id, name, startTime, userObject -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungConstructs a new calendar activity.CalendarActivityBase(String name) Constructs a new calendar activity with the given name.CalendarActivityBase(String name, Instant startTime, Instant endTime) Constructs a new calendar activity with the given name, start time, and end time.CalendarActivityBase(Instant startTime, Instant endTime) Constructs a new calendar activity with the start time and end time. -
Methodenübersicht
Von 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
-
CalendarActivityBase
public CalendarActivityBase()Constructs a new 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
-
CalendarActivityBase
Constructs a new 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
-
CalendarActivityBase
-
CalendarActivityBase
-