Class StatusChangeEvent

    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      StatusChangeEvent​(Binder<?> binder, boolean hasValidationErrors)
      Create a new status change event for given binder, storing information of whether the change that triggered this event caused validation errors.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Binder<?> getBinder()
      Gets the binder.
      Binder<?> getSource()  
      boolean hasValidationErrors()
      Gets the associated validation status.
      • Methods inherited from class java.util.EventObject

        toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • StatusChangeEvent

        public StatusChangeEvent​(Binder<?> binder,
                                 boolean hasValidationErrors)
        Create a new status change event for given binder, storing information of whether the change that triggered this event caused validation errors.
        Parameters:
        binder - the event source binder
        hasValidationErrors - the validation status associated with this event
    • Method Detail

      • hasValidationErrors

        public boolean hasValidationErrors()
        Gets the associated validation status.
        Returns:
        true if the change that triggered this event caused validation errors, false otherwise
      • getSource

        public Binder<?> getSource()
        Overrides:
        getSource in class java.util.EventObject
      • getBinder

        public Binder<?> getBinder()
        Gets the binder.
        Returns:
        the binder