LockableInterface
| Kind of class: | interface |
|---|---|
| Inherits from: | CoreInterface |
| Implemented by: | |
| Version: | 04/03/06 |
| Author: | Aaron Clinger, Toby Boudreaux |
| Classpath: | org.casalib.state.LockableInterface |
| File last modified: | Monday, 01 December 2008, 13:34:40 |
Interface for creating lockable items.
Summary
Instance methods
- lock (inclusionList:Array) : Void
- Stores and removes event handlers to prevent them from triggering.
- unlock : Void
- Restores "locked" event handlers.
- toggle : Void
- Switches the current state to the opposite state; between lock and unlock.
- isLocked : Boolean
Instance methods inherited from CoreInterface
Instance methods
isLocked
function isLocked (
) : Boolean
Returns:
- Returns
trueif currently locked; otherwisefalse.
lock
function lock (
inclusionList:Array) : Void
Stores and removes event handlers to prevent them from triggering.
Parameters:
inclusionList:
[optional] List of event handlers and properties to lock. Defaults to all MovieClip event handlers.
toggle
function toggle (
) : Void
unlock
function unlock (
) : Void
Restores "locked" event handlers.