public class CalendarSource extends Object
SourceView
control.Type | Property and Description |
---|---|
StringProperty |
name
The property used to store the name of the calendar source.
|
Constructor and Description |
---|
CalendarSource()
Constructs a new untitled calendar source.
|
CalendarSource(String name)
Constructs a new calendar source with the given name.
|
Modifier and Type | Method and Description |
---|---|
ObservableList<Calendar> |
getCalendars()
Returns the list of calendars that belong to this calendar source.
|
String |
getName()
Returns the value fo
nameProperty() . |
StringProperty |
nameProperty()
The property used to store the name of the calendar source.
|
void |
setName(String name)
Sets the value of
nameProperty() . |
String |
toString() |
public final StringProperty nameProperty
getName()
,
setName(String)
public CalendarSource()
public CalendarSource(String name)
name
- the name of the calendar source, e.g. "Google", "Apple"public final StringProperty nameProperty()
getName()
,
setName(String)
public final void setName(String name)
nameProperty()
.name
- the new name for the calendar sourcepublic final String getName()
nameProperty()
.public final ObservableList<Calendar> getCalendars()
Copyright © 2017 Dirk Lemmermann Software & Consulting. All rights reserved.