Top Inners Fields Constructors Methods
com.dlsc.gemsfx.skins

public Class TimePickerSkin

extends ToggleVisibilityComboBoxSkin<TimePicker>
Class Inheritance
Imports
com.dlsc.gemsfx.CustomComboBox, .TimePicker, javafx.beans.InvalidationListener, javafx.beans.binding.Bindings, javafx.css.PseudoClass, javafx.geometry.Pos, javafx.scene.Node, javafx.scene.control.Button, javafx.scene.input.KeyCode, .KeyEvent, .MouseEvent, javafx.scene.layout.HBox, .Priority, .Region, org.kordamp.ikonli.javafx.FontIcon, java.time.LocalTime, java.util.Objects

Nested and Inner Type Summary

Modifier and TypeClass and Description
private class
private class
private class
private class

Field Summary

Modifier and TypeField and Description
private final HBox
private final Button
private static final PseudoClass
private final HBox
private final TimePickerSkin.HourField
private final TimePickerSkin.MillisecondField
private final TimePickerSkin.MinuteField
private TimePickerPopup
private final TimePickerSkin.SecondField
private final Region

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private void
protected double
computeMaxWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computeMaxWidth.

Computes the maximum allowable width of the Skin, based on the provided height.

protected double
computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computePrefHeight.

Calculates the preferred height of this SkinBase.

protected double
computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computePrefWidth.

Calculates the preferred width of this SkinBase.

protected Node
private void
private void
private void
private void
private void
private void
updateSecondsMillisecondsViewable(boolean secondsVisible, boolean millisecondsVisible)

Inherited from com.dlsc.gemsfx.skins.ToggleVisibilityComboBoxSkin:
mouseEnteredmouseExitedmouseReleasedpopupOnAutoHide

Field Detail

boxback to summary
private final HBox box
editButtonback to summary
private final Button editButton
EMPTY_PSEUDO_CLASSback to summary
private static final PseudoClass EMPTY_PSEUDO_CLASS
fieldsBoxback to summary
private final HBox fieldsBox
hourFieldback to summary
private final TimePickerSkin.HourField hourField
millisecondFieldback to summary
private final TimePickerSkin.MillisecondField millisecondField
minuteFieldback to summary
private final TimePickerSkin.MinuteField minuteField
secondFieldback to summary
private final TimePickerSkin.SecondField secondField
spacerback to summary
private final Region spacer

Constructor Detail

TimePickerSkinback to summary
public TimePickerSkin(TimePicker picker)

Method Detail

buildViewback to summary
private void buildView()
computeMaxWidthback to summary
protected double computeMaxWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computeMaxWidth.

Doc from javafx.scene.control.SkinBase.computeMaxWidth.

Computes the maximum allowable width of the Skin, based on the provided height.

Annotations
@Override
computePrefHeightback to summary
protected double computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computePrefHeight.

Doc from javafx.scene.control.SkinBase.computePrefHeight.

Calculates the preferred height of this SkinBase. The default implementation calculates this height as the height of the area occupied by its managed children when they are positioned at their current positions at their preferred heights.

Annotations
@Override
computePrefWidthback to summary
protected double computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computePrefWidth.

Doc from javafx.scene.control.SkinBase.computePrefWidth.

Calculates the preferred width of this SkinBase. The default implementation calculates this width as the width of the area occupied by its managed children when they are positioned at their current positions at their preferred widths.

Annotations
@Override
getPopupContentback to summary
protected Node getPopupContent()

Implements abstract com.dlsc.gemsfx.skins.CustomComboBoxSkinBase.getPopupContent.

Annotations
@Override
updateBoxback to summary
private void updateBox()
updateEmptyPseudoClassback to summary
private void updateEmptyPseudoClass()
updateFieldValuesback to summary
private void updateFieldValues()
updateFocusback to summary
private void updateFocus()
updateFormatback to summary
private void updateFormat()
updateSecondsMillisecondsViewableback to summary
private void updateSecondsMillisecondsViewable(boolean secondsVisible, boolean millisecondsVisible)
com.dlsc.gemsfx.skins back to summary

private Class TimePickerSkin.HourField

extends DigitsField
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from com.dlsc.gemsfx.skins.DigitsField:
decrementgetMaximumValuegetMinimumValuegetStepRategetValueincrementmaximumValuePropertyminimumValuePropertysetMaximumValuesetMinimumValuesetNextFieldsetPreviousFieldsetStepRatesetValuestepRatePropertyvalueProperty

Constructor Detail

HourFieldback to summary
public HourField(TimePicker picker)
com.dlsc.gemsfx.skins back to summary

private Class TimePickerSkin.MillisecondField

extends DigitsField
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from com.dlsc.gemsfx.skins.DigitsField:
decrementgetMaximumValuegetMinimumValuegetStepRategetValueincrementmaximumValuePropertyminimumValuePropertysetMaximumValuesetMinimumValuesetNextFieldsetPreviousFieldsetStepRatesetValuestepRatePropertyvalueProperty

Constructor Detail

MillisecondFieldback to summary
public MillisecondField(TimePicker picker)
com.dlsc.gemsfx.skins back to summary

private Class TimePickerSkin.MinuteField

extends DigitsField
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from com.dlsc.gemsfx.skins.DigitsField:
decrementgetMaximumValuegetMinimumValuegetStepRategetValueincrementmaximumValuePropertyminimumValuePropertysetMaximumValuesetMinimumValuesetNextFieldsetPreviousFieldsetStepRatesetValuestepRatePropertyvalueProperty

Constructor Detail

MinuteFieldback to summary
public MinuteField(TimePicker picker)
com.dlsc.gemsfx.skins back to summary

private Class TimePickerSkin.SecondField

extends DigitsField
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from com.dlsc.gemsfx.skins.DigitsField:
decrementgetMaximumValuegetMinimumValuegetStepRategetValueincrementmaximumValuePropertyminimumValuePropertysetMaximumValuesetMinimumValuesetNextFieldsetPreviousFieldsetStepRatesetValuestepRatePropertyvalueProperty

Constructor Detail

SecondFieldback to summary
public SecondField(TimePicker picker)