mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-20 01:37:50 -05:00
Brought up to date with the private repository (feea4c7)
This commit is contained in:
1 parent
1aa738d692
commit
1b1df1ae48
7925 files changed
+2617237
-20
No files matched your search
@@ -0,0 +1,49 @@
|
||||
package org.osmf.events
|
||||
{
|
||||
import flash.events.Event;
|
||||
|
||||
public class MetadataEvent extends Event
|
||||
{
|
||||
|
||||
public static const VALUE_ADD:String = "valueAdd";
|
||||
|
||||
public static const VALUE_REMOVE:String = "valueRemove";
|
||||
|
||||
public static const VALUE_CHANGE:String = "valueChange";
|
||||
|
||||
private var _key:String;
|
||||
|
||||
private var _value:*;
|
||||
|
||||
private var _oldValue:*;
|
||||
|
||||
public function MetadataEvent(param1:String, param2:Boolean = false, param3:Boolean = false, param4:String = null, param5:* = null, param6:* = null)
|
||||
{
|
||||
super(param1,param2,param3);
|
||||
_key = param4;
|
||||
_value = param5;
|
||||
_oldValue = param6;
|
||||
}
|
||||
|
||||
public function get key() : String
|
||||
{
|
||||
return _key;
|
||||
}
|
||||
|
||||
public function get value() : *
|
||||
{
|
||||
return _value;
|
||||
}
|
||||
|
||||
public function get oldValue() : *
|
||||
{
|
||||
return _oldValue;
|
||||
}
|
||||
|
||||
override public function clone() : Event
|
||||
{
|
||||
return new MetadataEvent(type,bubbles,cancelable,_key,_value,_oldValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user