StringEvent

Kind of class:public class
Package:com.bourre.events
Inherits from:BasicEvent < Event
Author:Francis Bourre
Classpath:com.bourre.events.StringEvent
File last modified:Tuesday, 15 April 2008, 09:25:44
An event object which carry a string value.
See also:

Summary


Constructor
  • StringEvent (type:String, target:Object = null, string:String = "")
    • Creates a new StringEvent object.
Instance properties
Instance properties inherited from BasicEvent
Instance methods
  • getString : String
    • Returns the string value carried by this event.
  • clone : Event
    • Clone the event
Instance methods inherited from BasicEvent

Constructor

StringEvent

public function StringEvent (
type:String, target:Object = null, string:String = "")

Creates a new StringEvent object.
Parameters:
type :
name of the event type
target:
target of this event
string:
string value carried by this event

Instance methods

clone

override public function clone (
) : Event

Clone the event
Returns:
  • a clone of the event
Overrides:

getString

public function getString (
) : String

Returns the string value carried by this event.
Returns:
  • the string value carried by this event.