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

public Class DatePopOver

extends PopOver
Class Inheritance
Imports
com.calendarfx.model.Calendar, .CalendarSource, .Entry, com.calendarfx.view.CalendarView, .DateControl, javafx.scene.control.Label, org.controlsfx.control.PopOver, java.time.LocalDate, java.util.ArrayList, .Collections, .List, .Map

A popover that shows the calendar entries for a given date. Date PopOver

Field Summary

Modifier and TypeField and Description
private final LocalDate
private final DateControl

Constructor Summary

AccessConstructor and Description
public
DatePopOver(DateControl
the date control where the popover is being used
control
,
LocalDate
the date for which to show the entries
date
)

Constructs a new popover for the given date.

Method Summary

Modifier and TypeMethod and Description
private List<Entry<?>>
public final LocalDate

Returns:

the date
getDate
()

Returns the date where the popover is being used.

public final DateControl

Returns:

the date control
getDateControl
()

Returns the date control where the popover is being used.

Inherited from org.controlsfx.control.PopOver:
animatedPropertyarrowIndentPropertyarrowLocationPropertyarrowSizePropertycloseButtonEnabledPropertycontentNodePropertycornerRadiusPropertycreateDefaultSkindetachdetachablePropertydetachedPropertyfadeInDurationPropertyfadeOutDurationPropertygetArrowIndentgetArrowLocationgetArrowSizegetContentNodegetCornerRadiusgetFadeInDurationgetFadeOutDurationgetRootgetTitleheaderAlwaysVisiblePropertyhidehideisAnimatedisCloseButtonEnabledisDetachableisDetachedisHeaderAlwaysVisiblesetAnimatedsetArrowIndentsetArrowLocationsetArrowSizesetCloseButtonEnabledsetContentNodesetCornerRadiussetDetachablesetDetachedsetFadeInDurationsetFadeOutDurationsetHeaderAlwaysVisiblesetTitleshowshowshowtitleProperty

Field Detail

dateback to summary
private final LocalDate date
dateControlback to summary
private final DateControl dateControl

Constructor Detail

DatePopOverback to summary
public DatePopOver(DateControl control, LocalDate date)

Constructs a new popover for the given date.

Parameters
control:DateControl

the date control where the popover is being used

date:LocalDate

the date for which to show the entries

Method Detail

findEntriesback to summary
private List<Entry<?>> findEntries()
getDateback to summary
public final LocalDate getDate()

Returns the date where the popover is being used.

Returns:LocalDate

the date

getDateControlback to summary
public final DateControl getDateControl()

Returns the date control where the popover is being used.

Returns:DateControl

the date control