CasaTextField
| Kind of class: | public class |
|---|---|
| Package: | org.casalib.display |
| Inherits from: | TextField |
| Implements: | |
| Version: | 06/10/09 |
| Author: | Aaron Clinger |
| Classpath: | org.casalib.display.CasaTextField |
| File last modified: | Wednesday, 10 June 2009, 11:50:09 |
A base TextField that implements IRemovableEventDispatcher and IDestroyable.
Summary
Constructor
Instance properties
Instance methods
- removeEventsForType (type:String) : void
- Removes all events of a specific type.
- removeEventsForListener (listener:Function) : void
- Removes all events that report to the specified listener.
- removeEventListeners : void
- Removes all event listeners.
- destroy : void
- Removes any event listeners and stops all internal processes to help allow for prompt garbage collection.
- destroy : void
Constructor
CasaTextField
public function CasaTextField ()Creates a new CasaTextField.Instance properties
destroyed
public destroyed:Boolean(read)stage
override public stage:Stage(read)The Stage of the display object or if the display object is not added to the display list and StageReference is definedstagewill return the default stage; otherwisenull.Instance methods
destroy
public function destroy () : voidRemoves any event listeners and stops all internal processes to help allow for prompt garbage collection.#
Always callstagebefore deleting last object pointer.
Callingdestroy()on a CASA display object also removes it from its current parent.Specified by:removeEventListeners
public function removeEventListeners () : voidRemoves all event listeners.#Specified by:removeEventsForListener
public function removeEventsForListener (listener:Function) : voidRemoves all events that report to the specified listener.#Parameters:listener:The listener function that processes the event.#Specified by: - removeEventListeners : void
- removeEventsForListener (listener:Function) : void