当前页面:
在线文档首页 >
NetBeans API Javadoc 4.1.0
TransactionEvent (NetBeans MDR API) - NetBeans API Javadoc 4.1.0
org.netbeans.api.mdr.events
Class TransactionEvent
java.lang.Object
java.util.EventObject
org.netbeans.api.mdr.events.MDRChangeEvent
org.netbeans.api.mdr.events.TransactionEvent
- All Implemented Interfaces:
- Serializable
- public class TransactionEvent
- extends MDRChangeEvent
Class representing MDR events related to start, commit and
rollback of write transactions.
- See Also:
- Serialized Form
EVENTMASK_TRANSACTION
public static final int EVENTMASK_TRANSACTION
- Bitmask representing all event types related to write transactions
- See Also:
- Constant Field Values
EVENT_TRANSACTION_START
public static final int EVENT_TRANSACTION_START
- Event type indicating that a write transaction has been started.
- See Also:
- Constant Field Values
EVENT_TRANSACTION_END
public static final int EVENT_TRANSACTION_END
- Event type indicating that a write transaction has been ended.
- See Also:
- Constant Field Values
TransactionEvent
public TransactionEvent(MDRepository source,
int type)
- Creates new
TransactionEvent
instance.
- Parameters:
source
- the event source, an instance of MDRepository
.type
- the event type.