Class RowDependentFieldsMeta<T extends DataResponseDTO>

    • Constructor Detail

      • RowDependentFieldsMeta

        public RowDependentFieldsMeta()
    • Method Detail

      • addConcreteValue

        public final void addConcreteValue​(DtoField<? super T,​?> field,
                                           SimpleDictionary dictDTO)
        Adds a value to an existing list of selectable values
        Parameters:
        field - widget field with type dictionary
        dictDTO - DTO with dictionary value
      • setDictionaryTypeWithConcreteValuesFromList

        public final void setDictionaryTypeWithConcreteValuesFromList​(DtoField<? super T,​?> field,
                                                                      IDictionaryType type,
                                                                      List<LOV> lovs)
        Fills the list of selectable values in the dropdown list with concrete dictionary values
        Parameters:
        field - widget field with type dictionary
        type - dictionary type
        lovs - list of dictionary codes (with type LOV)
      • required

        @SafeVarargs
        public final void required​(boolean required,
                                   DtoField<? super T,​?>... fields)
      • disableFields

        public final void disableFields()
      • disable

        public final void disable​(boolean disabled,
                                  DtoField<? super T,​?>... fields)
      • setDisabled

        public void setDisabled​(List<String> fields)
      • setDictionaryTypeWithAllValues

        public final void setDictionaryTypeWithAllValues​(DtoField<? super T,​?> field,
                                                         IDictionaryType type)
      • setDictionaryTypeWithAllValues

        public final void setDictionaryTypeWithAllValues​(DtoField<? super T,​?> field,
                                                         String type)
      • setDictionaryTypeWithCustomValues

        public final void setDictionaryTypeWithCustomValues​(DtoField<? super T,​?> field,
                                                            String... keys)
      • setDictionaryTypeWithConcreteValues

        public final void setDictionaryTypeWithConcreteValues​(DtoField<? super T,​?> field,
                                                              IDictionaryType type,
                                                              List<LOV> lovs)
      • setDictionaryTypeWithConcreteValues

        public final void setDictionaryTypeWithConcreteValues​(DtoField<? super T,​?> field,
                                                              IDictionaryType type,
                                                              LOV... lovs)
      • setEnumValues

        public <E extends Enum> void setEnumValues​(@Nullable
                                                   DtoField<? super T,​E> field,
                                                   @NonNull
                                                   @NonNull E... values)
      • setCurrentValue

        public final void setCurrentValue​(DtoField<? super T,​?> field,
                                          Object value)
      • setPlaceholder

        public final void setPlaceholder​(DtoField<? super T,​?> field,
                                         String placeholder)