Interface IFormatInputElement<I extends IFormatInputElement,ValueTypeT>

All Superinterfaces:
IChildrenOfInputgroup<I>, IComponent<I>, IHtmlBasedComponent<I>, IInputElement<I,ValueTypeT>, IReadonly<I>, IXulElement<I>
All Known Subinterfaces:
IDatebox, IDateTimeFormatInputElement<I>, IDecimalbox, IDoublebox, IDoublespinner, IIntbox, ILongbox, INumberInputElement<I,ValueTypeT>, ISpinner, ITimebox, ITimepicker

public interface IFormatInputElement<I extends IFormatInputElement,ValueTypeT> extends IInputElement<I,ValueTypeT>
Immutable FormatInputElement interface.

A skeletal implementation for an input box with format.

Author:
katherine
  • Method Details

    • getFormat

      @Nullable String getFormat()
      Returns the format of the input component.

      Default: null (used what is defined in the inherited implementation).

    • withFormat

      I withFormat(@Nullable String format)
      Returns a copy of this immutable component with the specified format.

      Sets the format to the input component.

      Parameters:
      format - The format of the input component (used what is defined in the inherited implementation).

      Default: null.

      Returns:
      A modified copy of the this object