DetailedWeekView
control. A cell factory can be used to customize the appearance of the names.
| Modifier and Type | Class and Description |
|---|---|
| public static class | WeekDayHeaderView.
A cell used by the |
| Modifier and Type | Field and Description |
|---|---|
| private final BooleanProperty | |
| private final ObjectProperty | |
| private static final String | |
| private final ReadOnlyObjectWrapper | |
| private final IntegerProperty | |
| private final ObjectProperty | |
| private final ReadOnlyObjectWrapper | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public | WeekDayHeaderView(int
the number of days to show numberOfDays)Constructs a new week day header view with the given number of days. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final BooleanProperty | Returns: true if the view always shows the first day of the weekA flag used to indicate that the view should always show the first day of
the week (e.g. "Monday") at its beginning even if the
|
| public final ObjectProperty | Returns: the cell factoryA cell factory used for creating instances of |
| protected Skin | createDefaultSkin()
Overrides javafx. Create a new instance of the default skin for this control. |
| public final ReadOnlyObjectProperty | |
| public final Callback | |
| public final int | Returns: the number of days shown by the viewReturns the value of |
| public ObservableList | getPropertySheetItems()
Overrides com. Returns a list of property items that can be shown by the
|
| public final Callback | |
| public final LocalDate | |
| public final boolean | Returns: true if the view always shows the first day of the weekReturns the value of |
| public final IntegerProperty | Returns: the number of days shown by the viewStores the number of days that will be shown by this view. |
| public final ObjectProperty | Returns: the separator factoryA factory used for creating (optional) vertical separators between the week day headers. |
| public final void | setAdjustToFirstDayOfWeek(boolean
if true the view will always show the first day of the week adjust)Sets the value of |
| public final void | setCellFactory(Callback<WeekDayHeaderView, WeekDayHeaderView.
the cell factory factorySets the value of |
| public final void | setNumberOfDays(int
the new number of days shown by the view number)Sets the value of |
| public final void | |
| public final ReadOnlyObjectProperty |
| adjustToFirstDayOfWeek | back to summary |
|---|---|
| private final BooleanProperty adjustToFirstDayOfWeek | |
| cellFactory | back to summary |
|---|---|
| private final ObjectProperty<Callback<WeekDayHeaderView, WeekDayHeaderView. | |
| DEFAULT_STYLE_CLASS | back to summary |
|---|---|
| private static final String DEFAULT_STYLE_CLASS | |
| endDate | back to summary |
|---|---|
| private final ReadOnlyObjectWrapper<LocalDate> endDate | |
| numberOfDays | back to summary |
|---|---|
| private final IntegerProperty numberOfDays | |
| separatorFactory | back to summary |
|---|---|
| private final ObjectProperty<Callback<WeekDayHeaderView, Region>> separatorFactory | |
| startDate | back to summary |
|---|---|
| private final ReadOnlyObjectWrapper<LocalDate> startDate | |
| WEEK_DAY_HEADER_VIEW_CATEGORY | back to summary |
|---|---|
| private static final String WEEK_DAY_HEADER_VIEW_CATEGORY | |
| WeekDayHeaderView | back to summary |
|---|---|
| public WeekDayHeaderView(int numberOfDays) Constructs a new week day header view with the given number of days.
| |
| WeekDayHeaderView | back to summary |
|---|---|
| public WeekDayHeaderView() Constructs a new week day header view. | |
| adjustToFirstDayOfWeekProperty | back to summary |
|---|---|
| public final BooleanProperty adjustToFirstDayOfWeekProperty() A flag used to indicate that the view should always show the first day of
the week (e.g. "Monday") at its beginning even if the
| |
| cellFactoryProperty | back to summary |
|---|---|
| public final ObjectProperty A cell factory used for creating instances of
| |
| createDefaultSkin | back to summary |
|---|---|
| protected Skin Overrides javafx. Doc from javafx. Create a new instance of the default skin for this control. This is called to create a skin for the control if
no skin is provided via CSS | |
| endDateProperty | back to summary |
|---|---|
| public final ReadOnlyObjectProperty The last date shown by the view.
| |
| getCellFactory | back to summary |
|---|---|
| public final Callback Returns the value of
| |
| getNumberOfDays | back to summary |
|---|---|
| public final int getNumberOfDays() Returns the value of
| |
| getPropertySheetItems | back to summary |
|---|---|
| public ObservableList Overrides com. Doc from com. Returns a list of property items that can be shown by the
| |
| getSeparatorFactory | back to summary |
|---|---|
| public final Callback | |
| getStartDate | back to summary |
|---|---|
| public final LocalDate getStartDate() Returns the value of
| |
| isAdjustToFirstDayOfWeek | back to summary |
|---|---|
| public final boolean isAdjustToFirstDayOfWeek() Returns the value of
| |
| numberOfDaysProperty | back to summary |
|---|---|
| public final IntegerProperty numberOfDaysProperty() Stores the number of days that will be shown by this view. This value
needs to be equivalent to the number of days shown by the
| |
| separatorFactoryProperty | back to summary |
|---|---|
| public final ObjectProperty A factory used for creating (optional) vertical separators between the week day headers.
| |
| setAdjustToFirstDayOfWeek | back to summary |
|---|---|
| public final void setAdjustToFirstDayOfWeek(boolean adjust) Sets the value of
| |
| setCellFactory | back to summary |
|---|---|
| public final void setCellFactory(Callback<WeekDayHeaderView, WeekDayHeaderView. Sets the value of
| |
| setNumberOfDays | back to summary |
|---|---|
| public final void setNumberOfDays(int number) Sets the value of
| |
| setSeparatorFactory | back to summary |
|---|---|
| public final void setSeparatorFactory(Callback<WeekDayHeaderView, Region> separatorFactory) | |
| startDateProperty | back to summary |
|---|---|
| public final ReadOnlyObjectProperty The first date shown by the view.
| |
WeekDayHeaderView to display the names of the
weekdays (Mo. 5th, Tue. 6th, ...).
| Modifier and Type | Field and Description |
|---|---|
| private final ObjectProperty | |
| private final ObjectProperty |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final ObjectProperty | |
| public final ObjectProperty | |
| public final LocalDate | |
| public final DateTimeFormatter | |
| public final void | |
| public final void |
| date | back to summary |
|---|---|
| private final ObjectProperty<LocalDate> date | |
| formatter | back to summary |
|---|---|
| private final ObjectProperty<DateTimeFormatter> formatter | |
| WeekDayHeaderCell | back to summary |
|---|---|
| public WeekDayHeaderCell(WeekDayHeaderView view) Constructs a new date cell.
| |
| dateProperty | back to summary |
|---|---|
| public final ObjectProperty The date shown by this cell.
| |
| formatterProperty | back to summary |
|---|---|
| public final ObjectProperty The formatter to be used for the date.
| |
| getDate | back to summary |
|---|---|
| public final LocalDate getDate() Returns the value of
| |
| getFormatter | back to summary |
|---|---|
| public final DateTimeFormatter getFormatter() | |
| setDate | back to summary |
|---|---|
| public final void setDate(LocalDate date) Sets the value of
| |
| setFormatter | back to summary |
|---|---|
| public final void setFormatter(DateTimeFormatter formatter) | |