LockableInterface

Kind of class:interface
Inherits from:CoreInterface
Implemented by:
Version:04/03/06
Author:Aaron Clinger, Toby Boudreaux
Classpath:org.casaframework.state.LockableInterface
File last modified:Sunday, 19 August 2007, 13:43:26
Interface for creating lockable items.

Summary

Instance methods
Instance methods inherited from CoreInterface

Instance methods

isLocked

function isLocked () : Boolean
Returns:
Returns true if currently locked; otherwise false.

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
Switches the current state to the opposite state; between lock and unlock.

unlock

function unlock () : Void
Restores "locked" event handlers.