com.michaelbaranov.microba.common

Class CommitEvent


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

Constructor Summary

CommitEvent(Object source, boolean commit)
Constructor.

Method Summary

boolean
isCommit()
Returns the type of the event.

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.