Class VetoablePropertyChangeEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public final class VetoablePropertyChangeEvent
    extends java.beans.PropertyChangeEvent
    A PropertyChangeEvent that has an explicit way of indicating a vetoed change via veto().
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      VetoablePropertyChangeEvent​(java.lang.Object source, java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isVetoed()  
      void veto()  
      • Methods inherited from class java.beans.PropertyChangeEvent

        getNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationId, toString
      • Methods inherited from class java.util.EventObject

        getSource
      • Methods inherited from class java.lang.Object

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

      • VetoablePropertyChangeEvent

        public VetoablePropertyChangeEvent​(java.lang.Object source,
                                           java.lang.String propertyName,
                                           java.lang.Object oldValue,
                                           java.lang.Object newValue)
    • Method Detail

      • veto

        public void veto()
      • isVetoed

        public boolean isVetoed()