A
- the type of the activities returned by the calendarpublic abstract class CalendarBase<A extends CalendarActivity> extends ActivityRepositoryBase<A> implements Calendar<A>
Calendar
interface.Modifier | Constructor and Description |
---|---|
protected |
CalendarBase(String name)
Constructs a new calendar.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the value of the
nameProperty() . |
boolean |
isVisible()
Returns the value of the
visibleProperty() . |
javafx.beans.property.StringProperty |
nameProperty()
Returns the property used to store the name of the calendar.
|
void |
setName(String name)
Sets the value of the
nameProperty() . |
void |
setVisible(boolean visible)
Sets the value of the
visibleProperty() . |
javafx.beans.property.BooleanProperty |
visibleProperty()
Returns the property used to store the visibility flag of the calendar.
|
addEventHandler, buildEventDispatchChain, fireEvent, getEarliestTimeUsed, getLatestTimeUsed, removeEventHandler
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addEventHandler, getActivities, getEarliestTimeUsed, getLatestTimeUsed, removeEventHandler
protected CalendarBase(String name)
name
- the name of the calendarpublic final javafx.beans.property.StringProperty nameProperty()
Calendar
nameProperty
in interface Calendar<A extends CalendarActivity>
public final String getName()
nameProperty()
.public final void setName(String name)
nameProperty()
.name
- the calendar namepublic final javafx.beans.property.BooleanProperty visibleProperty()
Calendar
visibleProperty
in interface Calendar<A extends CalendarActivity>
public final boolean isVisible()
visibleProperty()
.public final void setVisible(boolean visible)
visibleProperty()
.visible
- the calendar visibilityCopyright © 2020 Dirk Lemmermann Software & Consulting. All rights reserved.