Package com.vaadin.ui

Class InlineDateTimeField

    • Constructor Detail

      • InlineDateTimeField

        public InlineDateTimeField()
        Constructs an empty InlineDateTimeField with no caption.
      • InlineDateTimeField

        public InlineDateTimeField​(String caption,
                                   LocalDateTime value)
        Constructs a new InlineDateTimeField with the given caption and initial text contents.
        Parameters:
        caption - the caption String for the editor.
        value - the LocalDate value.
      • InlineDateTimeField

        public InlineDateTimeField​(String caption)
        Constructs an empty InlineDateTimeField with caption.
        Parameters:
        caption - the caption of the datefield.
      • InlineDateTimeField

        public InlineDateTimeField​(HasValue.ValueChangeListener<LocalDateTime> valueChangeListener)
        Constructs a new InlineDateTimeField with a value change listener.

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

        Parameters:
        valueChangeListener - the value change listener, not null
      • InlineDateTimeField

        public InlineDateTimeField​(String caption,
                                   HasValue.ValueChangeListener<LocalDateTime> valueChangeListener)
        Constructs a new InlineDateTimeField with the given caption and a value change listener.

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

        Parameters:
        caption - the caption for the field
        valueChangeListener - the value change listener, not null
      • InlineDateTimeField

        public InlineDateTimeField​(String caption,
                                   LocalDateTime value,
                                   HasValue.ValueChangeListener<LocalDateTime> valueChangeListener)
        Constructs a new InlineDateTimeField with the given caption, initial text contents and a value change listener.

        The listener is called when the value of this InlineDateTimeField 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