Class CommitEvent

java.lang.Object
java.util.EventObject
com.michaelbaranov.microba.common.CommitEvent
All Implemented Interfaces:
Serializable

public class CommitEvent extends EventObject
An event used to indicate a change to a control has been commited or reverted (rolled back).
Author:
Michael Baranov
See Also:
  • Constructor Details

    • CommitEvent

      public CommitEvent(Object source, boolean commit)
      Constructor.
      Parameters:
      source - a control that fired the event
      commit - true to indicate commit, false to indicate revert (rollback)
  • Method Details

    • isCommit

      public boolean isCommit()
      Returns the type of the event.
      Returns:
      true if a change has been commited to a control, false otherwise.