Class DatePicker

All Implemented Interfaces:
LayoutMeasurable, LayoutMeasurableMixin, HasAlignmentProperty, HasBackgroundProperty, HasBlendModeProperty, HasBorderProperty, HasClipProperty, HasEffectProperty, HasFontProperty, HasHeightProperty, HasLayoutXProperty, HasLayoutYProperty, HasManagedProperty, HasMaxHeightProperty, HasMaxWidthProperty, HasMinHeightProperty, HasMinWidthProperty, HasMouseTransparentProperty, HasOnMouseClickedProperty, HasOpacityProperty, HasPaddingProperty, HasParentProperty, HasPrefHeightProperty, HasPrefWidthProperty, HasPromptTextProperty, HasSnapToPixelProperty, HasTextAlignmentProperty, HasTextProperty, HasVisibleProperty, HasWidthProperty, Styleable, EventTarget, Skinnable, INode, PreferenceResizableNode

public class DatePicker extends TextField
Author:
Bruno Salmon
  • Property Details

  • Constructor Details

    • DatePicker

      public DatePicker()
      Creates a TextField with empty text content.
    • DatePicker

      public DatePicker(String text)
      Creates a TextField with initial text content.
      Parameters:
      text - A string for text content.
  • Method Details

    • valueProperty

      public ObjectProperty<LocalDate> valueProperty()
      from ComboBox (temporary) The value of this ComboBox is defined as the selected item if the input is not editable, or if it is editable, the most recent user action: either the value input by the user, or the last selected item.
      Returns:
      the value property
      See Also:
    • setValue

      public final void setValue(LocalDate value)
      Sets the value of the value property.
      Property description:
      from ComboBox (temporary) The value of this ComboBox is defined as the selected item if the input is not editable, or if it is editable, the most recent user action: either the value input by the user, or the last selected item.
      Parameters:
      value - the value for the value property
      See Also:
    • getValue

      public final LocalDate getValue()
      Gets the value of the value property.
      Property description:
      from ComboBox (temporary) The value of this ComboBox is defined as the selected item if the input is not editable, or if it is editable, the most recent user action: either the value input by the user, or the last selected item.
      Returns:
      the value of the value property
      See Also:
    • converterProperty

      public final Property<StringConverter<LocalDate>> converterProperty()
      Returns:
      the converter property
      See Also:
    • setConverter

      public final void setConverter(StringConverter<LocalDate> value)
      Sets the value of the converter property.
      Property description:
      Parameters:
      value - the value for the converter property
      See Also:
    • getConverter

      public final StringConverter<LocalDate> getConverter()
      Gets the value of the converter property.
      Property description:
      Returns:
      the value of the converter property
      See Also: