Klasse WeekendCalendarActivity
java.lang.Object
com.flexganttfx.model.activity.ActivityBase<Object>
com.flexganttfx.model.calendar.CalendarActivityBase<Object>
com.flexganttfx.model.calendar.WeekendCalendarActivity
- Alle implementierten Schnittstellen:
Activity,CalendarActivity
A specialized calendar activity used to represent weekend days (e.g.
Saturday, Sunday).
- Seit:
- 1.0
-
Feldübersicht
Von Klasse geerbte Felder com.flexganttfx.model.activity.ActivityBase
DEFAULT_DURATION, endTime, id, name, startTime, userObject -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungWeekendCalendarActivity(String name, DayOfWeek day) Constructs a new weekend calendar activity with the given name.WeekendCalendarActivity(String name, Instant startTime, Instant endTime, DayOfWeek day) Constructs a new weekend calendar activity with the given name, start time, and end time.Constructs a new weekend calendar activity.WeekendCalendarActivity(Instant startTime, Instant endTime, DayOfWeek day) Constructs a new weekend calendar activity with the start time and end time. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfinal DayOfWeekReturns the week day that this activity is representing, e.g.Von Klasse geerbte Methoden com.flexganttfx.model.activity.ActivityBase
getEndTime, getId, getName, getStartTime, getUserObject, setUserObject, toStringVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden com.flexganttfx.model.Activity
getEndTime, getId, getName, getStartTime
-
Konstruktordetails
-
WeekendCalendarActivity
Constructs a new weekend 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.- Parameter:
day- the day of week that this activity is representing- Seit:
- 1.0
-
WeekendCalendarActivity
Constructs a new weekend 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 activityday- the day of week that this activity is representing- Seit:
- 1.0
-
WeekendCalendarActivity
Constructs a new weekend calendar activity with the start time and end time.- Parameter:
startTime- the start time of the activityendTime- the end time of the activityday- the day of week that this activity is representing- Seit:
- 1.0
-
WeekendCalendarActivity
Constructs a new weekend 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 activityday- the day of week that this activity is representing- Seit:
- 1.0
-
-
Methodendetails
-
getDayOfWeek
Returns the week day that this activity is representing, e.g.DayOfWeek.SUNDAY.- Gibt zurück:
- the day of week represented by this activity
- Seit:
- 1.0
-