Class TimePickerSkin
java.lang.Object
javafx.scene.control.SkinBase<TimePicker>
- All Implemented Interfaces:
javafx.scene.control.Skin<TimePicker>
Skin for
TimePicker.
The skin builds the inline time fields, separator nodes, popup trigger button, and popup content used to select a time value.
-
Constructor Summary
ConstructorsConstructorDescriptionTimePickerSkin(TimePicker picker) Creates a new skin for the given time picker. -
Method Summary
Modifier and TypeMethodDescriptionprotected doublecomputeMaxWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) protected doublecomputePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) protected doublecomputePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) protected javafx.scene.NodeReturns the content node shown inside the popup.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, computeMaxHeight, computeMinHeight, computeMinWidth, 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
-
TimePickerSkin
Creates a new skin for the given time picker.- Parameters:
picker- the time picker to skin
-
-
Method Details
-
computePrefWidth
protected double computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) - Overrides:
computePrefWidthin classjavafx.scene.control.SkinBase<TimePicker>
-
computePrefHeight
protected double computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) - Overrides:
computePrefHeightin classjavafx.scene.control.SkinBase<TimePicker>
-
getPopupContent
protected javafx.scene.Node getPopupContent()Description copied from class:CustomComboBoxSkinBaseReturns the content node shown inside the popup.- Specified by:
getPopupContentin classCustomComboBoxSkinBase<TimePicker>- Returns:
- the popup content node
-
computeMaxWidth
protected double computeMaxWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) - Overrides:
computeMaxWidthin classjavafx.scene.control.SkinBase<TimePicker>
-