Top Fields Constructors Methods
com.dlsc.gemsfx.skins

public Class DateRangePickerSkin

extends ToggleVisibilityComboBoxSkin<DateRangePicker>
Class Inheritance
Imports
com.dlsc.gemsfx.daterange.DateRange, .DateRangePicker, .DateRangeView, javafx.beans.InvalidationListener, javafx.beans.binding.BooleanBinding, javafx.geometry.Pos, javafx.scene.Node, javafx.scene.control.Label, javafx.scene.input.MouseEvent, javafx.scene.layout.HBox, .Pane, .Priority, .Region, .StackPane, .VBox, org.apache.commons.lang3.StringUtils, java.time.format.DateTimeFormatter

Field Summary

Modifier and TypeField and Description
private HBox
private final DateRangePicker
private Label
private Label
private final DateRangeView

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected double
computeMaxHeight(double width, double v1, double v2, double v3, double v4)

Overrides javafx.scene.control.SkinBase.computeMaxHeight.

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

protected double
computePrefHeight(double width, double v1, double v2, double v3, double v4)

Overrides javafx.scene.control.SkinBase.computePrefHeight.

Calculates the preferred height of this SkinBase.

protected Node
public String
private void
private void
Inherited from com.dlsc.gemsfx.skins.ToggleVisibilityComboBoxSkin:
mouseEnteredmouseExitedmouseReleasedpopupOnAutoHide

Field Detail

hBoxback to summary
private HBox hBox
pickerback to summary
private final DateRangePicker picker
rangeLabelback to summary
private Label rangeLabel
titleLabelback to summary
private Label titleLabel
viewback to summary
private final DateRangeView view

Constructor Detail

DateRangePickerSkinback to summary
public DateRangePickerSkin(DateRangePicker picker)

Method Detail

computeMaxHeightback to summary
protected double computeMaxHeight(double width, double v1, double v2, double v3, double v4)

Overrides javafx.scene.control.SkinBase.computeMaxHeight.

Doc from javafx.scene.control.SkinBase.computeMaxHeight.

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

computePrefHeightback to summary
protected double computePrefHeight(double width, double v1, double v2, double v3, double v4)

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
getPopupContentback to summary
protected Node getPopupContent()

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

toStringback to summary
public String toString(DateRange range)
updateLabelsback to summary
private void updateLabels()
updateViewback to summary
private void updateView()