Top Inners Fields Constructors Methods
impl.com.calendarfx.view

public Class MonthViewSkin

extends DateControlSkin<MonthView>
implements LoadDataSettingsProvider
Class Inheritance
All Implemented Interfaces
impl.com.calendarfx.view.LoadDataSettingsProvider
Imports
com.calendarfx.model.Calendar, .CalendarEvent, .CalendarSource, .Entry, com.calendarfx.util.LoggingDomain, com.calendarfx.view.EntryViewBase.Position, .Messages, .MonthEntryView, .MonthView, .RequestEvent, impl.com.calendarfx.view.util.Util, javafx.application.Platform, javafx.beans.Observable, javafx.beans.value.ChangeListener, javafx.collections.FXCollections, .ObservableList, javafx.css.PseudoClass, javafx.geometry.Insets, .Point2D, .Pos, javafx.scene.Node, javafx.scene.control.Control, .Label, javafx.scene.input.MouseButton, .MouseEvent, javafx.scene.layout.BorderPane, .ColumnConstraints, .GridPane, .Pane, .Priority, .Region, .RowConstraints, .VBox, javafx.scene.shape.Rectangle, javafx.util.Callback, java.text.MessageFormat, java.time.DayOfWeek, .LocalDate, .LocalTime, .Year, .YearMonth, .ZoneId, .ZonedDateTime, java.time.format.DateTimeFormatter, .TextStyle, java.time.temporal.TemporalAdjusters, .WeekFields, java.util.ArrayList, .Collections, .HashMap, .List, .Locale, .Map, .Objects, .Set, java.util.stream.Collectors

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv class
pack-priv class

Field Summary

Modifier and TypeField and Description
private final Map<LocalDate, MonthViewSkin.MonthDayView>
private final DataLoader
private static final String
private static final String
private YearMonth
private final GridPane
private int[][]
private final List<Map<Object, Integer>>
private final PseudoClass

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
protected void
protected void
protected void
protected void
protected void
public List<CalendarSource>
public Control
public LocalDate
public String
public LocalDate
public ZonedDateTime
getZonedDateTimeAt(double x, double y, ZoneId zoneId)

public ZoneId
public boolean
protected void
private void
private void
private void
private void
protected void
Inherited from impl.com.calendarfx.view.DateControlSkin:
entryLocationChangedentryTitleChangedentryUserObjectChangedisRelevantisRelevant

Field Detail

controlsMapback to summary
private final Map<LocalDate, MonthViewSkin.MonthDayView> controlsMap
dataLoaderback to summary
private final DataLoader dataLoader
DAY_OF_WEEK_LABELback to summary
private static final String DAY_OF_WEEK_LABEL
DAY_OF_WEEKEND_LABELback to summary
private static final String DAY_OF_WEEKEND_LABEL
displayedYearMonthback to summary
private YearMonth displayedYearMonth
gridPaneback to summary
private final GridPane gridPane
numberOfFullDayEntriesback to summary
private int[][] numberOfFullDayEntries
positionMapsback to summary
private final List<Map<Object, Integer>> positionMaps
selectedClassback to summary
private final PseudoClass selectedClass

Constructor Detail

MonthViewSkinback to summary
public MonthViewSkin(MonthView view)

Method Detail

calendarChangedback to summary
protected void calendarChanged(Calendar<T> calendar)

Overrides impl.com.calendarfx.view.DateControlSkin.calendarChanged.

Annotations
@Override
calendarVisibilityChangedback to summary
protected void calendarVisibilityChanged()

Overrides impl.com.calendarfx.view.DateControlSkin.calendarVisibilityChanged.

Annotations
@Override
entryCalendarChangedback to summary
protected void entryCalendarChanged(CalendarEvent evt)

Overrides impl.com.calendarfx.view.DateControlSkin.entryCalendarChanged.

Annotations
@Override
entryFullDayChangedback to summary
protected void entryFullDayChanged(CalendarEvent evt)

Overrides impl.com.calendarfx.view.DateControlSkin.entryFullDayChanged.

Annotations
@Override
entryIntervalChangedback to summary
protected void entryIntervalChanged(CalendarEvent evt)

Overrides impl.com.calendarfx.view.DateControlSkin.entryIntervalChanged.

Annotations
@Override
entryRecurrenceRuleChangedback to summary
protected void entryRecurrenceRuleChanged(CalendarEvent evt)

Overrides impl.com.calendarfx.view.DateControlSkin.entryRecurrenceRuleChanged.

Annotations
@Override
getCalendarSourcesback to summary
public List<CalendarSource> getCalendarSources()

Implements impl.com.calendarfx.view.LoadDataSettingsProvider.getCalendarSources.

Annotations
@Override
getControlback to summary
public Control getControl()

Implements impl.com.calendarfx.view.LoadDataSettingsProvider.getControl.

Annotations
@Override
getLoadEndDateback to summary
public LocalDate getLoadEndDate()

Implements impl.com.calendarfx.view.LoadDataSettingsProvider.getLoadEndDate.

Annotations
@Override
getLoaderNameback to summary
public String getLoaderName()

Implements impl.com.calendarfx.view.LoadDataSettingsProvider.getLoaderName.

Annotations
@Override
getLoadStartDateback to summary
public LocalDate getLoadStartDate()

Implements impl.com.calendarfx.view.LoadDataSettingsProvider.getLoadStartDate.

Annotations
@Override
getZonedDateTimeAtback to summary
public ZonedDateTime getZonedDateTimeAt(double x, double y, ZoneId zoneId)
getZoneIdback to summary
public ZoneId getZoneId()

