Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/build.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="AS3Commons Collections" default="APIDoc" basedir="../" >

<property name="FLEX_HOME" value="c:\FDT\plugins\com.powerflasher.fdt.shippedFlexSDK_3.5.0.12683a_1000\\flex" />
<property name="FLEX_HOME" value="D:\Program Files\Adobe\Adobe Flash Builder Burrito\sdks\3.5.0" />
<property name="ASDOC" value="${FLEX_HOME}\bin\asdoc.exe" />

<property name="FILE_NAME" value="as3commons-collections" />
Expand Down
Binary file modified deploy/swc/as3commons-collections-1.3.0.swc
Binary file not shown.
1 change: 1 addition & 0 deletions src/org/as3commons/collections/framework/IDuplicates.as
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ package org.as3commons.collections.framework {
*
* @return Number of occurrences of the given item.
*/
[Bindable("collectionChanged")]
function count(item : *) : uint;

/**
Expand Down
3 changes: 3 additions & 0 deletions src/org/as3commons/collections/framework/IMap.as
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ package org.as3commons.collections.framework {
* @param key The key to test.
* @return <code>true</code> if the key is contained.
*/
[Bindable("collectionChanged")]
function hasKey(key : *) : Boolean;

/**
Expand All @@ -90,6 +91,7 @@ package org.as3commons.collections.framework {
* @param key The key.
* @return The item if the key is contained, else <code>undefined</code>.
*/
[Bindable("collectionChanged")]
function itemFor(key : *) : *;

/**
Expand All @@ -99,6 +101,7 @@ package org.as3commons.collections.framework {
*
* @return An array of the keys of the map.
*/
[Bindable("collectionChanged")]
function keysToArray() : Array;

/**
Expand Down
38 changes: 37 additions & 1 deletion src/org/as3commons/collections/fx/MapFx.as
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/
package org.as3commons.collections.fx {
import org.as3commons.collections.Map;
import org.as3commons.collections.framework.IMap;
import org.as3commons.collections.framework.ICollectionFx;
import org.as3commons.collections.fx.events.CollectionEvent;

Expand Down Expand Up @@ -47,7 +48,7 @@ package org.as3commons.collections.fx {
* @see org.as3commons.collections.fx.events.MapEvent MapEvent - Description of the map event properties.
* @see org.as3commons.collections.Map Map - Map description and usage examples.
*/
public class MapFx extends Map implements ICollectionFx {
public class MapFx extends Map implements IMap,ICollectionFx {

/**
* Event dispatcher.
Expand Down Expand Up @@ -181,6 +182,41 @@ package org.as3commons.collections.fx {
item
));
}

/**
* @inheritDoc
*/
[Bindable("collectionChanged")]
override public function hasKey(key:*):Boolean
{
return super.hasKey(key);
}

/**
* @inheritDoc
*/
[Bindable("collectionChanged")]
override public function keysToArray() : Array
{
return super.keysToArray();
}

/**
* @inheritDoc
*/
[Bindable("collectionChanged")]
override public function itemFor(key : *) : * {
return super.itemFor(key)
}


/**
* @inheritDoc
*/
[Bindable("collectionChanged")]
override public function count(item : *) : uint {
return super.count(item);
}
}
}

Expand Down