Class CalendarViewSkin
java.lang.Object
javafx.scene.control.SkinBase<CalendarView>
- All Implemented Interfaces:
javafx.scene.control.Skin<CalendarView>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected javafx.scene.layout.ColumnConstraintscreateColumnConstraints(int numberOfColumns, int columnIndex) Creates the constraints for the given column.protected javafx.scene.layout.RowConstraintscreateRowConstraints(int row) Creates the constraints for the given row.Methods inherited from class GemsSkinBase
dispose, register, register, register, register, register, registerFilter, registerHandlerMethods 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javafx.scene.control.Skin
install
-
Constructor Details
-
CalendarViewSkin
-
-
Method Details
-
createColumnConstraints
protected javafx.scene.layout.ColumnConstraints createColumnConstraints(int numberOfColumns, int columnIndex) Creates the constraints for the given column. The total number of columns can vary, depending on whether the week number column is shown or not.- Parameters:
numberOfColumns- the number of total columns (either 7 or 8)columnIndex- the index of the column for which to create the constraints, -1 indicates the column used for showing the "week of year" numbers- Returns:
- the column constraints for the given column
-
createRowConstraints
protected javafx.scene.layout.RowConstraints createRowConstraints(int row) Creates the constraints for the given row.- Parameters:
row- the index of the row for which to create constraints, -1 indicates the row used for showing the "weekday name"- Returns:
- the row constraints for the given row
-