Top Description Fields Constructors Methods
com.calendarfx.view

public Class WeekDayView

extends DayView
Class Inheritance
Imports
impl.com.calendarfx.view.WeekDayViewSkin, javafx.beans.property.ReadOnlyObjectProperty, .ReadOnlyObjectWrapper, javafx.collections.MapChangeListener, javafx.scene.control.Skin

A specialization of the regular DayView in order to support some customized styling / customized behaviour. Additionally, this view always has a reference to the WeekView where it is being used.

Field Summary

Modifier and TypeField and Description
private static final String
private final ReadOnlyObjectWrapper<WeekView>

Constructor Summary

AccessConstructor and Description
public
WeekDayView()

Constructs a new day view.

Method Summary

Modifier and TypeMethod and Description
protected Skin<?>
createDefaultSkin()

Overrides com.calendarfx.view.DayView.createDefaultSkin.

Create a new instance of the default skin for this control.

public final WeekView

Returns:

the week view
getWeekView
()

Returns the value of weekViewProperty().

public final ReadOnlyObjectProperty<WeekView>

Returns:

the week view
weekViewProperty
()

The week view where the view is being used.

Inherited from com.calendarfx.view.DayView:
entryViewFactoryPropertygetCalendarAtgetEntryViewFactorysetEntryViewFactory

Field Detail

WEEKDAY_VIEWback to summary
private static final String WEEKDAY_VIEW
weekViewback to summary
private final ReadOnlyObjectWrapper<WeekView> weekView

Constructor Detail

WeekDayViewback to summary
public WeekDayView()

Constructs a new day view.

Method Detail

createDefaultSkinback to summary
protected Skin<?> createDefaultSkin()

Overrides com.calendarfx.view.DayView.createDefaultSkin.

Doc from javafx.scene.control.Control.createDefaultSkin.

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 -fx-skin or set explicitly in a sub-class with setSkin(...).

Returns:Skin<?>

new instance of default skin for this control. If null then the control will have no skin unless one is provided by css.

Annotations
@Override
getWeekViewback to summary
public final WeekView getWeekView()

Returns the value of weekViewProperty().

Returns:WeekView

the week view

weekViewPropertyback to summary
public final ReadOnlyObjectProperty<WeekView> weekViewProperty()

The week view where the view is being used.

Returns:ReadOnlyObjectProperty<WeekView>

the week view