java.lang.Object
javafx.scene.control.SkinBase<Calendar>
atlantafx.base.controls.BehaviorSkinBase<Calendar,CalendarBehavior>
atlantafx.base.controls.CalendarSkin
-
Nested Class Summary
Nested Classes -
Property Summary
Properties -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected javafx.scene.control.Button
protected CalendarSkin.CalendarGrid
protected LocalDate[]
protected final List
<javafx.scene.control.DateCell> protected final List
<javafx.scene.control.DateCell> protected final int
protected javafx.scene.control.Button
protected javafx.scene.control.DateCell
protected javafx.scene.control.Label
protected final javafx.scene.layout.VBox
protected final List
<javafx.scene.control.DateCell> protected javafx.scene.control.Label
Fields inherited from class atlantafx.base.controls.BehaviorSkinBase
behavior
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
void
protected javafx.scene.control.DateCell
protected void
An abstract method for creating the behavior instance to be used by this skin.protected javafx.scene.layout.HBox
protected void
createUI()
javafx.beans.property.ObjectProperty
<YearMonth> protected String
formatMonth
(YearMonth yearMonth) protected String
formatYear
(YearMonth yearMonth) void
forward
(int offset, ChronoUnit unit, boolean focusDayCell) int
int
The primary chronology for display.javafx.scene.Scene
getScene()
void
void
goToDayCell
(javafx.scene.control.DateCell dateCell, int offset, ChronoUnit unit, boolean focusDayCell) void
refresh()
void
void
selectDayCell
(javafx.scene.control.DateCell dateCell) void
void
void
void
void
void
Methods inherited from class atlantafx.base.controls.BehaviorSkinBase
dispose, getBehavior, getControl, unregisterListeners
Methods inherited from class javafx.scene.control.SkinBase
computeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, consumeMouseEvents, executeAccessibleAction, getChildren, getClassCssMetaData, getCssMetaData, getNode, getSkinnable, layoutChildren, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, queryAccessibleAttribute, registerChangeListener, registerInvalidationListener, registerListChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners, unregisterInvalidationListeners, unregisterListChangeListeners
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javafx.scene.control.Skin
install
-
Property Details
-
displayedYearMonth
- See Also:
-
-
Field Details
-
rootPane
protected final javafx.scene.layout.VBox rootPane -
calendarGrid
-
forwardButton
protected javafx.scene.control.Button forwardButton -
backButton
protected javafx.scene.control.Button backButton -
monthLabel
protected javafx.scene.control.Label monthLabel -
yearLabel
protected javafx.scene.control.Label yearLabel -
dayNameCells
-
weekNumberCells
-
dayCells
-
dayCellDates
-
lastFocusedDayCell
protected javafx.scene.control.DateCell lastFocusedDayCell -
daysPerWeek
protected final int daysPerWeek
-
-
Constructor Details
-
CalendarSkin
-
-
Method Details
-
displayedYearMonthProperty
- Returns:
- the
displayedYearMonth
property
-
getFirstDayOfMonth
-
createDefaultBehavior
Description copied from class:BehaviorSkinBase
An abstract method for creating the behavior instance to be used by this skin.- Specified by:
createDefaultBehavior
in classBehaviorSkinBase<Calendar,
CalendarBehavior>
-
getLocale
-
getScene
public javafx.scene.Scene getScene() -
getPrimaryChronology
The primary chronology for display. -
getMonthsPerYear
public int getMonthsPerYear() -
getDaysPerWeek
public int getDaysPerWeek() -
createUI
protected void createUI() -
createMonthYearPane
protected javafx.scene.layout.HBox createMonthYearPane() -
refresh
public void refresh() -
updateValues
public void updateValues() -
updateGrid
public void updateGrid() -
updateDayNameCells
public void updateDayNameCells() -
updateWeekNumberCells
public void updateWeekNumberCells() -
updateDayCells
public void updateDayCells() -
updateMonthYearPane
public void updateMonthYearPane() -
formatMonth
-
formatYear
-
forward
-
goToDayCell
public void goToDayCell(javafx.scene.control.DateCell dateCell, int offset, ChronoUnit unit, boolean focusDayCell) -
goToDate
-
selectDayCell
public void selectDayCell(javafx.scene.control.DateCell dateCell) -
createDayCells
protected void createDayCells() -
createDayCell
protected javafx.scene.control.DateCell createDayCell() -
rememberFocusedDayCell
public void rememberFocusedDayCell() -
canGoMonthBack
public boolean canGoMonthBack() -
canGoMonthForward
public boolean canGoMonthForward() -
canGoYearBack
public boolean canGoYearBack() -
canGoYearForward
public boolean canGoYearForward() -
clearFocus
public void clearFocus()
-