Class Index | File Index

Classes


Class TKTransaction

A transaction allows to run a variety of transitions in sync, no matter in what function or JavaScript run loop the transition itself was applied. Transactions can be nested, and a transaction is only truly commited when there are no other open transactions. In other words, there must be as many calls to TKTransaction.begin as there are calls to TKTransaction.commit before any transition in one of those transactions can be applied.
Defined in: Transaction.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
<static>  
TKTransaction.defaults
The set of default properties that will be applied to any TKTransition until the next call to TKTransaction.commit.
Method Summary
Method Attributes Method Name and Description
<static>  
TKTransaction.begin()
Begins a new transaction and makes it the current transaction.
<static>  
TKTransaction.commit()
Closes the current transaction.
Class Detail
TKTransaction()
Since:
TuneKit 1.0
Field Detail
<static> {Object} TKTransaction.defaults
The set of default properties that will be applied to any TKTransition until the next call to TKTransaction.commit. Any of the properties that can be applied to a TKTransition can be applied to this object.
Method Detail
<static> TKTransaction.begin()
Begins a new transaction and makes it the current transaction.

<static> TKTransaction.commit()
Closes the current transaction.

Copyright © 2009 Apple Inc. All rights reserved.