Interface IFieldComponent

All Superinterfaces:
IWidget, IWritable, Serializable
All Known Implementing Classes:
com.axemble.vdp.ui.framework.widgets.components.sys.base.BaseFieldComponent, CustomSelectionComponent, FileSizeInputComponent, SelectListCustomInputComponent

public interface IFieldComponent extends IWidget
Author:
bchapoton
  • Method Details

    • isHidden

      boolean isHidden()
      Description copied from interface: IWidget
      Get if widget is hidden
      Specified by:
      isHidden in interface IWidget
      Returns:
      isHidden
    • setHidden

      void setHidden(boolean hidden)
      Description copied from interface: IWidget
      Set if widget is hidden
      Specified by:
      setHidden in interface IWidget
      Parameters:
      hidden -
    • isEditable

      boolean isEditable()
      field is editable
      Returns:
      isEditable
    • setEditable

      void setEditable(boolean editable)
      Set field editable
      Parameters:
      editable -
    • isMandatory

      boolean isMandatory()
      Field is mandatory
      Returns:
      isMandatory
    • setMandatory

      void setMandatory(boolean mandatory)
      Set field mandatory
      Parameters:
      mandatory -
    • addValidationRule

      void addValidationRule(String rule)
      Add field validation rule
      Parameters:
      rule -
    • clearValidationRules

      void clearValidationRules()
      Clear field validation rules
    • hasValidationRules

      boolean hasValidationRules()
      Field has validation rules
      Returns:
      hasValidationRules
    • getValidationRules

      Collection<String> getValidationRules()
      Get field validation rules
      Returns:
      validationRules
    • getAbstractField

      IAbstractField getAbstractField()
      Get abstractField
      Returns:
      abstractField
    • updateValue

      void updateValue()
      Update field value
    • updateControl

      void updateControl()
      Update widget
    • validate

      boolean validate(boolean checkMandatory)
      Validate the field
      Parameters:
      checkMandatory -
      Returns:
      isValid
    • getUserId

      String getUserId()
      Get field userID
      Returns:
      userID
    • setUserId

      void setUserId(String id)
      Set field userID
      Parameters:
      id -
    • inform

      void inform(String mess)
      Add error message
      Parameters:
      mess -