Klasse CalendarBase<A extends CalendarActivity>
java.lang.Object
com.flexganttfx.model.repository.ActivityRepositoryBase<A>
com.flexganttfx.model.calendar.CalendarBase<A>
- Typparameter:
A- the type of the activities returned by the calendar
- Alle implementierten Schnittstellen:
ActivityRepository<A>,Calendar<A>,EventTarget
- Bekannte direkte Unterklassen:
WeekendCalendar
public abstract class CalendarBase<A extends CalendarActivity>
extends ActivityRepositoryBase<A>
implements Calendar<A>
An abstract base implementation of an activity repository that implements the
Calendar interface.- Seit:
- 1.0
-
Eigenschaftsübersicht
EigenschaftenTypEigenschaftBeschreibungfinal StringPropertyReturns the property used to store the name of the calendar.final BooleanPropertyReturns the property used to store the visibility flag of the calendar. -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedCalendarBase(String name) Constructs a new calendar. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfinal StringgetName()Returns the value of thenameProperty().final booleanReturns the value of thevisibleProperty().final StringPropertyReturns the property used to store the name of the calendar.final voidSets the value of thenameProperty().final voidsetVisible(boolean visible) Sets the value of thevisibleProperty().final BooleanPropertyReturns the property used to store the visibility flag of the calendar.Von Klasse geerbte Methoden com.flexganttfx.model.repository.ActivityRepositoryBase
addEventHandler, buildEventDispatchChain, fireEvent, getEarliestTimeUsed, getLatestTimeUsed, removeEventHandlerVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden com.flexganttfx.model.ActivityRepository
addEventHandler, getActivities, getEarliestTimeUsed, getLatestTimeUsed, removeEventHandlerVon Schnittstelle geerbte Methoden javafx.event.EventTarget
buildEventDispatchChain
-
Eigenschaftsdetails
-
name
- Angegeben von:
namePropertyin SchnittstelleCalendar<A extends CalendarActivity>- Gibt zurück:
- the name of the calendar, for example ("Weekends")
- Siehe auch:
-
visible
- Angegeben von:
visiblePropertyin SchnittstelleCalendar<A extends CalendarActivity>- Gibt zurück:
- the calendar's visibility
- Siehe auch:
-
-
Konstruktordetails
-
CalendarBase
Constructs a new calendar.- Parameter:
name- the name of the calendar- Seit:
- 1.0
-
-
Methodendetails
-
nameProperty
Beschreibung aus Schnittstelle kopiert:CalendarReturns the property used to store the name of the calendar. The name might be displayed by the UI (e.g. in a context menu).- Angegeben von:
namePropertyin SchnittstelleCalendar<A extends CalendarActivity>- Gibt zurück:
- die Eigenschaft
name - Siehe auch:
-
getName
Returns the value of thenameProperty().- Gibt zurück:
- the calendar name
- Seit:
- 1.0
-
setName
Sets the value of thenameProperty().- Parameter:
name- the calendar name- Seit:
- 1.0
-
visibleProperty
Beschreibung aus Schnittstelle kopiert:CalendarReturns the property used to store the visibility flag of the calendar. Calendars can be shown / hidden by the user.- Angegeben von:
visiblePropertyin SchnittstelleCalendar<A extends CalendarActivity>- Gibt zurück:
- die Eigenschaft
visible - Siehe auch:
-
isVisible
public final boolean isVisible()Returns the value of thevisibleProperty().- Gibt zurück:
- the calendar visibility
- Seit:
- 1.0
-
setVisible
public final void setVisible(boolean visible) Sets the value of thevisibleProperty().- Parameter:
visible- the calendar visibility- Seit:
- 1.0
-