AbstractModel
| Kind of class: | public class |
|---|---|
| Package: | com.bourre.model |
| Inherits from: | none |
| Classpath: | com.bourre.model.AbstractModel |
| File last modified: | Tuesday, 15 April 2008, 09:25:43 |
Summary
Constructor
- AbstractModel (owner:Plugin = null, name:String = null)
Instance methods
- setListenerType (type:Class) : void
- handleEvent (e:Event) : void
- setName (name:String) : void
- getOwner : Plugin
- setOwner (owner:Plugin) : void
- getLogger : PluginDebug
- notifyChanged (e:Event) : void
- getName : String
- release : void
- addListener (listener:ModelListener) : Boolean
- removeListener (listener:ModelListener) : Boolean
- addEventListener (type:String, listener:Object, rest) : Boolean
- removeEventListener (type:String, listener:Object) : Boolean
- toString : String
- Returns the string representation of this instance.
Event handlers
- onInitModelEVENT : String
- onReleaseModelEVENT : String
Constructor
AbstractModel
Instance methods
addEventListener
public function addEventListener (
type:String,
listener:Object,
rest) : Boolean
addListener
getLogger
getName
public function getName (
) : String
getOwner
handleEvent
public function handleEvent (
e:Event) : void
notifyChanged
public function notifyChanged (
e:Event) : void
release
public function release (
) : void
removeEventListener
public function removeEventListener (
type:String,
listener:Object) : Boolean
removeListener
setListenerType
public function setListenerType (
type:Class) : void
setName
public function setName (
name:String) : void
setOwner
toString
public function toString (
) : String
Returns the string representation of this instance.
Returns:
- the string representation of this instance
Event handlers
onInitModelEVENT
public static const onInitModelEVENT:String = "onInitModel"
(read)
onReleaseModelEVENT
public static const onReleaseModelEVENT:String = "onReleaseModel"
(read)