Class CalendarTextFieldSkin

java.lang.Object
javafx.scene.control.SkinBase<CalendarTextField>
jfxtras.internal.scene.control.skin.CalendarTextFieldSkin
All Implemented Interfaces:
javafx.scene.control.Skin<CalendarTextField>, TextFieldSkin

public class CalendarTextFieldSkin extends javafx.scene.control.SkinBase<CalendarTextField> implements TextFieldSkin
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    final javafx.beans.property.BooleanProperty
     
    private javafx.scene.image.ImageView
     
    private javafx.stage.Popup
     
    private javafx.scene.control.TextField
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private void
     
    private void
    construct the nodes
    private void
    When the control is focus, forward the focus to the textfield
    private void
    parse the contents that was typed in the textfield
    private void
    parse(String lText)
    parse the text
    private void
     
    void
    Make the call to TextInputControl.selectAll().
    private void
     
    private void
    This is either called by the user clicking on the button, or programmatically with CalendarTextField.setPickerShowing(boolean).

    Methods inherited from class javafx.scene.control.SkinBase

    computeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, consumeMouseEvents, dispose, 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • textField

      private javafx.scene.control.TextField textField
    • imageView

      private javafx.scene.image.ImageView imageView
    • focusForwardingProperty

      public final javafx.beans.property.BooleanProperty focusForwardingProperty
    • calendarPicker

      private CalendarPicker calendarPicker
  • Constructor Details

  • Method Details

    • construct

      private void construct()
    • refreshValue

      private void refreshValue()
    • initFocusSimulation

      private void initFocusSimulation()
      When the control is focus, forward the focus to the textfield
    • selectAll

      public void selectAll()
      Description copied from interface: TextFieldSkin
      Make the call to TextInputControl.selectAll().
      Specified by:
      selectAll in interface TextFieldSkin
    • createNodes

      private void createNodes()
      construct the nodes
    • parse

      private void parse()
      parse the contents that was typed in the textfield
    • parse

      private void parse(String lText)
      parse the text
    • setupPopup

      private void setupPopup()
    • showPopup

      private void showPopup()
      This is either called by the user clicking on the button, or programmatically with CalendarTextField.setPickerShowing(boolean).