This repository has been archived by the owner on Jan 5, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates to Popup, DelayedCall, and DictionaryUtils
Add ContentEvent support to Popup class Added scope to DelayedCall function invocation Added `flatten` option to DictionaryUtils Added NumberUtils::inRange()
- Loading branch information
1 parent
5a7004d
commit 829dc6c
Showing
7 changed files
with
174 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
src/com/codecatalyst/component/behavior/ui/events/ContentEvent.as
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package com.codecatalyst.component.behavior.ui.events | ||
{ | ||
import flash.events.Event; | ||
|
||
public class ContentEvent extends Event | ||
{ | ||
|
||
public static const CONTENT_CHANGE : String = "contentChange"; | ||
public static const CONTENT_INITIALIZED : String = "contentInitialized"; | ||
public static const CONTENT_READY : String = "contentReady"; | ||
public static const CONTENT_RELEASED : String = "contentReleased"; | ||
|
||
public var content : Object; | ||
|
||
|
||
public function ContentEvent(type:String, content:Object=null) | ||
{ | ||
super(type,false,false); | ||
this.content = content; | ||
} | ||
|
||
override public function clone():Event | ||
{ | ||
return new ContentEvent(type, content); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.