Interface ValidatorHost


public interface ValidatorHost
Host that enables transfers from registered suppliers.

The host provides special treatments to different kind of targets:

  • If the target is a gadget object, programmatic transfers will be possible.
  • If the target is a graphical component, it will be registered for drag operations.
Since:
5.0
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    A commodities validator.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    register(@NotNull ValidatorHost.Validator validator)
    Registers a validator for the given component and type.
  • Method Details

    • register

      void register(@NotNull @NotNull ValidatorHost.Validator validator)
      Registers a validator for the given component and type.
      Parameters:
      validator - The validator to register.
      Since:
      5.0