com.michaelbaranov.microba.common
Class CommitEvent
EventObject
com.michaelbaranov.microba.common.CommitEvent
public class CommitEvent
extends EventObject
An event used to indicate a change to a control has been commited or reverted
(rolled back).
CommitEvent(Object source, boolean commit) - Constructor.
|
boolean | isCommit() - Returns the type of the event.
|
CommitEvent
public CommitEvent(Object source,
boolean commit)
Constructor.
source
- a control that fired the eventcommit
- true
to indicate commit, false
to indicate revert (rollback)
isCommit
public boolean isCommit()
Returns the type of the event.
true
if a change has been commited to a control,
false
otherwise.