Class CommitEvent
java.lang.Object
java.util.EventObject
com.michaelbaranov.microba.common.CommitEvent
- All Implemented Interfaces:
Serializable
An event used to indicate a change to a control has been commited or reverted
(rolled back).
- Author:
- Michael Baranov
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
CommitEvent
Constructor.- Parameters:
source
- a control that fired the eventcommit
-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.
-