Destroyable
| Kind of class: | public class |
|---|---|
| Package: | org.casalib.core |
| Inherits from: | none |
| Implements: | |
| Known subclasses: | |
| Version: | 10/27/08 |
| Author: | Aaron Clinger |
| Classpath: | org.casalib.core.Destroyable |
| File last modified: | Monday, 01 December 2008, 11:16:36 |
Base class for objects that are destroyable.
Summary
Constructor
Instance properties
- destroyed : Boolean
Instance methods
- destroy : void
- Removes any event listeners and stops all internal processes to help allow for prompt garbage collection.
Constructor
Destroyable
public function Destroyable (
)
Creates a new Destroyable object.
Instance properties
destroyed
public destroyed:Boolean
(read)
Instance methods
destroy
public function destroy (
) : void
Removes any event listeners and stops all internal processes to help allow for prompt garbage collection.
Always call
# Always call
destroy() before deleting last object pointer.Specified by: