Interface HasRequired

All Known Subinterfaces:
WithRequiredMixin<SELF>
All Known Implementing Classes:
AbstractSuperFloatingPointField, AbstractSuperNumberField, SuperBigDecimalField, SuperDatePicker, SuperDoubleField, SuperIntegerField, SuperLongField, SuperTextArea, SuperTextField

public interface HasRequired
Marker interface for objects that can be required. Whatever that means is left for implementations to decide.
Since:
2022-09-09
Author:
miki
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks if this object is required.
    void
    setRequired(boolean required)
    Sets the new required state.
  • Method Details

    • isRequired

      boolean isRequired()
      Checks if this object is required.
      Returns:
      Whether this component is required.
    • setRequired

      void setRequired(boolean required)
      Sets the new required state.
      Parameters:
      required - Whether this component should be required.