Class CalendarTimePickerSkin
java.lang.Object
javafx.scene.control.SkinBase<CalendarTimePicker>
jfxtras.internal.scene.control.skin.CalendarTimePickerSkin
- All Implemented Interfaces:
javafx.scene.control.Skin<CalendarTimePicker>
- Author:
- Tom Eugelink
-
Nested Class Summary
Nested Classes -
Property Summary
PropertiesTypePropertyDescriptionfinal javafx.beans.property.ObjectProperty<DateFormat> LabelDateFormat:final javafx.beans.property.ObjectProperty<CalendarTimePickerSkin.ShowTickLabels> ShowTickLabels: -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic CalendarblockHoursToStep(Calendar calendar, Integer stepSize) hours fit in the hour stepsstatic CalendarblockMinutesToStep(Calendar calendar, Integer stepSize) minutes fit in the minute stepsstatic CalendarblockSecondsToStep(Calendar calendar, Integer stepSize) seconds fit in the second stepsstatic List<javafx.css.CssMetaData<? extends javafx.css.Styleable, ?>> List<javafx.css.CssMetaData<? extends javafx.css.Styleable, ?>> This method should delegate toNode.getClassCssMetaData()so that a Node's CssMetaData can be accessed without the need for reflection.final DateFormatGets the value of thelabelDateFormatproperty.Gets the value of theshowTickLabelsproperty.final javafx.beans.property.ObjectProperty<DateFormat> LabelDateFormat:voidmodifyChangingCalendarHour(int hour) voidmodifyChangingCalendarMinute(int minutes) voidmodifyChangingCalendarSecond(int seconds) voidsetChangingCalendar(Calendar lCalendar) final voidsetLabelDateFormat(DateFormat value) Sets the value of thelabelDateFormatproperty.final voidSets the value of theshowTickLabelsproperty.final javafx.beans.property.ObjectProperty<CalendarTimePickerSkin.ShowTickLabels> ShowTickLabels:final CalendarTimePickerSkinwithLabelDateFormat(DateFormat value) final CalendarTimePickerSkinMethods inherited from class javafx.scene.control.SkinBase
computeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, consumeMouseEvents, dispose, executeAccessibleAction, getChildren, 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
-
Property Details
-
showTickLabels
public final javafx.beans.property.ObjectProperty<CalendarTimePickerSkin.ShowTickLabels> showTickLabelsPropertyShowTickLabels:- See Also:
-
labelDateFormat
LabelDateFormat:- See Also:
-
-
Constructor Details
-
CalendarTimePickerSkin
-
-
Method Details
-
showTickLabelsProperty
public final javafx.beans.property.ObjectProperty<CalendarTimePickerSkin.ShowTickLabels> showTickLabelsProperty()ShowTickLabels:- Returns:
- the
showTickLabelsproperty - See Also:
-
setShowTickLabels
Sets the value of theshowTickLabelsproperty.- Property description:
- ShowTickLabels:
- Parameters:
value- the value for theshowTickLabelsproperty- See Also:
-
getShowTickLabels
Gets the value of theshowTickLabelsproperty.- Property description:
- ShowTickLabels:
- Returns:
- the value of the
showTickLabelsproperty - See Also:
-
withShowTickLabels
-
labelDateFormatProperty
LabelDateFormat:- Returns:
- the
labelDateFormatproperty - See Also:
-
setLabelDateFormat
Sets the value of thelabelDateFormatproperty.- Property description:
- LabelDateFormat:
- Parameters:
value- the value for thelabelDateFormatproperty- See Also:
-
getLabelDateFormat
Gets the value of thelabelDateFormatproperty.- Property description:
- LabelDateFormat:
- Returns:
- the value of the
labelDateFormatproperty - See Also:
-
withLabelDateFormat
-
getClassCssMetaData
- Returns:
- The CssMetaData associated with this class, which may include the CssMetaData of its super classes.
-
getCssMetaData
This method should delegate toNode.getClassCssMetaData()so that a Node's CssMetaData can be accessed without the need for reflection.- Overrides:
getCssMetaDatain classjavafx.scene.control.SkinBase<CalendarTimePicker>- Returns:
- The CssMetaData associated with this node, which may include the CssMetaData of its super classes.
-
modifyChangingCalendarSecond
public void modifyChangingCalendarSecond(int seconds) -
modifyChangingCalendarMinute
public void modifyChangingCalendarMinute(int minutes) -
modifyChangingCalendarHour
public void modifyChangingCalendarHour(int hour) -
blockHoursToStep
-
blockMinutesToStep
-
blockSecondsToStep
-
setChangingCalendar
-
acceptChangingCalendar
public void acceptChangingCalendar()
-