Top Description Fields Constructors Methods
com.sun.javafx.scene.control

public Class DatePickerHijrahContent

extends DatePickerContent
Class Inheritance
Imports
java.time.LocalDate, .DateTimeException, .YearMonth, java.time.format.DecimalStyle, java.time.chrono.Chronology, .HijrahChronology, .HijrahDate, .IsoChronology, java.util.Locale, javafx.geometry.Pos, javafx.scene.control.DatePicker, .DateCell, .Label, javafx.scene.layout.BorderPane, javafx.scene.text.Text

Extends DatePickerContent to add a secondary calendar, allowing the ISO and Islamic calendars to be displayed simultaneously. The secondary month, day, and year values are displayed as a colored overlay, offset from the primary values. If the current DatePicker Chronology is HijrahChronology, then sets the content's primary Chronology to be IsoChronology, and sets HijrahChronology as the secondary.

Field Summary

Modifier and TypeField and Description
private Label
Inherited from com.sun.javafx.scene.control.DatePickerContent:
datePickerdayCellFormatterdayCellsgridPanemonthFormattermonthFormatterSOweekDayNameFormatterweekNumberFormatteryearFormatteryearWithEraFormatter

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
protected BorderPane
protected Chronology
public void
protected void
Inherited from com.sun.javafx.scene.control.DatePickerContent:
clearFocusdayCellDatedisplayedYearMonthPropertyforwardgetLocalegetStringgoToDategoToDayCellisValidDateisValidDateselectDayCellupdateDayNameCellsupdateGridupdateValuesupdateWeeknumberDateCells

Field Detail

hijrahMonthYearLabelback to summary
private Label hijrahMonthYearLabel

Constructor Detail

DatePickerHijrahContentback to summary
public DatePickerHijrahContent(final DatePicker datePicker)

Method Detail

createDayCellsback to summary
protected void createDayCells()

Overrides com.sun.javafx.scene.control.DatePickerContent.createDayCells.

Annotations
@Override
createMonthYearPaneback to summary
protected BorderPane createMonthYearPane()

Overrides com.sun.javafx.scene.control.DatePickerContent.createMonthYearPane.

Annotations
@Override
getPrimaryChronologyback to summary
protected Chronology getPrimaryChronology()

Overrides com.sun.javafx.scene.control.DatePickerContent.getPrimaryChronology.

The primary chronology for display. This is overridden because DatePickerHijrahContent uses ISO as primary and Hijrah as a secondary chronology.

Annotations
@Override
updateDayCellsback to summary
public void updateDayCells()

Overrides com.sun.javafx.scene.control.DatePickerContent.updateDayCells.

Annotations
@Override
updateMonthYearPaneback to summary
protected void updateMonthYearPane()

Overrides com.sun.javafx.scene.control.DatePickerContent.updateMonthYearPane.

Annotations
@Override