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.Buttonprotected CalendarSkin.CalendarGridprotected LocalDate[]protected final List<javafx.scene.control.DateCell> protected final List<javafx.scene.control.DateCell> protected final intprotected javafx.scene.control.Buttonprotected javafx.scene.control.DateCellprotected javafx.scene.control.Labelprotected final javafx.scene.layout.VBoxprotected final List<javafx.scene.control.DateCell> protected javafx.scene.control.LabelFields inherited from class atlantafx.base.controls.BehaviorSkinBase
behavior -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanvoidprotected javafx.scene.control.DateCellprotected voidAn abstract method for creating the behavior instance to be used by this skin.protected javafx.scene.layout.HBoxprotected voidcreateUI()javafx.beans.property.ObjectProperty<YearMonth> protected StringformatMonth(YearMonth yearMonth) protected StringformatYear(YearMonth yearMonth) voidforward(int offset, ChronoUnit unit, boolean focusDayCell) intintThe primary chronology for display.javafx.scene.ScenegetScene()voidvoidgoToDayCell(javafx.scene.control.DateCell dateCell, int offset, ChronoUnit unit, boolean focusDayCell) voidrefresh()voidvoidselectDayCell(javafx.scene.control.DateCell dateCell) voidvoidvoidvoidvoidvoidMethods inherited from class atlantafx.base.controls.BehaviorSkinBase
dispose, getBehavior, getControl, unregisterListenersMethods 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, unregisterListChangeListenersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
displayedYearMonthproperty
-
getFirstDayOfMonth
-
createDefaultBehavior
Description copied from class:BehaviorSkinBaseAn abstract method for creating the behavior instance to be used by this skin.- Specified by:
createDefaultBehaviorin 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()
-