Class DateRangePickerSkin
java.lang.Object
javafx.scene.control.SkinBase<DateRangePicker>
com.dlsc.gemsfx.skins.GemsSkinBase<DateRangePicker>
com.dlsc.gemsfx.skins.CustomComboBoxSkinBase<DateRangePicker>
com.dlsc.gemsfx.skins.ToggleVisibilityComboBoxSkin<DateRangePicker>
com.dlsc.gemsfx.skins.DateRangePickerSkin
- All Implemented Interfaces:
javafx.scene.control.Skin<DateRangePicker>
Skin for the
DateRangePicker control.
The skin renders the selected date range, optional title and icon, and uses
the associated DateRangeView as popup content.
-
Constructor Summary
ConstructorsConstructorDescriptionDateRangePickerSkin(DateRangePicker picker) Creates a skin for the given date range picker. -
Method Summary
Modifier and TypeMethodDescriptionprotected doublecomputeMaxHeight(double width, double v1, double v2, double v3, double v4) protected doublecomputePrefHeight(double width, double v1, double v2, double v3, double v4) protected javafx.scene.NodeReturns the content node shown inside the popup.Formats the given date range with the picker formatter.Methods inherited from class ToggleVisibilityComboBoxSkin
mouseEntered, mouseExited, mouseReleased, popupOnAutoHideMethods inherited from class CustomComboBoxSkinBase
hide, showMethods inherited from class GemsSkinBase
dispose, register, register, register, register, registerFilter, registerHandlerMethods inherited from class javafx.scene.control.SkinBase
computeBaselineOffset, computeMaxWidth, computeMinHeight, computeMinWidth, 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
-
Constructor Details
-
DateRangePickerSkin
Creates a skin for the given date range picker.- Parameters:
picker- the date range picker rendered by this skin
-
-
Method Details
-
computePrefHeight
protected double computePrefHeight(double width, double v1, double v2, double v3, double v4) - Overrides:
computePrefHeightin classjavafx.scene.control.SkinBase<DateRangePicker>
-
computeMaxHeight
protected double computeMaxHeight(double width, double v1, double v2, double v3, double v4) - Overrides:
computeMaxHeightin classjavafx.scene.control.SkinBase<DateRangePicker>
-
getPopupContent
protected javafx.scene.Node getPopupContent()Description copied from class:CustomComboBoxSkinBaseReturns the content node shown inside the popup.- Specified by:
getPopupContentin classCustomComboBoxSkinBase<DateRangePicker>- Returns:
- the popup content node
-
toString
-