com.vaadin.ui.

Class InlineDateField

    • Constructor Detail

      • InlineDateField

        public InlineDateField()

        Constructs an empty InlineDateField with no caption.

      • InlineDateField

        public InlineDateField​(String caption,
                               LocalDate value)

        Constructs a new InlineDateField with the given caption and initial text contents.

        Parameters:

        caption - the caption String for the editor.

        value - the LocalDate value.

      • InlineDateField

        public InlineDateField​(String caption)

        Constructs an empty InlineDateField with caption.

        Parameters:

        caption - the caption of the datefield.

      • InlineDateField

        public InlineDateField​(HasValue.ValueChangeListener<LocalDate> valueChangeListener)

        Constructs a new InlineDateField with a value change listener.

        The listener is called when the value of this InlineDateField is changed either by the user or programmatically.

        Parameters:

        valueChangeListener - the value change listener, not null

      • InlineDateField

        public InlineDateField​(String caption,
                               HasValue.ValueChangeListener<LocalDate> valueChangeListener)

        Constructs a new InlineDateField with the given caption and a value change listener.

        The listener is called when the value of this InlineDateField is changed either by the user or programmatically.

        Parameters:

        caption - the caption for the field

        valueChangeListener - the value change listener, not null

      • InlineDateField

        public InlineDateField​(String caption,
                               LocalDate value,
                               HasValue.ValueChangeListener<LocalDate> valueChangeListener)

        Constructs a new InlineDateField with the given caption, initial text contents and a value change listener.

        The listener is called when the value of this InlineDateField is changed either by the user or programmatically.

        Parameters:

        caption - the caption for the field

        value - the value for the field, not null

        valueChangeListener - the value change listener, not null