MonthEntryView.
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private final ObjectProperty | |
| private static final String | |
| private final BooleanProperty | |
| private final BooleanProperty | |
| private final BooleanProperty | |
| private final BooleanProperty | |
| private final BooleanProperty |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Skin | createDefaultSkin()
Overrides javafx. Create a new instance of the default skin for this control. |
| public final ObjectProperty | Returns: the entry view factoryA factory used for creating instances of type |
| public final Callback | Returns: the entry view factoryReturns the value of |
| public ObservableList | getPropertySheetItems()
Overrides com. Returns a list of property items that can be shown by the
|
| public final ZonedDateTime | getZonedDateTimeAt(double
the x coordinate of the input event x, double the y coordinate of the input event y, ZoneId the zoneID for which we query the time zoneId)Implements com. Returns the time at the given location. |
| public void | goBack()
Overrides com. Makes the control go forward in time by removing one or more days from the current date. |
| public void | goForward()
Overrides com. Makes the control go forward in time by adding one or more days to the current date. |
| public final boolean | Returns: true if the current week will be highlightedReturns the value of |
| public final boolean | Returns: true if full-day entries will be shownReturns the value of |
| public final boolean | Returns: true if timed entries will be shownReturns the value of |
| public final boolean | Returns: true if week day names will be shownReturns the value of |
| public final boolean | Returns: true if weekend days will be shown differentlyReturns the value of |
| public final void | setEntryViewFactory(Callback<Entry<?>, MonthEntryView>
the entry view factory factory)Sets the value of |
| public final void | setShowCurrentWeek(boolean
if true will highlight the current week show)Sets the value of |
| public final void | setShowFullDayEntries(boolean
if true full-day entries will be shown show)Sets the value of |
| public final void | setShowTimedEntries(boolean
if true timed entries will be shown show)Sets the value of |
| public final void | setShowWeekdays(boolean
if true will show the names of the week days show)Sets the value of |
| public final void | setShowWeekends(boolean
if true will show weekend days differently show)Sets the value of |
| public final BooleanProperty | Returns: true if the current week will be highlightedControls whether the view will highlight the current week. |
| public final BooleanProperty | Returns: true if full day entries will be shownControls whether the view will show calendar entries that are "full-day" entries (e.g. "Birthday Dirk"). |
| public final BooleanProperty | Returns: true if timed entries will be shownControls whether the view will show calendar entries that are not "full-day" entries (e.g. "soccer training from 6pm till 8pm"). |
| public final BooleanProperty | Returns: true if the week day names will be shownControls whether the view will show the names of the week days ("Mo", "Tu", "We", ...). |
| public final BooleanProperty | Returns: true if the weekend days will be shown differentlyControls whether the view will show weekend days differently than regular week days. |
| DEFAULT_STYLE_CLASS | back to summary |
|---|---|
| private static final String DEFAULT_STYLE_CLASS | |
| entryViewFactory | back to summary |
|---|---|
| private final ObjectProperty<Callback<Entry<?>, MonthEntryView>> entryViewFactory | |
| MONTH_PAGE_CATEGORY | back to summary |
|---|---|
| private static final String MONTH_PAGE_CATEGORY | |
| showCurrentWeek | back to summary |
|---|---|
| private final BooleanProperty showCurrentWeek | |
| showFullDayEntries | back to summary |
|---|---|
| private final BooleanProperty showFullDayEntries | |
| showTimedEntries | back to summary |
|---|---|
| private final BooleanProperty showTimedEntries | |
| showWeekdays | back to summary |
|---|---|
| private final BooleanProperty showWeekdays | |
| showWeekends | back to summary |
|---|---|
| private final BooleanProperty showWeekends | |
| MonthView | back to summary |
|---|---|
| public MonthView() Constructs a new month view. | |
| 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 | |
| entryViewFactoryProperty | back to summary |
|---|---|
| public final ObjectProperty A factory used for creating instances of type Code Example
setEntryViewFactory(entry -> {
return new MonthEntryView(entry);
});
| |
| getEntryViewFactory | back to summary |
|---|---|
| public final Callback 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
| |
| getZonedDateTimeAt | back to summary |
|---|---|
| public final ZonedDateTime getZonedDateTimeAt(double x, double y, ZoneId zoneId) Implements com. Doc from com. Returns the time at the given location.
| |
| goBack | back to summary |
|---|---|
| public void goBack() Overrides com. Doc from com. Makes the control go forward in time by removing one or more days from
the current date. Subclasses override this method to adjust it to their
needs, e.g. the
| |
| goForward | back to summary |
|---|---|
| public void goForward() Overrides com. Doc from com. Makes the control go forward in time by adding one or more days to the
current date. Subclasses override this method to adjust it to their
needs, e.g. the
| |
| isShowCurrentWeek | back to summary |
|---|---|
| public final boolean isShowCurrentWeek() Returns the value of
| |
| isShowFullDayEntries | back to summary |
|---|---|
| public final boolean isShowFullDayEntries() Returns the value of
| |
| isShowTimedEntries | back to summary |
|---|---|
| public final boolean isShowTimedEntries() Returns the value of
| |
| isShowWeekdays | back to summary |
|---|---|
| public final boolean isShowWeekdays() Returns the value of
| |
| isShowWeekends | back to summary |
|---|---|
| public final boolean isShowWeekends() Returns the value of
| |
| setEntryViewFactory | back to summary |
|---|---|
| public final void setEntryViewFactory(Callback<Entry<?>, MonthEntryView> factory) Sets the value of
| |
| setShowCurrentWeek | back to summary |
|---|---|
| public final void setShowCurrentWeek(boolean show) Sets the value of
| |
| setShowFullDayEntries | back to summary |
|---|---|
| public final void setShowFullDayEntries(boolean show) Sets the value of
| |
| setShowTimedEntries | back to summary |
|---|---|
| public final void setShowTimedEntries(boolean show) Sets the value of
| |
| setShowWeekdays | back to summary |
|---|---|
| public final void setShowWeekdays(boolean show) Sets the value of
| |
| setShowWeekends | back to summary |
|---|---|
| public final void setShowWeekends(boolean show) Sets the value of
| |
| showCurrentWeekProperty | back to summary |
|---|---|
| public final BooleanProperty showCurrentWeekProperty() Controls whether the view will highlight the current week. The image
below shows an example:
| |
| showFullDayEntriesProperty | back to summary |
|---|---|
| public final BooleanProperty showFullDayEntriesProperty() Controls whether the view will show calendar entries that are "full-day" entries (e.g. "Birthday Dirk").
| |
| showTimedEntriesProperty | back to summary |
|---|---|
| public final BooleanProperty showTimedEntriesProperty() Controls whether the view will show calendar entries that are not "full-day" entries (e.g. "soccer training from 6pm till 8pm").
| |
| showWeekdaysProperty | back to summary |
|---|---|
| public final BooleanProperty showWeekdaysProperty() Controls whether the view will show the names of the week days ("Mo",
"Tu", "We", ...). The image below shows an example:
| |
| showWeekendsProperty | back to summary |
|---|---|
| public final BooleanProperty showWeekendsProperty() Controls whether the view will show weekend days differently than regular
week days. The image below shows an example:
| |