Implements impl.com.calendarfx.view.LoadDataSettingsProvider.getZoneId.

Annotations
@Override
isCalendarVisibleback to summary
public boolean isCalendarVisible(Calendar<T> calendar)

Implements impl.com.calendarfx.view.LoadDataSettingsProvider.isCalendarVisible.

Annotations
@Override
refreshDataback to summary
protected void refreshData()

Overrides impl.com.calendarfx.view.DateControlSkin.refreshData.

Annotations
@Override
updateDaySelectionback to summary
private void updateDaySelection()
updateEntriesback to summary
private void updateEntries(String reason)
updateSelectionback to summary
private void updateSelection()
updateViewback to summary
private void updateView()
zoneIdChangedback to summary
protected void zoneIdChanged()

Overrides impl.com.calendarfx.view.DateControlSkin.zoneIdChanged.

Annotations
@Override
impl.com.calendarfx.view back to summary

pack-priv Class MonthViewSkin.MonthDayEntriesPane

extends Pane
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final LocalDate
private final int
private final ObservableList<Entry<?>>
private static final String
private final Label
private static final String
private final int

Constructor Summary

AccessConstructor and Description
pack-priv
MonthDayEntriesPane(LocalDate date, int week, int day)

Method Summary

Modifier and TypeMethod and Description
private Node
createNode(Entry<?> entry)

public final ObservableList<Entry<?>>
protected void
layoutChildren()

Overrides javafx.scene.Parent.layoutChildren.

Invoked during the layout pass to layout the children in this Parent.

private void
Inherited from javafx.scene.layout.Pane:
getChildren

Field Detail

dateback to summary
private final LocalDate date
dayback to summary
private final int day
entriesback to summary
private final ObservableList<Entry<?>> entries
MONTH_DAY_MORE_LABELback to summary
private static final String MONTH_DAY_MORE_LABEL
moreLabelback to summary
private final Label moreLabel
SPACEback to summary
private static final String SPACE
weekback to summary
private final int week

Constructor Detail

MonthDayEntriesPaneback to summary
pack-priv MonthDayEntriesPane(LocalDate date, int week, int day)

Method Detail

createNodeback to summary
private Node createNode(Entry<?> entry)
getEntriesback to summary
public final ObservableList<Entry<?>> getEntries()
layoutChildrenback to summary
protected void layoutChildren()

Overrides javafx.scene.Parent.layoutChildren.

Doc from javafx.scene.Parent.layoutChildren.

Invoked during the layout pass to layout the children in this Parent. By default it will only set the size of managed, resizable content to their preferred sizes and does not do any node positioning.

Subclasses should override this function to layout content as needed.

Annotations
@Override
updateback to summary
private void update()
impl.com.calendarfx.view back to summary

pack-priv Class MonthViewSkin.MonthDayView

extends VBox
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final String
private final LocalDate
private static final String
private static final String
private final MonthViewSkin.MonthDayEntriesPane
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String

Constructor Summary

AccessConstructor and Description
pack-priv
MonthDayView(LocalDate date, int week, int day)

Method Summary

Modifier and TypeMethod and Description
pack-priv final LocalDate
pack-priv final MonthViewSkin.MonthDayEntriesPane
Inherited from javafx.scene.layout.VBox:
alignmentPropertyclearConstraintscomputeMinHeightcomputeMinWidthcomputePrefHeightcomputePrefWidthfillWidthPropertygetAlignmentgetClassCssMetaDatagetContentBiasgetCssMetaDatagetMargingetSpacinggetVgrowisFillWidthlayoutChildrenrequestLayoutsetAlignmentsetFillWidthsetMarginsetSpacingsetVgrowspacingProperty

Field Detail

CURRENT_WEEK_OF_YEAR_LABELback to summary
private static final String CURRENT_WEEK_OF_YEAR_LABEL
dateback to summary
private final LocalDate date
DAY_NOT_OF_MONTH_LABELback to summary
private static final String DAY_NOT_OF_MONTH_LABEL
DAY_OF_MONTH_LABELback to summary
private static final String DAY_OF_MONTH_LABEL
entriesPaneback to summary
private final MonthViewSkin.MonthDayEntriesPane entriesPane
FIRST_DAY_OF_WEEKback to summary
private static final String FIRST_DAY_OF_WEEK
LAST_DAY_OF_WEEKback to summary
private static final String LAST_DAY_OF_WEEK
MONTH_DAYback to summary
private static final String MONTH_DAY
MONTH_DAY_CURRENT_WEEKback to summary
private static final String MONTH_DAY_CURRENT_WEEK
MONTH_DAY_ENTRIES_PANEback to summary
private static final String MONTH_DAY_ENTRIES_PANE
MONTH_DAY_HEADERback to summary
private static final String MONTH_DAY_HEADER
MONTH_DAY_TODAYback to summary
private static final String MONTH_DAY_TODAY
TODAY_LABELback to summary
private static final String TODAY_LABEL
WEEK_OF_YEAR_LABELback to summary
private static final String WEEK_OF_YEAR_LABEL
WEEKEND_DAYback to summary
private static final String WEEKEND_DAY

Constructor Detail

MonthDayViewback to summary
pack-priv MonthDayView(LocalDate date, int week, int day)

Method Detail

getDateback to summary
pack-priv final LocalDate getDate()
getEntriesPaneback to summary
pack-priv final MonthViewSkin.MonthDayEntriesPane getEntriesPane()