A
- the type of the activities returned by the calendarpublic abstract class CalendarBase<A extends CalendarActivity> extends ActivityRepositoryBase<A> implements Calendar<A>
Calendar
interface.Type | Property and Description |
---|---|
StringProperty |
name
Returns the property used to store the name of the calendar.
|
BooleanProperty |
visible
Returns the property used to store the visibility flag of the calendar.
|
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() . |
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() . |
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
buildEventDispatchChain
public final StringProperty nameProperty
nameProperty
in interface Calendar<A extends CalendarActivity>
getName()
,
setName(String)
public final BooleanProperty visibleProperty
visibleProperty
in interface Calendar<A extends CalendarActivity>
isVisible()
,
setVisible(boolean)
protected CalendarBase(String name)
name
- the name of the calendarpublic final StringProperty nameProperty()
Calendar
nameProperty
in interface Calendar<A extends CalendarActivity>
getName()
,
setName(String)
public final String getName()
nameProperty()
.public final void setName(String name)
nameProperty()
.name
- the calendar namepublic final BooleanProperty visibleProperty()
Calendar
visibleProperty
in interface Calendar<A extends CalendarActivity>
isVisible()
,
setVisible(boolean)
public final boolean isVisible()
visibleProperty()
.public final void setVisible(boolean visible)
visibleProperty()
.visible
- the calendar visibilityCopyright © 2014 Dirk Lemmermann Software & Consulting. All rights reserved.