Class DefaultInteractiveError

java.lang.Object
org.tentackle.fx.DefaultInteractiveError
All Implemented Interfaces:
InteractiveError

public class DefaultInteractiveError extends Object implements InteractiveError
Default implementation for an interactive error.
Author:
harald
  • Constructor Details

    • DefaultInteractiveError

      public DefaultInteractiveError(boolean warning, String text, String errorCode, ValidationResult validationResult, FxControl control)
      Creates an interactive error.
      Parameters:
      warning - true if just a warning, false if error
      text - the error text
      errorCode - the optional error code
      validationResult - the validation result
      control - the optional UI component related to the error, null if none
    • DefaultInteractiveError

      public DefaultInteractiveError(ValidationResult validationResult, FxControl control)
      Creates an interactive error.
      Parameters:
      validationResult - the validation result
      control - the optional UI component related to the error, null if none
    • DefaultInteractiveError

      public DefaultInteractiveError(InteractiveError error)
      Creates an error from another error.
      Useful to override methods in anonymous inner classes.
      Parameters:
      error - the error
  • Method Details