Class VAbstractCalendarPanel.FocusedDate

  • All Implemented Interfaces:
    Serializable, Cloneable, Comparable<Date>
    Enclosing class:
    VAbstractCalendarPanel<R extends Enum<R>>

    public class VAbstractCalendarPanel.FocusedDate
    extends Date
    Helper class to inform the screen reader that the user changed the selected date. It sets the value of a field that is outside the view, and is defined as a live area. That way the screen reader recognizes the change and reads it to the user.
    See Also:
    Serialized Form
    • Constructor Detail

      • FocusedDate

        public FocusedDate​(int year,
                           int month,
                           int date)
        Constructs a date instance that keeps track of the currently selected date within the calendar panel and updates the related text field accordingly if there is one.
        Parameters:
        year - the year value
        month - the month value between 0-11
        date - the day of the month value between 1-31
        See Also:
        VAbstractCalendarPanel.FocusedDate