S
- the actual skin class, so fluent methods return the correct class (see "return (S)this;")public abstract class CalendarPickerMonthlySkinAbstract<S> extends javafx.scene.control.SkinBase<CalendarPicker>
Constructor and Description |
---|
CalendarPickerMonthlySkinAbstract(CalendarPicker control) |
Modifier and Type | Method and Description |
---|---|
protected int |
determineDaysInMonth()
determine the number of days in the month
|
protected int |
determineFirstOfMonthDayOfWeek()
determine on which day of week idx the first of the months is
|
javafx.beans.property.ObjectProperty<java.util.Calendar> |
displayedCalendar()
DisplayedCalendar: this calendar always points to the first of the month being shown,
it also is used to determine first-day-of-week, weekday labels, etc
The calendar should not be modified using any of its add or set methods (it should be considered immutable)
|
java.util.Calendar |
getDisplayedCalendar() |
protected java.util.List<java.lang.String> |
getMonthLabels()
get the weekday labels starting with the weekday that is the first-day-of-the-week according to the locale in the displayed calendar
|
protected java.util.List<java.lang.String> |
getWeekdayLabels()
get the weekday labels starting with the weekday that is the first-day-of-the-week according to the locale in the displayed calendar
|
protected java.util.List<java.lang.Integer> |
getWeeknumbers()
Get a list with the weeklabels
|
protected boolean |
isToday(java.util.Calendar calendar)
determine if a date is today
|
protected boolean |
isWeekday(int idx,
int weekdaynr)
check if a certain weekday name is a certain day-of-the-week
|
protected boolean |
isWeekdayWeekend(int idx)
check if a certain weekday name is a certain day-of-the-week
|
void |
setDisplayedCalendar(java.util.Calendar value) |
S |
withDisplayedCalendar(java.util.Calendar value) |
computeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, consumeMouseEvents, dispose, getChildren, getClassCssMetaData, getCssMetaData, getNode, getSkinnable, layoutChildren, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapSize, snapSpace
public CalendarPickerMonthlySkinAbstract(CalendarPicker control)
public javafx.beans.property.ObjectProperty<java.util.Calendar> displayedCalendar()
public java.util.Calendar getDisplayedCalendar()
public void setDisplayedCalendar(java.util.Calendar value)
public S withDisplayedCalendar(java.util.Calendar value)
protected java.util.List<java.lang.String> getWeekdayLabels()
protected java.util.List<java.lang.Integer> getWeeknumbers()
protected java.util.List<java.lang.String> getMonthLabels()
protected boolean isWeekday(int idx, int weekdaynr)
protected boolean isWeekdayWeekend(int idx)
protected int determineFirstOfMonthDayOfWeek()
protected int determineDaysInMonth()
protected boolean isToday(java.util.Calendar calendar)