Class DateCellSkin
java.lang.Object
javafx.scene.control.SkinBase<CalendarView.DateCell>
javafx.scene.control.skin.LabeledSkinBase<CalendarView.DateCell>
javafx.scene.control.skin.CellSkinBase<CalendarView.DateCell>
com.dlsc.gemsfx.skins.DateCellSkin
- All Implemented Interfaces:
javafx.scene.control.Skin<CalendarView.DateCell>
Skin for
CalendarView.DateCell instances used by CalendarView.
The skin keeps date cells at a minimum preferred size and positions an optional secondary text node in the bottom-right corner.
-
Property Summary
Properties inherited from class javafx.scene.control.skin.CellSkinBase
cellSize -
Constructor Summary
ConstructorsConstructorDescriptionDateCellSkin(CalendarView.DateCell control) Creates a skin for the given date cell. -
Method Summary
Modifier and TypeMethodDescriptionprotected doublecomputePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) protected doublecomputePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) protected voidlayoutChildren(double x, double y, double w, double h) protected voidMethods inherited from class javafx.scene.control.skin.CellSkinBase
cellSizeProperty, getCellSize, getClassCssMetaData, getCssMetaDataMethods inherited from class javafx.scene.control.skin.LabeledSkinBase
computeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, dispose, layoutLabelInArea, layoutLabelInArea, queryAccessibleAttributeMethods inherited from class javafx.scene.control.SkinBase
consumeMouseEvents, executeAccessibleAction, getChildren, getNode, getSkinnable, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, registerChangeListener, registerInvalidationListener, registerListChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners, unregisterInvalidationListeners, unregisterListChangeListeners
-
Constructor Details
-
DateCellSkin
Creates a skin for the given date cell.- Parameters:
control- the date cell rendered by this skin
-
-
Method Details
-
updateChildren
protected void updateChildren()- Overrides:
updateChildrenin classjavafx.scene.control.skin.LabeledSkinBase<CalendarView.DateCell>
-
layoutChildren
protected void layoutChildren(double x, double y, double w, double h) - Overrides:
layoutChildrenin classjavafx.scene.control.skin.LabeledSkinBase<CalendarView.DateCell>
-
computePrefWidth
protected double computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) - Overrides:
computePrefWidthin classjavafx.scene.control.skin.LabeledSkinBase<CalendarView.DateCell>
-
computePrefHeight
protected double computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) - Overrides:
computePrefHeightin classjavafx.scene.control.skin.LabeledSkinBase<CalendarView.DateCell>
-