java.lang.Object
javafx.scene.control.SkinBase<CalendarTimeTextField>
jfxtras.internal.scene.control.skin.CalendarTimeTextFieldSkin
- All Implemented Interfaces:
javafx.scene.control.Skin<CalendarTimeTextField>,TextFieldSkin
public class CalendarTimeTextFieldSkin
extends javafx.scene.control.SkinBase<CalendarTimeTextField>
implements TextFieldSkin
Allows editing the time in a text field.
Format is hardcoded to HH:MM:SS.mmm, but
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate CalendarTimePickerprivate javafx.scene.layout.GridPaneprivate javafx.scene.image.ImageViewprivate javafx.stage.Popupprivate javafx.scene.control.TextField -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate voidconstruct the nodesprivate voidWhen the control is focus, forward the focus to the textfieldprivate voidparse()parse the contents that was typed in the textfieldprivate voidvoidMake the call toTextInputControl.selectAll().private voidprivate voidMethods 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
-
Field Details
-
textField
private javafx.scene.control.TextField textField -
imageView
private javafx.scene.image.ImageView imageView -
gridPane
private javafx.scene.layout.GridPane gridPane -
popup
private javafx.stage.Popup popup -
calendarTimePicker
-
-
Constructor Details
-
CalendarTimeTextFieldSkin
-
-
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:TextFieldSkinMake the call toTextInputControl.selectAll().- Specified by:
selectAllin interfaceTextFieldSkin
-
createNodes
private void createNodes()construct the nodes -
parse
private void parse()parse the contents that was typed in the textfield -
setupPopup
private void setupPopup() -
showPopup
private void showPopup()
-