DayEntryView.
Applications can plug in their own factory to customize the appearance of
entry views.
New calendar entries can be created by double clicking in the background of
the view.
The image below shows an example of this view with three entry views and
compressed early hours.
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String | |
| private static final String | |
| private final ObjectProperty |
| 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 day entry view factoryA factory used for creating instances of |
| public Optional | getCalendarAt(double
the x-coordinate to check x, double the y-coordinate to check y)Overrides com. Returns the calendar shown at the given location. |
| public final Callback | Returns: the entry view factoryReturns the value of |
| public final void | setEntryViewFactory(Callback<Entry<?>, DayEntryView>
the entry view factory factory)Sets the value of |
| private void |
| DAY_VIEW | back to summary |
|---|---|
| private static final String DAY_VIEW | |
| DAY_VIEW_TODAY | back to summary |
|---|---|
| private static final String DAY_VIEW_TODAY | |
| DAY_VIEW_WEEKEND_DAY | back to summary |
|---|---|
| private static final String DAY_VIEW_WEEKEND_DAY | |
| entryViewFactory | back to summary |
|---|---|
| private final ObjectProperty<Callback<Entry<?>, DayEntryView>> entryViewFactory | |
| DayView | back to summary |
|---|---|
| public DayView() Constructs a new day 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
| |
| getCalendarAt | back to summary |
|---|---|
| public Optional Overrides com. Doc from com. Returns the calendar shown at the given location. This method returns an
optional value. Calling this method might or might not make sense,
depending on the type of control and the current layout (see
| |
| getEntryViewFactory | back to summary |
|---|---|
| public final Callback Returns the value of
| |
| setEntryViewFactory | back to summary |
|---|---|
| public final void setEntryViewFactory(Callback<Entry<?>, DayEntryView> factory) Sets the value of
| |
| updateStyleClasses | back to summary |
|---|---|
| private void updateStyleClasses() | |