Initial import: Carteasy Shop (Dev-Stand)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package com.adobe.protocols.dict.events
|
||||
{
|
||||
import flash.events.Event;
|
||||
import com.adobe.protocols.dict.Dict;
|
||||
|
||||
public class ConnectedEvent extends Event
|
||||
{
|
||||
public function ConnectedEvent()
|
||||
{
|
||||
super(Dict.CONNECTED);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
package com.adobe.protocols.dict.events
|
||||
{
|
||||
import flash.events.Event;
|
||||
import com.adobe.protocols.dict.Dict;
|
||||
|
||||
public class DatabaseEvent
|
||||
extends Event
|
||||
{
|
||||
private var _databases:Array;
|
||||
|
||||
public function DatabaseEvent()
|
||||
{
|
||||
super(Dict.DATABASES);
|
||||
}
|
||||
|
||||
public function set databases(databases:Array):void
|
||||
{
|
||||
this._databases = databases;
|
||||
}
|
||||
|
||||
public function get databases():Array
|
||||
{
|
||||
return this._databases;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.adobe.protocols.dict.events
|
||||
{
|
||||
import flash.events.Event;
|
||||
import com.adobe.protocols.dict.Dict;
|
||||
import com.adobe.protocols.dict.Definition;
|
||||
|
||||
public class DefinitionEvent
|
||||
extends Event
|
||||
{
|
||||
private var _definition:Definition;
|
||||
|
||||
public function DefinitionEvent()
|
||||
{
|
||||
super(Dict.DEFINITION);
|
||||
}
|
||||
|
||||
public function set definition(definition:Definition):void
|
||||
{
|
||||
this._definition = definition;
|
||||
}
|
||||
|
||||
public function get definition():Definition
|
||||
{
|
||||
return this._definition;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
package com.adobe.protocols.dict.events
|
||||
{
|
||||
import flash.events.Event;
|
||||
import com.adobe.protocols.dict.Dict;
|
||||
|
||||
public class DefinitionHeaderEvent
|
||||
extends Event
|
||||
{
|
||||
private var _definitionCount:uint;
|
||||
|
||||
public function DefinitionHeaderEvent()
|
||||
{
|
||||
super(Dict.DEFINITION_HEADER);
|
||||
}
|
||||
|
||||
public function set definitionCount(definitionCount:uint):void
|
||||
{
|
||||
this._definitionCount = definitionCount;
|
||||
}
|
||||
|
||||
public function get definitionCount():uint
|
||||
{
|
||||
return this._definitionCount;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
package com.adobe.protocols.dict.events
|
||||
{
|
||||
import flash.events.Event;
|
||||
import com.adobe.protocols.dict.Dict;
|
||||
|
||||
public class DictionaryServerEvent
|
||||
extends Event
|
||||
{
|
||||
private var _servers:Array;
|
||||
|
||||
public function DictionaryServerEvent()
|
||||
{
|
||||
super(Dict.SERVERS);
|
||||
}
|
||||
|
||||
public function set servers(servers:Array):void
|
||||
{
|
||||
this._servers = servers;
|
||||
}
|
||||
|
||||
public function get servers():Array
|
||||
{
|
||||
return this._servers;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.adobe.protocols.dict.events
|
||||
{
|
||||
import flash.events.Event;
|
||||
import com.adobe.protocols.dict.Dict;
|
||||
|
||||
public class DisconnectedEvent extends Event
|
||||
{
|
||||
public function DisconnectedEvent()
|
||||
{
|
||||
super(Dict.DISCONNECTED);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
package com.adobe.protocols.dict.events
|
||||
{
|
||||
import flash.events.Event;
|
||||
import com.adobe.protocols.dict.Dict;
|
||||
|
||||
public class ErrorEvent
|
||||
extends Event
|
||||
{
|
||||
private var _code:uint;
|
||||
private var _message:String;
|
||||
|
||||
public function ErrorEvent()
|
||||
{
|
||||
super(Dict.ERROR);
|
||||
}
|
||||
|
||||
public function set code(code:uint):void
|
||||
{
|
||||
this._code = code;
|
||||
}
|
||||
|
||||
public function set message(message:String):void
|
||||
{
|
||||
this._message = message;
|
||||
}
|
||||
|
||||
public function get code():uint
|
||||
{
|
||||
return this._code;
|
||||
}
|
||||
|
||||
public function get message():String
|
||||
{
|
||||
return this._message;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
package com.adobe.protocols.dict.events
|
||||
{
|
||||
import flash.events.Event;
|
||||
import com.adobe.protocols.dict.Dict;
|
||||
|
||||
public class MatchEvent
|
||||
extends Event
|
||||
{
|
||||
private var _matches:Array;
|
||||
|
||||
public function MatchEvent()
|
||||
{
|
||||
super(Dict.MATCH);
|
||||
}
|
||||
|
||||
public function set matches(matches:Array):void
|
||||
{
|
||||
this._matches = matches;
|
||||
}
|
||||
|
||||
public function get matches():Array
|
||||
{
|
||||
return this._matches;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
package com.adobe.protocols.dict.events
|
||||
{
|
||||
import flash.events.Event;
|
||||
import com.adobe.protocols.dict.Dict;
|
||||
|
||||
public class MatchStrategiesEvent
|
||||
extends Event
|
||||
{
|
||||
private var _strategies:Array;
|
||||
|
||||
public function MatchStrategiesEvent()
|
||||
{
|
||||
super(Dict.MATCH_STRATEGIES);
|
||||
}
|
||||
|
||||
public function set strategies(strategies:Array):void
|
||||
{
|
||||
this._strategies = strategies;
|
||||
}
|
||||
|
||||
public function get strategies():Array
|
||||
{
|
||||
return this._strategies;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.adobe.protocols.dict.events
|
||||
{
|
||||
import flash.events.Event;
|
||||
import com.adobe.protocols.dict.Dict;
|
||||
|
||||
public class NoMatchEvent
|
||||
extends Event
|
||||
{
|
||||
public function NoMatchEvent()
|
||||
{
|
||||
super(Dict.NO_MATCH);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user