Access keys

LockableInterface

Kind of class: interface
Inherits from: CoreInterface
Implemented by:
Version: 12/14/06
Author: Aaron Clinger, Toby Boudreaux
Classpath: org.casaframework.state.LockableInterface
File last modified: Wednesday, 24 January 2007, 21:45:39
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 EventHandlers to prevent them from triggering.
Parameters:
inclusionList:
[optional] List of EventHandlers and properties to lock. Defaults to all MovieClip EventHandlers.

toggle

function toggle (
) : Void
Switches the current state to the opposite state; between lock and unlock.

unlock

function unlock (
) : Void
Restores "locked" EventHandlers.