Packagemain.model.proxies
Classpublic class NeighborProxy
InheritanceNeighborProxy Inheritance ListProxy Inheritance org.puremvc.as3.multicore.utilities.fabrication.patterns.proxy.FabricationProxy



Public Properties
 PropertyDefined By
 Inheritedlist : ArrayCollection
[read-only]
ListProxy
Public Methods
 MethodDefined By
  
NeighborProxy(name:String, _list:ArrayCollection = null)
NeighborProxy
 Inherited
add(element:IListElement):void
ListProxy
 Inherited
exists(element:IListElement):Boolean
ListProxy
 Inherited
find(elementID:String):IListElement
ListProxy
  
NeighborProxy
  
NeighborProxy
  
[override]
NeighborProxy
  
[override]
NeighborProxy
 Inherited
remove(element:IListElement):void
ListProxy
 Inherited
removeAll():void
ListProxy
  
NeighborProxy
  
removeByGroupAddress(groupAddress:String):void
NeighborProxy
Public Constants
 ConstantDefined By
 InheritedADDED_TO_LIST : String = addedToList
[static]
ListProxy
  NAME : String = NeighborProxy
[static]
NeighborProxy
  NEIGHBOR_ADDED : String = neighborAdded
[static]
NeighborProxy
  NEIGHBOR_REMOVED : String = neighborRemoved
[static]
NeighborProxy
 InheritedREMOVED_FROM_LIST : String = removedFromList
[static]
ListProxy
  REQUEST_NEIGHBOR_SHARED_OBJECTS_LIST : String = requestNeighborSharedObjectsList
[static]
NeighborProxy
Constructor Detail
NeighborProxy()Constructor
public function NeighborProxy(name:String, _list:ArrayCollection = null)



Parameters
name:String (default = NaN)
 
_list:ArrayCollection (default = null)
Method Detail
findAllByNetGroup()method
public function findAllByNetGroup(netGroup:INetGroup):Array

Parameters

netGroup:INetGroup

Returns
Array
findRandomInNetGroup()method 
public function findRandomInNetGroup(netGroup:INetGroup):INeighbor

Parameters

netGroup:INetGroup

Returns
INeighbor
onElementAdded()method 
override public function onElementAdded(element:IListElement):void

Parameters

element:IListElement

onElementRemoved()method 
override public function onElementRemoved(element:IListElement):void

Parameters

element:IListElement

removeAllByNetGroup()method 
public function removeAllByNetGroup(netGroup:INetGroup):void

Parameters

netGroup:INetGroup

removeByGroupAddress()method 
public function removeByGroupAddress(groupAddress:String):void

Parameters

groupAddress:String

Constant Detail
NAMEConstant
public static const NAME:String = NeighborProxy

NEIGHBOR_ADDEDConstant 
public static const NEIGHBOR_ADDED:String = neighborAdded

NEIGHBOR_REMOVEDConstant 
public static const NEIGHBOR_REMOVED:String = neighborRemoved

REQUEST_NEIGHBOR_SHARED_OBJECTS_LISTConstant 
public static const REQUEST_NEIGHBOR_SHARED_OBJECTS_LIST:String = requestNeighborSharedObjectsList