Top Description Fields Constructors Methods
com.calendarfx.view.page

public Class MonthPage

extends PageBase
Class Inheritance
Imports
com.calendarfx.view.Messages, .MonthView, com.calendarfx.view.print.ViewType, impl.com.calendarfx.view.page.MonthPageSkin, javafx.scene.control.Skin, java.time.format.DateTimeFormatter

A composite view focused on displaying calendar information for a single month. The view consists of the page "chrome" inherited from the superclass and a MonthView. Month Page

Field Summary

Modifier and TypeField and Description
private final MonthView

Constructor Summary

AccessConstructor and Description
public
MonthPage()

Constructs a new month page.

Method Summary

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

Overrides javafx.scene.control.Control.createDefaultSkin.

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

public final MonthView

Returns:

the week view
getMonthView
()

Returns the week view child control.

public final ViewType
getPrintViewType()

Implements abstract com.calendarfx.view.page.PageBase.getPrintViewType.

Returns the type of view used when printing this page.

public final void
goBack()

Overrides com.calendarfx.view.DateControl.goBack.

Makes the control go forward in time by removing one or more days from the current date.

public final void
goForward()

Overrides com.calendarfx.view.DateControl.goForward.

Makes the control go forward in time by adding one or more days to the current date.

Inherited from com.calendarfx.view.page.PageBase:
dateTimeFormatterPropertygetDateTimeFormattergetPropertySheetItemsgetToolBarControlsisShowDateisShowNavigationsetDateTimeFormattersetShowDatesetShowNavigationshowDatePropertyshowNavigationProperty

Field Detail

monthViewback to summary
private final MonthView monthView

Constructor Detail

MonthPageback to summary
public MonthPage()

Constructs a new month page.

Method Detail

createDefaultSkinback to summary
protected Skin<?> createDefaultSkin()

Overrides javafx.scene.control.Control.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
getMonthViewback to summary
public final MonthView getMonthView()

Returns the week view child control. Most of the visualization in this page is done by this view. The page only adds its chrome.

Returns:MonthView

the week view

getPrintViewTypeback to summary
public final ViewType getPrintViewType()

Implements abstract com.calendarfx.view.page.PageBase.getPrintViewType.

Doc from com.calendarfx.view.page.PageBase.getPrintViewType.

Returns the type of view used when printing this page.

Returns:ViewType

The print view type.

Annotations
@Override
goBackback to summary
public final void goBack()

Overrides com.calendarfx.view.DateControl.goBack.

Doc from com.calendarfx.view.DateControl.goBack.

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 DetailedWeekView removes the number of days found in DetailedWeekView#getNumberOfDays().

Annotations
@Override
goForwardback to summary
public final void goForward()

Overrides com.calendarfx.view.DateControl.goForward.

Doc from com.calendarfx.view.DateControl.goForward.

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 DetailedWeekView adds the number of days found in DetailedWeekView#getNumberOfDays().

Annotations
@Override