as3signals 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +0 -3
- data/Gemfile.lock +32 -0
- data/README.textile +41 -9
- data/Rakefile +88 -43
- data/as3signals.gemspec +26 -11
- data/bin/as3-signals-v0.7.swc +0 -0
- data/build.properties +1 -0
- data/build.xml +3 -2
- data/docs/AC_OETags.js +129 -0
- data/docs/all-classes.html +55 -0
- data/docs/all-index-A.html +25 -0
- data/docs/all-index-B.html +13 -0
- data/docs/all-index-C.html +13 -0
- data/docs/all-index-D.html +22 -0
- data/docs/all-index-E.html +17 -0
- data/docs/all-index-F.html +13 -0
- data/docs/all-index-G.html +13 -0
- data/docs/all-index-H.html +13 -0
- data/docs/all-index-I.html +15 -0
- data/docs/all-index-J.html +13 -0
- data/docs/all-index-K.html +13 -0
- data/docs/all-index-L.html +13 -0
- data/docs/all-index-M.html +16 -0
- data/docs/all-index-N.html +25 -0
- data/docs/all-index-O.html +14 -0
- data/docs/all-index-P.html +13 -0
- data/docs/all-index-Q.html +13 -0
- data/docs/all-index-R.html +21 -0
- data/docs/all-index-S.html +15 -0
- data/docs/all-index-T.html +15 -0
- data/docs/all-index-U.html +13 -0
- data/docs/all-index-V.html +17 -0
- data/docs/all-index-W.html +13 -0
- data/docs/all-index-X.html +13 -0
- data/docs/all-index-Y.html +13 -0
- data/docs/all-index-Z.html +13 -0
- data/docs/asdoc.js +286 -0
- data/docs/class-summary.html +24 -0
- data/docs/cookies.js +84 -0
- data/docs/help.js +941 -0
- data/docs/images/AirIcon12x12.gif +0 -0
- data/docs/images/P_AlternativeMetadataIndicator_30x28_N.png +0 -0
- data/docs/images/collapsed.gif +0 -0
- data/docs/images/detailHeaderRule.jpg +0 -0
- data/docs/images/detailSectionHeader.jpg +0 -0
- data/docs/images/expanded.gif +0 -0
- data/docs/images/inherit-arrow.gif +0 -0
- data/docs/images/inheritedSummary.gif +0 -0
- data/docs/images/logo.jpg +0 -0
- data/docs/images/titleTableBottom.jpg +0 -0
- data/docs/images/titleTableMiddle.jpg +0 -0
- data/docs/images/titleTableTop.jpg +0 -0
- data/docs/index-list.html +70 -0
- data/docs/index.html +40 -0
- data/docs/org/osflash/signals/DeluxeSignal.html +68 -0
- data/docs/org/osflash/signals/IDeluxeSignal.html +42 -0
- data/docs/org/osflash/signals/IDispatcher.html +21 -0
- data/docs/org/osflash/signals/ISignal.html +39 -0
- data/docs/org/osflash/signals/ISignalOwner.html +24 -0
- data/docs/org/osflash/signals/Signal.html +64 -0
- data/docs/org/osflash/signals/class-list.html +1 -0
- data/docs/org/osflash/signals/events/GenericEvent.html +17 -0
- data/docs/org/osflash/signals/events/IBubbleEventHandler.html +21 -0
- data/docs/org/osflash/signals/events/IEvent.html +16 -0
- data/docs/org/osflash/signals/events/class-list.html +1 -0
- data/docs/org/osflash/signals/events/package-detail.html +14 -0
- data/docs/org/osflash/signals/natives/INativeDispatcher.html +32 -0
- data/docs/org/osflash/signals/natives/NativeMappedSignal.html +106 -0
- data/docs/org/osflash/signals/natives/NativeRelaySignal.html +49 -0
- data/docs/org/osflash/signals/natives/NativeSignal.html +82 -0
- data/docs/org/osflash/signals/natives/class-list.html +1 -0
- data/docs/org/osflash/signals/natives/package-detail.html +21 -0
- data/docs/org/osflash/signals/package-detail.html +19 -0
- data/docs/override.css +12 -0
- data/docs/package-frame.html +18 -0
- data/docs/package-list.html +1 -0
- data/docs/package-summary.html +13 -0
- data/docs/print.css +110 -0
- data/docs/style.css +578 -0
- data/docs/title-bar.html +41 -0
- data/gemfile +3 -0
- data/lib/as3signals.rb +5 -2
- data/lib/as3signals/version.rb +8 -0
- data/libs/asunit4-alpha.swc +0 -0
- metadata +109 -32
- data/as3-signals.as3proj +0 -87
- data/as3-signals.docproj +0 -9
@@ -0,0 +1,16 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- saved from url=(0014)about:internet --><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><link rel="stylesheet" href="../../../../style.css" type="text/css" media="screen"><link rel="stylesheet" href="../../../../print.css" type="text/css" media="print"><link rel="stylesheet" href="../../../../override.css" type="text/css"><meta name="keywords" content="IEvent,org.osflash.signals.events.IEvent,_bubbles,_currentTarget,_signal,_target,bubbles,bubbles,currentTarget,currentTarget,signal,signal,target,target,clone,clone,onEventBubbled"><title>org.osflash.signals.events.IEvent</title></head><body><script language="javascript" type="text/javascript" src="../../../../asdoc.js"></script><script language="javascript" type="text/javascript" src="../../../../help.js"></script><script language="javascript" type="text/javascript" src="../../../../cookies.js"></script><script language="javascript" type="text/javascript"><!--
|
2
|
+
asdocTitle = 'IEvent - AS3 Signals v0.7';
|
3
|
+
var baseRef = '../../../../';
|
4
|
+
window.onload = configPage;
|
5
|
+
--></script>
|
6
|
+
<script type="text/javascript">
|
7
|
+
scrollToNameAnchor();
|
8
|
+
</script><table class="titleTable" cellpadding="0" cellspacing="0" id="titleTable" style="display:none"><tr><td class="titleTableTitle" align="left">AS3 Signals v0.7</td><td class="titleTableTopNav" align="right"><a href="../../../../package-summary.html" onclick="loadClassListFrame('../../../../all-classes.html')">All Packages</a> | <a href="../../../../class-summary.html" onclick="loadClassListFrame('../../../../all-classes.html')">All Classes</a> | <a href="../../../../all-index-A.html" onclick="loadClassListFrame('../../../../index-list.html')">Index</a> | <a id="framesLink1" href="../../../../index.html?org/osflash/signals/events/IEvent.html&org/osflash/signals/events/class-list.html">Frames</a><a id="noFramesLink1" style="display:none" href="" onclick="parent.location=document.location"> No Frames </a></td><td class="titleTableLogo" align="right" rowspan="3"><img src="../../../../images/logo.jpg" class="logoImage" alt=" Adobe Logo " title=" Adobe Logo "></td></tr><tr class="titleTableRow2"><td class="titleTableSubTitle" id="subTitle" align="left">IEvent</td><td class="titleTableSubNav" id="subNav" align="right"><a href="#propertySummary">Properties</a> | <a href="#methodSummary">Methods</a></td></tr><tr class="titleTableRow3"><td colspan="3"> </td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve">
|
9
|
+
<!--
|
10
|
+
|
11
|
+
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("IEvent"); titleBar_setSubNav(false,true,false,false,false,false,false,false,true,false,false ,false,false,false,false,false);}
|
12
|
+
-->
|
13
|
+
</script><div xmlns:fn="http://www.w3.org/2005/xpath-functions" class="MainContent"><table class="classHeaderTable" cellpadding="0" cellspacing="0"><tr><td class="classHeaderTableLabel">Package</td><td><a href="package-detail.html" onclick="javascript:loadClassListFrame('class-list.html')">org.osflash.signals.events</a></td></tr><tr><td class="classHeaderTableLabel">Interface</td><td class="classSignature">public interface IEvent</td></tr><tr><td class="classHeaderTableLabel">Implementors</td><td> <a href="../../../../org/osflash/signals/events/GenericEvent.html">GenericEvent</a></td></tr></table><p></p><p></p><p></p><br/><hr></div><a name="propertySummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Properties</div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableProperty"><tr><th> </th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#bubbles" class="signatureLink">bubbles</a> : Boolean<div class="summaryTableDescription"> Indicates whether the event is a bubbling event.</div></td><td class="summaryTableOwnerCol">IEvent</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#currentTarget" class="signatureLink">currentTarget</a> : Object<div class="summaryTableDescription"> The object that added the listener for the event.</div></td><td class="summaryTableOwnerCol">IEvent</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#signal" class="signatureLink">signal</a> : <a href="../../../../org/osflash/signals/IDeluxeSignal.html">IDeluxeSignal</a><div class="summaryTableDescription"> The signal that dispatched the event.</div></td><td class="summaryTableOwnerCol">IEvent</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#target" class="signatureLink">target</a> : Object<div class="summaryTableDescription"> The object that originally dispatched the event.</div></td><td class="summaryTableOwnerCol">IEvent</td></tr></table></div><a name="methodSummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Methods </div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableMethod"><tr><th> </th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#clone()" class="signatureLink">clone</a>():<a href="../../../../org/osflash/signals/events/IEvent.html">IEvent</a></div><div class="summaryTableDescription"> Returns a new copy of the instance.</div></td><td class="summaryTableOwnerCol">IEvent</td></tr></table></div><script language="javascript" type="text/javascript"><!--
|
14
|
+
showHideInherited();
|
15
|
+
--></script><div class="MainContent"><div class="detailSectionHeader">Property Detail</div><a name="propertyDetail"></a><a name="bubbles"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">bubbles</td><td class="detailHeaderType">property</td></tr></table><div class="detailBody"><code>bubbles:Boolean</code><p></p><p></p><p> Indicates whether the event is a bubbling event. </p><br/><span class="label"> Implementation </span><br/><code> public function get bubbles():Boolean</code><br/><code> public function set bubbles(value:Boolean):void</code><br/></div><a name="propertyDetail"></a><a name="currentTarget"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">currentTarget</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>currentTarget:Object</code><p></p><p></p><p> The object that added the listener for the event. </p><br/><span class="label"> Implementation </span><br/><code> public function get currentTarget():Object</code><br/><code> public function set currentTarget(value:Object):void</code><br/></div><a name="propertyDetail"></a><a name="signal"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">signal</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>signal:<a href="../../../../org/osflash/signals/IDeluxeSignal.html">IDeluxeSignal</a></code><p></p><p></p><p> The signal that dispatched the event. </p><br/><span class="label"> Implementation </span><br/><code> public function get signal():<a href="../../../../org/osflash/signals/IDeluxeSignal.html">IDeluxeSignal</a></code><br/><code> public function set signal(value:<a href="../../../../org/osflash/signals/IDeluxeSignal.html">IDeluxeSignal</a>):void</code><br/></div><a name="propertyDetail"></a><a name="target"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">target</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>target:Object</code><p></p><p></p><p> The object that originally dispatched the event.
|
16
|
+
When dispatched from an signal, the target is the object containing the signal. </p><br/><span class="label"> Implementation </span><br/><code> public function get target():Object</code><br/><code> public function set target(value:Object):void</code><br/></div><a name="methodDetail"></a><div class="detailSectionHeader">Method Detail</div><a name="clone()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">clone</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td></tr></table><div class="detailBody"><code> public function clone():<a href="../../../../org/osflash/signals/events/IEvent.html">IEvent</a></code><p></p><p></p><p> Returns a new copy of the instance. </p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../../../org/osflash/signals/events/IEvent.html">IEvent</a></code></td></tr></table></div><br/><br/><hr><br/><p></p><center class="copyright"><footer>AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM</footer><br/>Mon Oct 25 2010, 02:48 PM -07:00 </center></div></body></html><!--AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM<br/>Mon Oct 25 2010, 02:48 PM -07:00 -->
|
@@ -0,0 +1 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- saved from url=(0014)about:internet --><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>org.osflash.signals.events - AS3 Signals v0.7</title><base target="classFrame"><link rel="stylesheet" href="../../../../style.css" type="text/css" media="screen"><link rel="stylesheet" href="../../../../print.css" type="text/css" media="print"><link rel="stylesheet" href="../../../../override.css" type="text/css"></head><body class="classFrameContent"><h3><a href="package-detail.html" target="classFrame" style="color:black">Package org.osflash.signals.events</a></h3><table cellpadding="0" cellspacing="0"><tr><td><a href="package-detail.html#interfaceSummary" style="color:black"><b>Interfaces</b></a></td></tr><tr><td><a href="IBubbleEventHandler.html"><i>IBubbleEventHandler</i></a></td></tr><tr><td><a href="IEvent.html"><i>IEvent</i></a></td></tr><tr><td width="10px"> </td></tr><tr><td><a href="package-detail.html#classSummary" style="color:black"><b>Classes</b></a></td></tr><tr><td><a href="GenericEvent.html">GenericEvent</a></td></tr></table></body></html><!--AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM<br/>Mon Oct 25 2010, 02:48 PM -07:00 -->
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- saved from url=(0014)about:internet --><!-- saved from url=(0014)about:internet --><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><link rel="stylesheet" href="../../../../style.css" type="text/css" media="screen"><link rel="stylesheet" href="../../../../print.css" type="text/css" media="print"><link rel="stylesheet" href="../../../../override.css" type="text/css"><title>org.osflash.signals.events Summary</title></head><body><script language="javascript" type="text/javascript" src="../../../../asdoc.js"></script><script language="javascript" type="text/javascript" src="../../../../help.js"></script><script language="javascript" type="text/javascript" src="../../../../cookies.js"></script><script language="javascript" type="text/javascript"><!--
|
2
|
+
asdocTitle = 'org.osflash.signals.events package - AS3 Signals v0.7';
|
3
|
+
var baseRef = '../../../../';
|
4
|
+
window.onload = configPage;
|
5
|
+
--></script>
|
6
|
+
<script type="text/javascript">
|
7
|
+
scrollToNameAnchor();
|
8
|
+
</script><table class="titleTable" cellpadding="0" cellspacing="0" id="titleTable" style="display:none"><tr><td class="titleTableTitle" align="left">AS3 Signals v0.7</td><td class="titleTableTopNav" align="right"><a href="../../../../package-summary.html" onclick="loadClassListFrame('../../../../all-classes.html')">All Packages</a> | <a href="../../../../class-summary.html" onclick="loadClassListFrame('../../../../all-classes.html')">All Classes</a> | <a href="../../../../all-index-A.html" onclick="loadClassListFrame('../../../../index-list.html')">Index</a> | <a id="framesLink1" href="../../../../index.html?org/osflash/signals/events/package-detail.html&org/osflash/signals/events/class-list.html">Frames</a><a id="noFramesLink1" style="display:none" href="" onclick="parent.location=document.location"> No Frames </a></td><td class="titleTableLogo" align="right" rowspan="3"><img src="../../../../images/logo.jpg" class="logoImage" alt=" Adobe Logo " title=" Adobe Logo "></td></tr><tr class="titleTableRow2"><td class="titleTableSubTitle" id="subTitle" align="left">org.osflash.signals.events</td><td class="titleTableSubNav" id="subNav" align="right"><a href="package-detail.html#interfaceSummary"> Interfaces </a> | <a href="package-detail.html#classSummary">Classes</a></td></tr><tr class="titleTableRow3"><td colspan="3"> </td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve">
|
9
|
+
<!--
|
10
|
+
|
11
|
+
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("org.osflash.signals.events"); titleBar_setSubNav(false,false,false,false,false,false,false,false,false,false,false ,false,false,true,true,false);}
|
12
|
+
-->
|
13
|
+
</script><div class="MainContent"><br><br><hr><a name="interfaceSummary"></a><div class="summaryTableTitle">Interfaces</div><table cellpadding="3" cellspacing="0" class="summaryTable"><tr><th> </th><th width="30%">Interface</th><th width="70%">Description</th></tr><tr class="prow1"><td class="summaryTablePaddingCol"> </td><td class="summaryTableSecondCol"><i><a href="IBubbleEventHandler.html">IBubbleEventHandler</a></i></td><td class="summaryTableLastCol"> </td></tr><tr class="prow0"><td class="summaryTablePaddingCol"> </td><td class="summaryTableSecondCol"><i><a href="IEvent.html">IEvent</a></i></td><td class="summaryTableLastCol"> </td></tr></table><a name="classSummary"></a><div class="summaryTableTitle">Classes</div><table cellpadding="3" cellspacing="0" class="summaryTable"><tr><th> </th><th width="30%">Class</th><th width="70%">Description</th></tr><tr class="prow1"><td class="summaryTablePaddingCol"> </td><td class="summaryTableSecondCol"><a href="GenericEvent.html">GenericEvent</a></td><td class="summaryTableLastCol">
|
14
|
+
</td></tr></table><p></p><div><p></p><center class="copyright"><footer>AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM</footer><br/>Mon Oct 25 2010, 02:48 PM -07:00 </center></div></div></body></html><!--AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM<br/>Mon Oct 25 2010, 02:48 PM -07:00 -->
|
@@ -0,0 +1,32 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- saved from url=(0014)about:internet --><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><link rel="stylesheet" href="../../../../style.css" type="text/css" media="screen"><link rel="stylesheet" href="../../../../print.css" type="text/css" media="print"><link rel="stylesheet" href="../../../../override.css" type="text/css"><meta name="keywords" content="INativeDispatcher,org.osflash.signals.natives.INativeDispatcher,_eventClass,_eventClass,_eventType,_eventType,_target,eventClass,eventClass,eventClass,eventType,eventType,listenerBoxes,mappingFunction,mappingFunctionExists,mappingFunctionWantsEvent,numListeners,target,target,valueClasses,add,addOnceWithPriority,addOnceWithPriority,addOnce,addWithPriority,addWithPriority,dispatch,dispatch,dispatch,indexOfListener,mapEvent,mapTo,registerListener,remove,remove,removeAll"><title>org.osflash.signals.natives.INativeDispatcher</title></head><body><script language="javascript" type="text/javascript" src="../../../../asdoc.js"></script><script language="javascript" type="text/javascript" src="../../../../help.js"></script><script language="javascript" type="text/javascript" src="../../../../cookies.js"></script><script language="javascript" type="text/javascript"><!--
|
2
|
+
asdocTitle = 'INativeDispatcher - AS3 Signals v0.7';
|
3
|
+
var baseRef = '../../../../';
|
4
|
+
window.onload = configPage;
|
5
|
+
--></script>
|
6
|
+
<script type="text/javascript">
|
7
|
+
scrollToNameAnchor();
|
8
|
+
</script><table class="titleTable" cellpadding="0" cellspacing="0" id="titleTable" style="display:none"><tr><td class="titleTableTitle" align="left">AS3 Signals v0.7</td><td class="titleTableTopNav" align="right"><a href="../../../../package-summary.html" onclick="loadClassListFrame('../../../../all-classes.html')">All Packages</a> | <a href="../../../../class-summary.html" onclick="loadClassListFrame('../../../../all-classes.html')">All Classes</a> | <a href="../../../../all-index-A.html" onclick="loadClassListFrame('../../../../index-list.html')">Index</a> | <a id="framesLink1" href="../../../../index.html?org/osflash/signals/natives/INativeDispatcher.html&org/osflash/signals/natives/class-list.html">Frames</a><a id="noFramesLink1" style="display:none" href="" onclick="parent.location=document.location"> No Frames </a></td><td class="titleTableLogo" align="right" rowspan="3"><img src="../../../../images/logo.jpg" class="logoImage" alt=" Adobe Logo " title=" Adobe Logo "></td></tr><tr class="titleTableRow2"><td class="titleTableSubTitle" id="subTitle" align="left">INativeDispatcher</td><td class="titleTableSubNav" id="subNav" align="right"><a href="#propertySummary">Properties</a> | <a href="#methodSummary">Methods</a></td></tr><tr class="titleTableRow3"><td colspan="3"> </td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve">
|
9
|
+
<!--
|
10
|
+
|
11
|
+
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("INativeDispatcher"); titleBar_setSubNav(false,true,false,false,false,false,false,false,true,false,false ,false,false,false,false,false);}
|
12
|
+
-->
|
13
|
+
</script><div xmlns:fn="http://www.w3.org/2005/xpath-functions" class="MainContent"><table class="classHeaderTable" cellpadding="0" cellspacing="0"><tr><td class="classHeaderTableLabel">Package</td><td><a href="package-detail.html" onclick="javascript:loadClassListFrame('class-list.html')">org.osflash.signals.natives</a></td></tr><tr><td class="classHeaderTableLabel">Interface</td><td class="classSignature">public interface INativeDispatcher</td></tr><tr><td class="classHeaderTableLabel">Implementors</td><td> <a href="../../../../org/osflash/signals/natives/NativeSignal.html">NativeSignal</a></td></tr></table><p></p><p></p><p></p>
|
14
|
+
Similar to IDispatcher but using strong types specific to Flash's native event system.
|
15
|
+
<p></p><br/><hr></div><a name="propertySummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Properties</div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableProperty"><tr><th> </th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#eventClass" class="signatureLink">eventClass</a> : Class<div class="summaryTableDescription">[read-only]
|
16
|
+
The class of event permitted to be dispatched.</div></td><td class="summaryTableOwnerCol">INativeDispatcher</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#eventType" class="signatureLink">eventType</a> : String<div class="summaryTableDescription">[read-only]
|
17
|
+
The type of event permitted to be dispatched.</div></td><td class="summaryTableOwnerCol">INativeDispatcher</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#target" class="signatureLink">target</a> : IEventDispatcher<div class="summaryTableDescription">[read-only]
|
18
|
+
The object considered the source of the dispatched events.</div></td><td class="summaryTableOwnerCol">INativeDispatcher</td></tr></table></div><a name="methodSummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Methods </div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableMethod"><tr><th> </th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#dispatch()" class="signatureLink">dispatch</a>(event:Event):Boolean</div><div class="summaryTableDescription">
|
19
|
+
Dispatches an event to listeners.</div></td><td class="summaryTableOwnerCol">INativeDispatcher</td></tr></table></div><script language="javascript" type="text/javascript"><!--
|
20
|
+
showHideInherited();
|
21
|
+
--></script><div class="MainContent"><div class="detailSectionHeader">Property Detail</div><a name="propertyDetail"></a><a name="eventClass"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">eventClass</td><td class="detailHeaderType">property</td></tr></table><div class="detailBody"><code>eventClass:Class</code> [read-only] <p></p><p></p><p>
|
22
|
+
The class of event permitted to be dispatched. Will be flash.events.Event or a subclass.
|
23
|
+
</p><br/><span class="label"> Implementation </span><br/><code> public function get eventClass():Class</code><br/></div><a name="propertyDetail"></a><a name="eventType"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">eventType</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>eventType:String</code> [read-only] <p></p><p></p><p>
|
24
|
+
The type of event permitted to be dispatched. Corresponds to flash.events.Event.type.
|
25
|
+
</p><br/><span class="label"> Implementation </span><br/><code> public function get eventType():String</code><br/></div><a name="propertyDetail"></a><a name="target"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">target</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>target:IEventDispatcher</code> [read-only] <p></p><p></p><p>
|
26
|
+
The object considered the source of the dispatched events.
|
27
|
+
</p><br/><span class="label"> Implementation </span><br/><code> public function get target():IEventDispatcher</code><br/></div><a name="methodDetail"></a><div class="detailSectionHeader">Method Detail</div><a name="dispatch()"></a><a name="dispatch(flash.events.Event)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">dispatch</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td></tr></table><div class="detailBody"><code> public function dispatch(event:Event):Boolean</code><p></p><p></p><p>
|
28
|
+
Dispatches an event to listeners.
|
29
|
+
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">event</span>:Event</code> — An instance of a class that is or extends flash.events.Event.
|
30
|
+
</td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Boolean</code></td></tr></table><br/><span class="label">Throws</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>ArgumentError <code>ArgumentError</code>: Event </code> — object [event] is not an instance of [eventClass].
|
31
|
+
</td></tr><tr><td class="paramSpacer"> </td></tr><tr><td width="20"></td><td><code>ArgumentError <code>ArgumentError</code>: Event </code> — object has incorrect type. Expected [eventType] but was [event.type].
|
32
|
+
</td></tr></table></div><br/><br/><hr><br/><p></p><center class="copyright"><footer>AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM</footer><br/>Mon Oct 25 2010, 02:48 PM -07:00 </center></div></body></html><!--AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM<br/>Mon Oct 25 2010, 02:48 PM -07:00 -->
|
@@ -0,0 +1,106 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- saved from url=(0014)about:internet --><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><link rel="stylesheet" href="../../../../style.css" type="text/css" media="screen"><link rel="stylesheet" href="../../../../print.css" type="text/css" media="print"><link rel="stylesheet" href="../../../../override.css" type="text/css"><meta name="keywords" content="NativeMappedSignal,org.osflash.signals.natives.NativeMappedSignal,_eventClass,_eventClass,_eventType,_eventType,_target,eventClass,eventClass,eventClass,eventType,eventType,listenerBoxes,mappingFunction,mappingFunctionExists,mappingFunctionWantsEvent,numListeners,target,target,valueClasses,add,addOnceWithPriority,addOnceWithPriority,addOnce,addWithPriority,addWithPriority,dispatch,dispatch,dispatch,indexOfListener,mapEvent,mapTo,registerListener,remove,remove,removeAll"><title>org.osflash.signals.natives.NativeMappedSignal</title></head><body><script language="javascript" type="text/javascript" src="../../../../asdoc.js"></script><script language="javascript" type="text/javascript" src="../../../../help.js"></script><script language="javascript" type="text/javascript" src="../../../../cookies.js"></script><script language="javascript" type="text/javascript"><!--
|
2
|
+
asdocTitle = 'NativeMappedSignal - AS3 Signals v0.7';
|
3
|
+
var baseRef = '../../../../';
|
4
|
+
window.onload = configPage;
|
5
|
+
--></script>
|
6
|
+
<script type="text/javascript">
|
7
|
+
scrollToNameAnchor();
|
8
|
+
</script><table class="titleTable" cellpadding="0" cellspacing="0" id="titleTable" style="display:none"><tr><td class="titleTableTitle" align="left">AS3 Signals v0.7</td><td class="titleTableTopNav" align="right"><a href="../../../../package-summary.html" onclick="loadClassListFrame('../../../../all-classes.html')">All Packages</a> | <a href="../../../../class-summary.html" onclick="loadClassListFrame('../../../../all-classes.html')">All Classes</a> | <a href="../../../../all-index-A.html" onclick="loadClassListFrame('../../../../index-list.html')">Index</a> | <a id="framesLink1" href="../../../../index.html?org/osflash/signals/natives/NativeMappedSignal.html&org/osflash/signals/natives/class-list.html">Frames</a><a id="noFramesLink1" style="display:none" href="" onclick="parent.location=document.location"> No Frames </a></td><td class="titleTableLogo" align="right" rowspan="3"><img src="../../../../images/logo.jpg" class="logoImage" alt=" Adobe Logo " title=" Adobe Logo "></td></tr><tr class="titleTableRow2"><td class="titleTableSubTitle" id="subTitle" align="left">NativeMappedSignal</td><td class="titleTableSubNav" id="subNav" align="right"><a href="#propertySummary">Properties</a> | <a href="#methodSummary">Methods</a></td></tr><tr class="titleTableRow3"><td colspan="3"> </td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve">
|
9
|
+
<!--
|
10
|
+
|
11
|
+
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("NativeMappedSignal"); titleBar_setSubNav(false,true,false,false,false,false,false,false,true,false,false ,false,false,false,false,false);}
|
12
|
+
-->
|
13
|
+
</script><div xmlns:fn="http://www.w3.org/2005/xpath-functions" class="MainContent"><table class="classHeaderTable" cellpadding="0" cellspacing="0"><tr><td class="classHeaderTableLabel">Package</td><td><a href="package-detail.html" onclick="javascript:loadClassListFrame('class-list.html')">org.osflash.signals.natives</a></td></tr><tr><td class="classHeaderTableLabel">Class</td><td class="classSignature">public class NativeMappedSignal</td></tr><tr><td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">NativeMappedSignal <img src="../../../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> <a href="../../../../org/osflash/signals/natives/NativeRelaySignal.html">NativeRelaySignal</a> <img src="../../../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> <a href="../../../../org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a> <img src="../../../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> Object</td></tr></table><p></p><p></p><p></p>
|
14
|
+
<p>
|
15
|
+
The NativeMappedSignal class is used to map/transform a native Event,
|
16
|
+
relayed from an IEventDispatcher, into other forms of data,
|
17
|
+
which are dispatched to all listeners.
|
18
|
+
</p>
|
19
|
+
<p>This can be used to form a border where native flash Events do not cross.</p>
|
20
|
+
<p></p><br/><hr></div><a name="propertySummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Properties</div><div class="showHideLinks"><div id="hideInheritedProperty" class="hideInheritedProperty"><a class="showHideLink" href="#propertySummary" onclick="javascript:setInheritedVisible(false,'Property');"><img class="showHideLinkImage" src="../../../../images/expanded.gif"> Hide Inherited Public Properties</a></div><div id="showInheritedProperty" class="showInheritedProperty"><a class="showHideLink" href="#propertySummary" onclick="javascript:setInheritedVisible(true,'Property');"><img class="showHideLinkImage" src="../../../../images/collapsed.gif"> Show Inherited Public Properties</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableProperty"><tr><th> </th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#eventClass" class="signatureLink">eventClass</a> : Class<div class="summaryTableDescription">[read-only] </div></td><td class="summaryTableOwnerCol">NativeMappedSignal</td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html#numListeners" class="signatureLink">numListeners</a> : uint<div class="summaryTableDescription">[read-only] The current number of listeners for the signal.</div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html#target" class="signatureLink">target</a> : Object<div class="summaryTableDescription"> </div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html#valueClasses" class="signatureLink">valueClasses</a> : Array<div class="summaryTableDescription">[read-only]
|
21
|
+
An optional array of classes defining the types of parameters sent to listeners.</div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a></td></tr></table></div><a name="protectedPropertySummary"></a><div class="summarySection"><div class="summaryTableTitle">Protected Properties</div><div class="showHideLinks"><div id="hideInheritedProtectedProperty" class="hideInheritedProtectedProperty"><a class="showHideLink" href="#protectedPropertySummary" onclick="javascript:setInheritedVisible(false,'ProtectedProperty');"><img class="showHideLinkImage" src="../../../../images/expanded.gif"> Hide Inherited Protected Properties</a></div><div id="showInheritedProtectedProperty" class="showInheritedProtectedProperty"><a class="showHideLink" href="#protectedPropertySummary" onclick="javascript:setInheritedVisible(true,'ProtectedProperty');"><img class="showHideLinkImage" src="../../../../images/collapsed.gif"> Show Inherited Protected Properties</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableProtectedProperty"><tr><th> </th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#_eventClass" class="signatureLink">_eventClass</a> : Class<div class="summaryTableDescription">
|
22
|
+
</div></td><td class="summaryTableOwnerCol">NativeMappedSignal</td></tr><tr class="hideInheritedProtectedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../../org/osflash/signals/natives/NativeRelaySignal.html#_eventType" class="signatureLink">_eventType</a> : String<div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/natives/NativeRelaySignal.html">NativeRelaySignal</a></td></tr><tr class="hideInheritedProtectedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html#listenerBoxes" class="signatureLink">listenerBoxes</a> : Array<div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a></td></tr><tr class="hideInheritedProtectedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html#listenersNeedCloning" class="signatureLink">listenersNeedCloning</a> : Boolean = false<div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a></td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#mappingFunction" class="signatureLink">mappingFunction</a> : Function<div class="summaryTableDescription">[read-only] </div></td><td class="summaryTableOwnerCol">NativeMappedSignal</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#mappingFunctionExists" class="signatureLink">mappingFunctionExists</a> : Boolean<div class="summaryTableDescription">[read-only] </div></td><td class="summaryTableOwnerCol">NativeMappedSignal</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#mappingFunctionWantsEvent" class="signatureLink">mappingFunctionWantsEvent</a> : Boolean<div class="summaryTableDescription">[read-only] </div></td><td class="summaryTableOwnerCol">NativeMappedSignal</td></tr><tr class="hideInheritedProtectedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html#_target" class="signatureLink">_target</a> : Object<div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a></td></tr><tr class="hideInheritedProtectedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html#_valueClasses" class="signatureLink">_valueClasses</a> : Array<div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a></td></tr></table></div><a name="methodSummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Methods </div><div class="showHideLinks"><div id="hideInheritedMethod" class="hideInheritedMethod"><a class="showHideLink" href="#methodSummary" onclick="javascript:setInheritedVisible(false,'Method');"><img class="showHideLinkImage" src="../../../../images/expanded.gif"> Hide Inherited Public Methods</a></div><div id="showInheritedMethod" class="showInheritedMethod"><a class="showHideLink" href="#methodSummary" onclick="javascript:setInheritedVisible(true,'Method');"><img class="showHideLinkImage" src="../../../../images/collapsed.gif"> Show Inherited Public Methods</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableMethod"><tr><th> </th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#NativeMappedSignal()" class="signatureLink">NativeMappedSignal</a>(target:IEventDispatcher, eventType:String, eventClass:Class = null, ... mappedTypes)</div><div class="summaryTableDescription">
|
23
|
+
Creates a new NativeMappedSignal instance to map/transform a native Event,
|
24
|
+
relayed from an IEventDispatcher, into other forms of data,
|
25
|
+
which are dispatched to all listeners.</div></td><td class="summaryTableOwnerCol">NativeMappedSignal</td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../../org/osflash/signals/DeluxeSignal.html#add()" class="signatureLink">add</a>(listener:Function):Function</div><div class="summaryTableDescription">
|
26
|
+
Subscribes a listener for the signal.</div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../../org/osflash/signals/DeluxeSignal.html#addOnce()" class="signatureLink">addOnce</a>(listener:Function):Function</div><div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../../org/osflash/signals/natives/NativeRelaySignal.html#addOnceWithPriority()" class="signatureLink">addOnceWithPriority</a>(listener:Function, priority:int = 0):Function</div><div class="summaryTableDescription">[override]
|
27
|
+
Subscribes a one-time listener for this signal.</div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/natives/NativeRelaySignal.html">NativeRelaySignal</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../../org/osflash/signals/natives/NativeRelaySignal.html#addWithPriority()" class="signatureLink">addWithPriority</a>(listener:Function, priority:int = 0):Function</div><div class="summaryTableDescription">[override] </div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/natives/NativeRelaySignal.html">NativeRelaySignal</a></td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#dispatch()" class="signatureLink">dispatch</a>(... valueObjects):void</div><div class="summaryTableDescription">[override]
|
28
|
+
This is used as eventHandler for target or can be called directly with the parameters specified by valueClasses.</div></td><td class="summaryTableOwnerCol">NativeMappedSignal</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#mapTo()" class="signatureLink">mapTo</a>(... objectListOrFunction):<a href="../../../../org/osflash/signals/natives/NativeMappedSignal.html">NativeMappedSignal</a></div><div class="summaryTableDescription">
|
29
|
+
Sets the mapping function or literal object list.</div></td><td class="summaryTableOwnerCol">NativeMappedSignal</td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../../org/osflash/signals/natives/NativeRelaySignal.html#remove()" class="signatureLink">remove</a>(listener:Function):Function</div><div class="summaryTableDescription">[override]
|
30
|
+
Unsubscribes a listener from the signal.</div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/natives/NativeRelaySignal.html">NativeRelaySignal</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../../org/osflash/signals/DeluxeSignal.html#removeAll()" class="signatureLink">removeAll</a>():void</div><div class="summaryTableDescription">
|
31
|
+
Unsubscribes all listeners from the signal.</div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a></td></tr></table></div><a name="protectedMethodSummary"></a><div class="summarySection"><div class="summaryTableTitle">Protected Methods </div><div class="showHideLinks"><div id="hideInheritedProtectedMethod" class="hideInheritedProtectedMethod"><a class="showHideLink" href="#protectedMethodSummary" onclick="javascript:setInheritedVisible(false,'ProtectedMethod');"><img class="showHideLinkImage" src="../../../../images/expanded.gif"> Show Inherited Protected Methods</a></div><div id="showInheritedProtectedMethod" class="showInheritedProtectedMethod"><a class="showHideLink" href="#protectedMethodSummary" onclick="javascript:setInheritedVisible(true,'ProtectedMethod');"><img class="showHideLinkImage" src="../../../../images/collapsed.gif"> Show Inherited Protected Methods</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableProtectedMethod"><tr><th> </th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../../org/osflash/signals/DeluxeSignal.html#indexOfListener()" class="signatureLink">indexOfListener</a>(listener:Function):int</div><div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a></td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#mapEvent()" class="signatureLink">mapEvent</a>(eventFromTarget:Event):Object</div><div class="summaryTableDescription">
|
32
|
+
For usage without extension, instances of NativeMappedSignal that are dispatching any values ( valueClasses.length > 0 ),
|
33
|
+
needs to be provided with a either a mapping function or a list of object literals.</div></td><td class="summaryTableOwnerCol">NativeMappedSignal</td></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../../org/osflash/signals/DeluxeSignal.html#registerListener()" class="signatureLink">registerListener</a>(listener:Function, once:Boolean = false, priority:int = 0):void</div><div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a></td></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../../org/osflash/signals/DeluxeSignal.html#setValueClasses()" class="signatureLink">setValueClasses</a>(valueClasses:Array):void</div><div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a></td></tr></table></div><script language="javascript" type="text/javascript"><!--
|
34
|
+
showHideInherited();
|
35
|
+
--></script><div class="MainContent"><div class="detailSectionHeader">Property Detail</div><a name="propertyDetail"></a><a name="_eventClass"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">_eventClass</td><td class="detailHeaderType">property</td></tr></table><div class="detailBody"><code>protected var _eventClass:Class</code><p></p><p></p><p>
|
36
|
+
</p><p> The default value is <code>is initialized to flash.events.Event in constructor if omitted as parameter</code>.</p></div><a name="propertyDetail"></a><a name="eventClass"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">eventClass</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>eventClass:Class</code> [read-only] <p></p><br/><span class="label"> Implementation </span><br/><code> public function get eventClass():Class</code><br/></div><a name="propertyDetail"></a><a name="mappingFunction"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">mappingFunction</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>mappingFunction:Function</code> [read-only] <p></p><br/><span class="label"> Implementation </span><br/><code> protected function get mappingFunction():Function</code><br/></div><a name="propertyDetail"></a><a name="mappingFunctionExists"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">mappingFunctionExists</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>mappingFunctionExists:Boolean</code> [read-only] <p></p><br/><span class="label"> Implementation </span><br/><code> protected function get mappingFunctionExists():Boolean</code><br/></div><a name="propertyDetail"></a><a name="mappingFunctionWantsEvent"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">mappingFunctionWantsEvent</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>mappingFunctionWantsEvent:Boolean</code> [read-only] <p></p><br/><span class="label"> Implementation </span><br/><code> protected function get mappingFunctionWantsEvent():Boolean</code><br/></div><a name="constructorDetail"></a><div class="detailSectionHeader">Constructor Detail</div><a name="NativeMappedSignal()"></a><a name="NativeMappedSignal(flash.events.IEventDispatcher,String,Class,restParam)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">NativeMappedSignal</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">Constructor</td></tr></table><div class="detailBody"><code>public function NativeMappedSignal(target:IEventDispatcher, eventType:String, eventClass:Class = null, ... mappedTypes)</code><p></p><p>
|
37
|
+
Creates a new NativeMappedSignal instance to map/transform a native Event,
|
38
|
+
relayed from an IEventDispatcher, into other forms of data,
|
39
|
+
which are dispatched to all listeners.
|
40
|
+
|
41
|
+
</p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">target</span>:IEventDispatcher</code> — An object that implements the flash.events.IEventDispatcher interface.
|
42
|
+
</td></tr><tr><td class="paramSpacer"> </td></tr><tr><td width="20px"></td><td><code><span class="label">eventType</span>:String</code> — The event string name that would normally be passed to IEventDispatcher.addEventListener().
|
43
|
+
</td></tr><tr><td class="paramSpacer"> </td></tr><tr><td width="20px"></td><td><code><span class="label">eventClass</span>:Class</code> (default = <code>null</code>)<code></code> — An optional class reference that enables an event type check in dispatch().
|
44
|
+
</td></tr><tr><td class="paramSpacer"> </td></tr><tr><td width="20px"></td><td><code>... <span class="label">mappedTypes</span></code> — an optional list of types that enables the checking of the types mapped from an Event.
|
45
|
+
</td></tr></table></div><a name="methodDetail"></a><div class="detailSectionHeader">Method Detail</div><a name="dispatch()"></a><a name="dispatch(restParam)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">dispatch</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td></tr></table><div class="detailBody"><code>override public function dispatch(... valueObjects):void</code><p></p><p></p><p>
|
46
|
+
This is used as eventHandler for target or can be called directly with the parameters specified by valueClasses.
|
47
|
+
<p>If used as eventHandler the data mapping system is used to supply the super.dispatch with alternative data to dispatch.</p>
|
48
|
+
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code>... <span class="label">valueObjects</span></code></td></tr></table></p><p><span class="label">See also</span></p><div class="seeAlso"><a href="NativeMappedSignal.html#mapEvent()" target="">mapEvent()</a><br/><a href="NativeMappedSignal.html#mapTo()" target="">mapTo()</a><br/>org.osflash.signals.NativeRelaySignal.dispatch()</div></div><a name="mapEvent()"></a><a name="mapEvent(flash.events.Event)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">mapEvent</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code> protected function mapEvent(eventFromTarget:Event):Object</code><p></p><p></p><p>
|
49
|
+
For usage without extension, instances of <code>NativeMappedSignal</code> that are dispatching any values ( <code>valueClasses.length > 0</code> ),
|
50
|
+
needs to be provided with a either a mapping function or a list of object literals.
|
51
|
+
See <code>mapTo</code> for more info.
|
52
|
+
|
53
|
+
Subcclasses could override this one instead of letting the environment set the mapTo,
|
54
|
+
MAKE SURE to also override <code>mapTo(...)</code> if it should not be allowed.
|
55
|
+
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">eventFromTarget</span>:Event</code></td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Object</code> — An object or Array of objects mapped from an Event. The mapping of Event to data will be performed by the mapping function
|
56
|
+
if it is set. A list of object literals can also be supplied in place of the mapping function.
|
57
|
+
If no mapping function or object literals are supplied then an empty Array is returned or
|
58
|
+
if <code>valueClasses.length > 0</code> an ArgumentError is thrown.
|
59
|
+
</td></tr></table><p><span class="label">See also</span></p><div class="seeAlso"><a href="NativeMappedSignal.html#mapTo()" target="">mapTo()</a></div></div><a name="mapTo()"></a><a name="mapTo(restParam)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">mapTo</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code> public function mapTo(... objectListOrFunction):<a href="../../../../org/osflash/signals/natives/NativeMappedSignal.html">NativeMappedSignal</a></code><p></p><p></p><p>
|
60
|
+
Sets the mapping function or literal object list.
|
61
|
+
If the argument is a list of object literals then this list is dispatched to listeners.
|
62
|
+
|
63
|
+
<div class="listing" version="3.0"><pre>
|
64
|
+
signal = new NativeMappedSignal(button, MouseEvent.CLICK, MouseEvent, String).mapTo("ping")
|
65
|
+
signal.add(function(arg:String):void { trace(arg) }) // prints "ping"
|
66
|
+
</pre></div>
|
67
|
+
|
68
|
+
And an example passing a list of literals:
|
69
|
+
|
70
|
+
<div class="listing" version="3.0"><pre>
|
71
|
+
signal = new NativeMappedSignal(button, MouseEvent.CLICK, MouseEvent, String, int, Number).mapTo("ping", 3, 3.1415)
|
72
|
+
signal.add(function(arg1:String, arg2:int, arg3:Number):void { trace(arg1, arg2, arg3) }) // prints "ping", 3, 3.1415
|
73
|
+
</pre></div>
|
74
|
+
|
75
|
+
If the argument is a function then it is called when the event this NativeMappedSignal is listeneing for is dispatched.
|
76
|
+
The function should return an Array or a single object. The data returned from the function is passed along as arguemnts in the Signal dispatch.
|
77
|
+
Lets look at some examples of mapping functions and the function that is called back:
|
78
|
+
|
79
|
+
<div class="listing" version="3.0"><pre>
|
80
|
+
signal = new NativeMappedSignal(button, MouseEvent.CLICK, MouseEvent, String).mapTo(function():void {
|
81
|
+
return "ping"
|
82
|
+
})
|
83
|
+
signal.add(function(arg:String):void { trace(arg) }) // prints "ping"
|
84
|
+
</pre></div>
|
85
|
+
|
86
|
+
and here's an example using a list of arguments:
|
87
|
+
|
88
|
+
<div class="listing" version="3.0"><pre>
|
89
|
+
signal = new NativeMappedSignal(button, MouseEvent.CLICK, MouseEvent, String, int, Number).mapTo(function():void {
|
90
|
+
return ["ping", 3, 3.1415]
|
91
|
+
})
|
92
|
+
signal.add(function(arg1:String, arg2:int, arg3:Number):void { trace(arg1, arg2, arg3) }) // prints "ping", 3, 3.1415
|
93
|
+
</pre></div>
|
94
|
+
|
95
|
+
You can also state your wish to receive the native Event in th mapping function by simply including an argument of type Event:
|
96
|
+
|
97
|
+
<div class="listing" version="3.0"><pre>
|
98
|
+
signal = new NativeMappedSignal(button, MouseEvent.CLICK, MouseEvent, Point).mapTo(function(event:MouseEvent):void {
|
99
|
+
return new Point(event.localX, event.localY)
|
100
|
+
})
|
101
|
+
signal.add(function(arg:Point):void { trace(arg) }) // prints "(x=128, y=256)"
|
102
|
+
</pre></div>
|
103
|
+
|
104
|
+
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code>... <span class="label">objectListOrFunction</span></code> — This can either be a list of object literals or a function that returns list of objects.
|
105
|
+
</td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../../../org/osflash/signals/natives/NativeMappedSignal.html">NativeMappedSignal</a></code> — The NativeMappedSignal object this method was called on. This allows the Signal to be defined and mapped in one statement.
|
106
|
+
</td></tr></table></div><br/><br/><hr><br/><p></p><center class="copyright"><footer>AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM</footer><br/>Mon Oct 25 2010, 02:48 PM -07:00 </center></div></body></html><!--AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM<br/>Mon Oct 25 2010, 02:48 PM -07:00 -->
|
@@ -0,0 +1,49 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- saved from url=(0014)about:internet --><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><link rel="stylesheet" href="../../../../style.css" type="text/css" media="screen"><link rel="stylesheet" href="../../../../print.css" type="text/css" media="print"><link rel="stylesheet" href="../../../../override.css" type="text/css"><meta name="keywords" content="NativeRelaySignal,org.osflash.signals.natives.NativeRelaySignal,_eventClass,_eventClass,_eventType,_eventType,_target,eventClass,eventClass,eventClass,eventType,eventType,listenerBoxes,mappingFunction,mappingFunctionExists,mappingFunctionWantsEvent,numListeners,target,target,valueClasses,add,addOnceWithPriority,addOnceWithPriority,addOnce,addWithPriority,addWithPriority,dispatch,dispatch,dispatch,indexOfListener,mapEvent,mapTo,registerListener,remove,remove,removeAll"><title>org.osflash.signals.natives.NativeRelaySignal</title></head><body><script language="javascript" type="text/javascript" src="../../../../asdoc.js"></script><script language="javascript" type="text/javascript" src="../../../../help.js"></script><script language="javascript" type="text/javascript" src="../../../../cookies.js"></script><script language="javascript" type="text/javascript"><!--
|
2
|
+
asdocTitle = 'NativeRelaySignal - AS3 Signals v0.7';
|
3
|
+
var baseRef = '../../../../';
|
4
|
+
window.onload = configPage;
|
5
|
+
--></script>
|
6
|
+
<script type="text/javascript">
|
7
|
+
scrollToNameAnchor();
|
8
|
+
</script><table class="titleTable" cellpadding="0" cellspacing="0" id="titleTable" style="display:none"><tr><td class="titleTableTitle" align="left">AS3 Signals v0.7</td><td class="titleTableTopNav" align="right"><a href="../../../../package-summary.html" onclick="loadClassListFrame('../../../../all-classes.html')">All Packages</a> | <a href="../../../../class-summary.html" onclick="loadClassListFrame('../../../../all-classes.html')">All Classes</a> | <a href="../../../../all-index-A.html" onclick="loadClassListFrame('../../../../index-list.html')">Index</a> | <a id="framesLink1" href="../../../../index.html?org/osflash/signals/natives/NativeRelaySignal.html&org/osflash/signals/natives/class-list.html">Frames</a><a id="noFramesLink1" style="display:none" href="" onclick="parent.location=document.location"> No Frames </a></td><td class="titleTableLogo" align="right" rowspan="3"><img src="../../../../images/logo.jpg" class="logoImage" alt=" Adobe Logo " title=" Adobe Logo "></td></tr><tr class="titleTableRow2"><td class="titleTableSubTitle" id="subTitle" align="left">NativeRelaySignal</td><td class="titleTableSubNav" id="subNav" align="right"><a href="#propertySummary">Properties</a> | <a href="#methodSummary">Methods</a></td></tr><tr class="titleTableRow3"><td colspan="3"> </td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve">
|
9
|
+
<!--
|
10
|
+
|
11
|
+
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("NativeRelaySignal"); titleBar_setSubNav(false,true,false,false,false,false,false,false,true,false,false ,false,false,false,false,false);}
|
12
|
+
-->
|
13
|
+
</script><div xmlns:fn="http://www.w3.org/2005/xpath-functions" class="MainContent"><table class="classHeaderTable" cellpadding="0" cellspacing="0"><tr><td class="classHeaderTableLabel">Package</td><td><a href="package-detail.html" onclick="javascript:loadClassListFrame('class-list.html')">org.osflash.signals.natives</a></td></tr><tr><td class="classHeaderTableLabel">Class</td><td class="classSignature">public class NativeRelaySignal</td></tr><tr><td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">NativeRelaySignal <img src="../../../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> <a href="../../../../org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a> <img src="../../../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> Object</td></tr><tr><td class="classHeaderTableLabel">Subclasses</td><td> <a href="../../../../org/osflash/signals/natives/NativeMappedSignal.html">NativeMappedSignal</a></td></tr></table><p></p><p></p><p></p>
|
14
|
+
The NativeRelaySignal class is used to relay events from an IEventDispatcher
|
15
|
+
to listeners.
|
16
|
+
The difference as compared to NativeSignal is that
|
17
|
+
NativeRelaySignal has its own dispatching code,
|
18
|
+
whereas NativeSignal uses the IEventDispatcher to dispatch.
|
19
|
+
<p></p><br/><hr></div><a name="propertySummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Properties</div><div class="showHideLinks"><div id="hideInheritedProperty" class="hideInheritedProperty"><a class="showHideLink" href="#propertySummary" onclick="javascript:setInheritedVisible(false,'Property');"><img class="showHideLinkImage" src="../../../../images/expanded.gif"> Hide Inherited Public Properties</a></div><div id="showInheritedProperty" class="showInheritedProperty"><a class="showHideLink" href="#propertySummary" onclick="javascript:setInheritedVisible(true,'Property');"><img class="showHideLinkImage" src="../../../../images/collapsed.gif"> Show Inherited Public Properties</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable hideInheritedProperty" id="summaryTableProperty"><tr><th> </th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html#numListeners" class="signatureLink">numListeners</a> : uint<div class="summaryTableDescription">[read-only] The current number of listeners for the signal.</div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html#target" class="signatureLink">target</a> : Object<div class="summaryTableDescription"> </div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html#valueClasses" class="signatureLink">valueClasses</a> : Array<div class="summaryTableDescription">[read-only]
|
20
|
+
An optional array of classes defining the types of parameters sent to listeners.</div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a></td></tr></table></div><a name="protectedPropertySummary"></a><div class="summarySection"><div class="summaryTableTitle">Protected Properties</div><div class="showHideLinks"><div id="hideInheritedProtectedProperty" class="hideInheritedProtectedProperty"><a class="showHideLink" href="#protectedPropertySummary" onclick="javascript:setInheritedVisible(false,'ProtectedProperty');"><img class="showHideLinkImage" src="../../../../images/expanded.gif"> Hide Inherited Protected Properties</a></div><div id="showInheritedProtectedProperty" class="showInheritedProtectedProperty"><a class="showHideLink" href="#protectedPropertySummary" onclick="javascript:setInheritedVisible(true,'ProtectedProperty');"><img class="showHideLinkImage" src="../../../../images/collapsed.gif"> Show Inherited Protected Properties</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableProtectedProperty"><tr><th> </th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#_eventType" class="signatureLink">_eventType</a> : String<div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol">NativeRelaySignal</td></tr><tr class="hideInheritedProtectedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html#listenerBoxes" class="signatureLink">listenerBoxes</a> : Array<div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a></td></tr><tr class="hideInheritedProtectedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html#listenersNeedCloning" class="signatureLink">listenersNeedCloning</a> : Boolean = false<div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a></td></tr><tr class="hideInheritedProtectedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html#_target" class="signatureLink">_target</a> : Object<div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a></td></tr><tr class="hideInheritedProtectedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html#_valueClasses" class="signatureLink">_valueClasses</a> : Array<div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a></td></tr></table></div><a name="methodSummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Methods </div><div class="showHideLinks"><div id="hideInheritedMethod" class="hideInheritedMethod"><a class="showHideLink" href="#methodSummary" onclick="javascript:setInheritedVisible(false,'Method');"><img class="showHideLinkImage" src="../../../../images/expanded.gif"> Hide Inherited Public Methods</a></div><div id="showInheritedMethod" class="showInheritedMethod"><a class="showHideLink" href="#methodSummary" onclick="javascript:setInheritedVisible(true,'Method');"><img class="showHideLinkImage" src="../../../../images/collapsed.gif"> Show Inherited Public Methods</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableMethod"><tr><th> </th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#NativeRelaySignal()" class="signatureLink">NativeRelaySignal</a>(target:IEventDispatcher, eventType:String, eventClass:Class = null)</div><div class="summaryTableDescription">
|
21
|
+
Creates a new NativeRelaySignal instance to relay events from an IEventDispatcher.</div></td><td class="summaryTableOwnerCol">NativeRelaySignal</td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../../org/osflash/signals/DeluxeSignal.html#add()" class="signatureLink">add</a>(listener:Function):Function</div><div class="summaryTableDescription">
|
22
|
+
Subscribes a listener for the signal.</div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../../org/osflash/signals/DeluxeSignal.html#addOnce()" class="signatureLink">addOnce</a>(listener:Function):Function</div><div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a></td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#addOnceWithPriority()" class="signatureLink">addOnceWithPriority</a>(listener:Function, priority:int = 0):Function</div><div class="summaryTableDescription">[override]
|
23
|
+
Subscribes a one-time listener for this signal.</div></td><td class="summaryTableOwnerCol">NativeRelaySignal</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#addWithPriority()" class="signatureLink">addWithPriority</a>(listener:Function, priority:int = 0):Function</div><div class="summaryTableDescription">[override] </div></td><td class="summaryTableOwnerCol">NativeRelaySignal</td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../../org/osflash/signals/DeluxeSignal.html#dispatch()" class="signatureLink">dispatch</a>(... valueObjects):void</div><div class="summaryTableDescription">
|
24
|
+
Dispatches an object to listeners.</div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a></td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#remove()" class="signatureLink">remove</a>(listener:Function):Function</div><div class="summaryTableDescription">[override]
|
25
|
+
Unsubscribes a listener from the signal.</div></td><td class="summaryTableOwnerCol">NativeRelaySignal</td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../../org/osflash/signals/DeluxeSignal.html#removeAll()" class="signatureLink">removeAll</a>():void</div><div class="summaryTableDescription">
|
26
|
+
Unsubscribes all listeners from the signal.</div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a></td></tr></table></div><a name="protectedMethodSummary"></a><div class="summarySection"><div class="summaryTableTitle">Protected Methods </div><div class="showHideLinks"><div id="hideInheritedProtectedMethod" class="hideInheritedProtectedMethod"><a class="showHideLink" href="#protectedMethodSummary" onclick="javascript:setInheritedVisible(false,'ProtectedMethod');"><img class="showHideLinkImage" src="../../../../images/expanded.gif"> Show Inherited Protected Methods</a></div><div id="showInheritedProtectedMethod" class="showInheritedProtectedMethod"><a class="showHideLink" href="#protectedMethodSummary" onclick="javascript:setInheritedVisible(true,'ProtectedMethod');"><img class="showHideLinkImage" src="../../../../images/collapsed.gif"> Show Inherited Protected Methods</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable hideInheritedProtectedMethod" id="summaryTableProtectedMethod"><tr><th> </th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../../org/osflash/signals/DeluxeSignal.html#indexOfListener()" class="signatureLink">indexOfListener</a>(listener:Function):int</div><div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a></td></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../../org/osflash/signals/DeluxeSignal.html#registerListener()" class="signatureLink">registerListener</a>(listener:Function, once:Boolean = false, priority:int = 0):void</div><div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a></td></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../../org/osflash/signals/DeluxeSignal.html#setValueClasses()" class="signatureLink">setValueClasses</a>(valueClasses:Array):void</div><div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../../../org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a></td></tr></table></div><script language="javascript" type="text/javascript"><!--
|
27
|
+
showHideInherited();
|
28
|
+
--></script><div class="MainContent"><div class="detailSectionHeader">Property Detail</div><a name="propertyDetail"></a><a name="_eventType"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">_eventType</td><td class="detailHeaderType">property</td></tr></table><div class="detailBody"><code>protected var _eventType:String</code><p></p></div><a name="constructorDetail"></a><div class="detailSectionHeader">Constructor Detail</div><a name="NativeRelaySignal()"></a><a name="NativeRelaySignal(flash.events.IEventDispatcher,String,Class)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">NativeRelaySignal</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">Constructor</td></tr></table><div class="detailBody"><code>public function NativeRelaySignal(target:IEventDispatcher, eventType:String, eventClass:Class = null)</code><p></p><p>
|
29
|
+
Creates a new NativeRelaySignal instance to relay events from an IEventDispatcher.
|
30
|
+
</p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">target</span>:IEventDispatcher</code> — An object that implements the flash.events.IEventDispatcher interface.
|
31
|
+
</td></tr><tr><td class="paramSpacer"> </td></tr><tr><td width="20px"></td><td><code><span class="label">eventType</span>:String</code> — The event string name that would normally be passed to IEventDispatcher.addEventListener().
|
32
|
+
</td></tr><tr><td class="paramSpacer"> </td></tr><tr><td width="20px"></td><td><code><span class="label">eventClass</span>:Class</code> (default = <code>null</code>)<code></code> — An optional class reference that enables an event type check in dispatch().
|
33
|
+
Because the target is an IEventDispatcher,
|
34
|
+
eventClass needs to be flash.events.Event or a subclass of it.
|
35
|
+
</td></tr></table></div><a name="methodDetail"></a><div class="detailSectionHeader">Method Detail</div><a name="addOnceWithPriority()"></a><a name="addOnceWithPriority(Function,int)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">addOnceWithPriority</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td></tr></table><div class="detailBody"><code>override public function addOnceWithPriority(listener:Function, priority:int = 0):Function</code><p></p><p></p><p>
|
36
|
+
Subscribes a one-time listener for this signal.
|
37
|
+
The signal will remove the listener automatically the first time it is called,
|
38
|
+
after the dispatch to all listeners is complete.
|
39
|
+
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">listener</span>:Function</code> — A function with an argument
|
40
|
+
that matches the type of event dispatched by the signal.
|
41
|
+
If eventClass is not specified, the listener and dispatch() can be called without an argument.
|
42
|
+
</td></tr><tr><td class="paramSpacer"> </td></tr><tr><td width="20px"></td><td><code><span class="label">priority</span>:int</code> (default = <code>0</code>)<code></code> — The priority level of the event listener.
|
43
|
+
The priority is designated by a signed 32-bit integer.
|
44
|
+
The higher the number, the higher the priority.
|
45
|
+
All listeners with priority n are processed before listeners of priority n-1.
|
46
|
+
</td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Function</code></td></tr></table></div><a name="addWithPriority()"></a><a name="addWithPriority(Function,int)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">addWithPriority</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>override public function addWithPriority(listener:Function, priority:int = 0):Function</code><p></p><p></p><p> </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">listener</span>:Function</code></td></tr><tr><td class="paramSpacer"> </td></tr><tr><td width="20px"></td><td><code><span class="label">priority</span>:int</code> (default = <code>0</code>)<code></code></td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Function</code></td></tr></table></div><a name="remove()"></a><a name="remove(Function)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">remove</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>override public function remove(listener:Function):Function</code><p></p><p></p><p>
|
47
|
+
Unsubscribes a listener from the signal.
|
48
|
+
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">listener</span>:Function</code></td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Function</code> — the listener Function passed as the parameter
|
49
|
+
</td></tr></table></div><br/><br/><hr><br/><p></p><center class="copyright"><footer>AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM</footer><br/>Mon Oct 25 2010, 02:48 PM -07:00 </center></div></body></html><!--AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM<br/>Mon Oct 25 2010, 02:48 PM -07:00 -->
|
@@ -0,0 +1,82 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- saved from url=(0014)about:internet --><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><link rel="stylesheet" href="../../../../style.css" type="text/css" media="screen"><link rel="stylesheet" href="../../../../print.css" type="text/css" media="print"><link rel="stylesheet" href="../../../../override.css" type="text/css"><meta name="keywords" content="NativeSignal,org.osflash.signals.natives.NativeSignal,_eventClass,_eventClass,_eventType,_eventType,_target,eventClass,eventClass,eventClass,eventType,eventType,listenerBoxes,mappingFunction,mappingFunctionExists,mappingFunctionWantsEvent,numListeners,target,target,valueClasses,add,addOnceWithPriority,addOnceWithPriority,addOnce,addWithPriority,addWithPriority,dispatch,dispatch,dispatch,indexOfListener,mapEvent,mapTo,registerListener,remove,remove,removeAll"><title>org.osflash.signals.natives.NativeSignal</title></head><body><script language="javascript" type="text/javascript" src="../../../../asdoc.js"></script><script language="javascript" type="text/javascript" src="../../../../help.js"></script><script language="javascript" type="text/javascript" src="../../../../cookies.js"></script><script language="javascript" type="text/javascript"><!--
|
2
|
+
asdocTitle = 'NativeSignal - AS3 Signals v0.7';
|
3
|
+
var baseRef = '../../../../';
|
4
|
+
window.onload = configPage;
|
5
|
+
--></script>
|
6
|
+
<script type="text/javascript">
|
7
|
+
scrollToNameAnchor();
|
8
|
+
</script><table class="titleTable" cellpadding="0" cellspacing="0" id="titleTable" style="display:none"><tr><td class="titleTableTitle" align="left">AS3 Signals v0.7</td><td class="titleTableTopNav" align="right"><a href="../../../../package-summary.html" onclick="loadClassListFrame('../../../../all-classes.html')">All Packages</a> | <a href="../../../../class-summary.html" onclick="loadClassListFrame('../../../../all-classes.html')">All Classes</a> | <a href="../../../../all-index-A.html" onclick="loadClassListFrame('../../../../index-list.html')">Index</a> | <a id="framesLink1" href="../../../../index.html?org/osflash/signals/natives/NativeSignal.html&org/osflash/signals/natives/class-list.html">Frames</a><a id="noFramesLink1" style="display:none" href="" onclick="parent.location=document.location"> No Frames </a></td><td class="titleTableLogo" align="right" rowspan="3"><img src="../../../../images/logo.jpg" class="logoImage" alt=" Adobe Logo " title=" Adobe Logo "></td></tr><tr class="titleTableRow2"><td class="titleTableSubTitle" id="subTitle" align="left">NativeSignal</td><td class="titleTableSubNav" id="subNav" align="right"><a href="#propertySummary">Properties</a> | <a href="#methodSummary">Methods</a></td></tr><tr class="titleTableRow3"><td colspan="3"> </td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve">
|
9
|
+
<!--
|
10
|
+
|
11
|
+
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("NativeSignal"); titleBar_setSubNav(false,true,false,false,false,false,false,false,true,false,false ,false,false,false,false,false);}
|
12
|
+
-->
|
13
|
+
</script><div xmlns:fn="http://www.w3.org/2005/xpath-functions" class="MainContent"><table class="classHeaderTable" cellpadding="0" cellspacing="0"><tr><td class="classHeaderTableLabel">Package</td><td><a href="package-detail.html" onclick="javascript:loadClassListFrame('class-list.html')">org.osflash.signals.natives</a></td></tr><tr><td class="classHeaderTableLabel">Class</td><td class="classSignature">public class NativeSignal</td></tr><tr><td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">NativeSignal <img src="../../../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> Object</td></tr><tr><td class="classHeaderTableLabel">Implements</td><td> <a href="../../../../org/osflash/signals/IDeluxeSignal.html">IDeluxeSignal</a>, <a href="../../../../org/osflash/signals/natives/INativeDispatcher.html">INativeDispatcher</a></td></tr></table><p></p><p></p><p></p>
|
14
|
+
The NativeSignal class provides a strongly-typed facade for an IEventDispatcher.
|
15
|
+
A NativeSignal is essentially a mini-dispatcher locked to a specific event type and class.
|
16
|
+
It can become part of an interface.
|
17
|
+
<p></p><br/><hr></div><a name="propertySummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Properties</div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableProperty"><tr><th> </th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#eventClass" class="signatureLink">eventClass</a> : Class<div class="summaryTableDescription">[read-only]
|
18
|
+
The class of event permitted to be dispatched.</div></td><td class="summaryTableOwnerCol">NativeSignal</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#eventType" class="signatureLink">eventType</a> : String<div class="summaryTableDescription">[read-only]
|
19
|
+
The type of event permitted to be dispatched.</div></td><td class="summaryTableOwnerCol">NativeSignal</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#numListeners" class="signatureLink">numListeners</a> : uint<div class="summaryTableDescription">[read-only] The current number of listeners for the signal.</div></td><td class="summaryTableOwnerCol">NativeSignal</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#target" class="signatureLink">target</a> : IEventDispatcher<div class="summaryTableDescription">
|
20
|
+
The object considered the source of the dispatched events.</div></td><td class="summaryTableOwnerCol">NativeSignal</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#valueClasses" class="signatureLink">valueClasses</a> : Array<div class="summaryTableDescription">[read-only]
|
21
|
+
An optional array of classes defining the types of parameters sent to listeners.</div></td><td class="summaryTableOwnerCol">NativeSignal</td></tr></table></div><a name="protectedPropertySummary"></a><div class="summarySection"><div class="summaryTableTitle">Protected Properties</div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableProtectedProperty"><tr><th> </th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#_eventClass" class="signatureLink">_eventClass</a> : Class<div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol">NativeSignal</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#_eventType" class="signatureLink">_eventType</a> : String<div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol">NativeSignal</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#listenerBoxes" class="signatureLink">listenerBoxes</a> : Array<div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol">NativeSignal</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#_target" class="signatureLink">_target</a> : IEventDispatcher<div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol">NativeSignal</td></tr></table></div><a name="methodSummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Methods </div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableMethod"><tr><th> </th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#NativeSignal()" class="signatureLink">NativeSignal</a>(target:IEventDispatcher, eventType:String, eventClass:Class = null)</div><div class="summaryTableDescription">
|
22
|
+
Creates a NativeSignal instance to dispatch events on behalf of a target object.</div></td><td class="summaryTableOwnerCol">NativeSignal</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#add()" class="signatureLink">add</a>(listener:Function):Function</div><div class="summaryTableDescription">
|
23
|
+
Subscribes a listener for the signal.</div></td><td class="summaryTableOwnerCol">NativeSignal</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#addOnce()" class="signatureLink">addOnce</a>(listener:Function):Function</div><div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol">NativeSignal</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#addOnceWithPriority()" class="signatureLink">addOnceWithPriority</a>(listener:Function, priority:int = 0):Function</div><div class="summaryTableDescription">
|
24
|
+
Subscribes a one-time listener for this signal.</div></td><td class="summaryTableOwnerCol">NativeSignal</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#addWithPriority()" class="signatureLink">addWithPriority</a>(listener:Function, priority:int = 0):Function</div><div class="summaryTableDescription">
|
25
|
+
Subscribes a listener for the signal.</div></td><td class="summaryTableOwnerCol">NativeSignal</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#dispatch()" class="signatureLink">dispatch</a>(event:Event):Boolean</div><div class="summaryTableDescription">
|
26
|
+
Unlike other signals, NativeSignal does not dispatch null
|
27
|
+
because it causes an exception in EventDispatcher.</div></td><td class="summaryTableOwnerCol">NativeSignal</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#remove()" class="signatureLink">remove</a>(listener:Function):Function</div><div class="summaryTableDescription">
|
28
|
+
Unsubscribes a listener from the signal.</div></td><td class="summaryTableOwnerCol">NativeSignal</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#removeAll()" class="signatureLink">removeAll</a>():void</div><div class="summaryTableDescription"> </div></td><td class="summaryTableOwnerCol">NativeSignal</td></tr></table></div><a name="protectedMethodSummary"></a><div class="summarySection"><div class="summaryTableTitle">Protected Methods </div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableProtectedMethod"><tr><th> </th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#indexOfListener()" class="signatureLink">indexOfListener</a>(listener:Function):int</div><div class="summaryTableDescription">
|
29
|
+
</div></td><td class="summaryTableOwnerCol">NativeSignal</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#registerListener()" class="signatureLink">registerListener</a>(listener:Function, once:Boolean = false, priority:int = 0):void</div><div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol">NativeSignal</td></tr></table></div><script language="javascript" type="text/javascript"><!--
|
30
|
+
showHideInherited();
|
31
|
+
--></script><div class="MainContent"><div class="detailSectionHeader">Property Detail</div><a name="propertyDetail"></a><a name="_eventClass"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">_eventClass</td><td class="detailHeaderType">property</td></tr></table><div class="detailBody"><code>protected var _eventClass:Class</code><p></p></div><a name="propertyDetail"></a><a name="_eventType"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">_eventType</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>protected var _eventType:String</code><p></p></div><a name="propertyDetail"></a><a name="_target"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">_target</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>protected var _target:IEventDispatcher</code><p></p></div><a name="propertyDetail"></a><a name="eventClass"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">eventClass</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>eventClass:Class</code> [read-only] <p></p><p></p><p>
|
32
|
+
The class of event permitted to be dispatched. Will be flash.events.Event or a subclass.
|
33
|
+
</p><br/><span class="label"> Implementation </span><br/><code> public function get eventClass():Class</code><br/></div><a name="propertyDetail"></a><a name="eventType"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">eventType</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>eventType:String</code> [read-only] <p></p><p></p><p>
|
34
|
+
The type of event permitted to be dispatched. Corresponds to flash.events.Event.type.
|
35
|
+
</p><br/><span class="label"> Implementation </span><br/><code> public function get eventType():String</code><br/></div><a name="propertyDetail"></a><a name="listenerBoxes"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">listenerBoxes</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>protected var listenerBoxes:Array</code><p></p></div><a name="propertyDetail"></a><a name="numListeners"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">numListeners</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>numListeners:uint</code> [read-only] <p></p><p></p><p> The current number of listeners for the signal. </p><br/><span class="label"> Implementation </span><br/><code> public function get numListeners():uint</code><br/></div><a name="propertyDetail"></a><a name="target"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">target</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>target:IEventDispatcher</code><p></p><p></p><p>
|
36
|
+
The object considered the source of the dispatched events.
|
37
|
+
</p><br/><span class="label"> Implementation </span><br/><code> public function get target():IEventDispatcher</code><br/><code> public function set target(value:IEventDispatcher):void</code><br/></div><a name="propertyDetail"></a><a name="valueClasses"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">valueClasses</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>valueClasses:Array</code> [read-only] <p></p><p></p><p>
|
38
|
+
An optional array of classes defining the types of parameters sent to listeners.
|
39
|
+
</p><br/><span class="label"> Implementation </span><br/><code> public function get valueClasses():Array</code><br/></div><a name="constructorDetail"></a><div class="detailSectionHeader">Constructor Detail</div><a name="NativeSignal()"></a><a name="NativeSignal(flash.events.IEventDispatcher,String,Class)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">NativeSignal</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">Constructor</td></tr></table><div class="detailBody"><code>public function NativeSignal(target:IEventDispatcher, eventType:String, eventClass:Class = null)</code><p></p><p>
|
40
|
+
Creates a NativeSignal instance to dispatch events on behalf of a target object.
|
41
|
+
</p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">target</span>:IEventDispatcher</code> — The object on whose behalf the signal is dispatching events.
|
42
|
+
</td></tr><tr><td class="paramSpacer"> </td></tr><tr><td width="20px"></td><td><code><span class="label">eventType</span>:String</code> — The type of Event permitted to be dispatched from this signal. Corresponds to Event.type.
|
43
|
+
</td></tr><tr><td class="paramSpacer"> </td></tr><tr><td width="20px"></td><td><code><span class="label">eventClass</span>:Class</code> (default = <code>null</code>)<code></code> — An optional class reference that enables an event type check in dispatch(). Defaults to flash.events.Event if omitted.
|
44
|
+
</td></tr></table></div><a name="methodDetail"></a><div class="detailSectionHeader">Method Detail</div><a name="add()"></a><a name="add(Function)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">add</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td></tr></table><div class="detailBody"><code> public function add(listener:Function):Function</code><p></p><p></p><p>
|
45
|
+
Subscribes a listener for the signal.
|
46
|
+
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">listener</span>:Function</code> — A function with arguments
|
47
|
+
that matches the value classes dispatched by the signal.
|
48
|
+
If value classes are not specified (e.g. via Signal constructor), dispatch() can be called without arguments.
|
49
|
+
</td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Function</code> — the listener Function passed as the parameter
|
50
|
+
</td></tr></table></div><a name="addOnce()"></a><a name="addOnce(Function)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">addOnce</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code> public function addOnce(listener:Function):Function</code><p></p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">listener</span>:Function</code></td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Function</code></td></tr></table></div><a name="addOnceWithPriority()"></a><a name="addOnceWithPriority(Function,int)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">addOnceWithPriority</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code> public function addOnceWithPriority(listener:Function, priority:int = 0):Function</code><p></p><p></p><p>
|
51
|
+
Subscribes a one-time listener for this signal.
|
52
|
+
The signal will remove the listener automatically the first time it is called,
|
53
|
+
after the dispatch to all listeners is complete.
|
54
|
+
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">listener</span>:Function</code> — A function with an argument
|
55
|
+
that matches the type of event dispatched by the signal.
|
56
|
+
If eventClass is not specified, the listener and dispatch() can be called without an argument.
|
57
|
+
</td></tr><tr><td class="paramSpacer"> </td></tr><tr><td width="20px"></td><td><code><span class="label">priority</span>:int</code> (default = <code>0</code>)<code></code> — The priority level of the event listener.
|
58
|
+
The priority is designated by a signed 32-bit integer.
|
59
|
+
The higher the number, the higher the priority.
|
60
|
+
All listeners with priority n are processed before listeners of priority n-1.
|
61
|
+
</td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Function</code></td></tr></table></div><a name="addWithPriority()"></a><a name="addWithPriority(Function,int)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">addWithPriority</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code> public function addWithPriority(listener:Function, priority:int = 0):Function</code><p></p><p></p><p>
|
62
|
+
Subscribes a listener for the signal.
|
63
|
+
After you successfully register an event listener,
|
64
|
+
you cannot change its priority through additional calls to add().
|
65
|
+
To change a listener's priority, you must first call remove().
|
66
|
+
Then you can register the listener again with the new priority level.
|
67
|
+
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">listener</span>:Function</code> — A function with an argument
|
68
|
+
that matches the type of event dispatched by the signal.
|
69
|
+
If eventClass is not specified, the listener and dispatch() can be called without an argument.
|
70
|
+
</td></tr><tr><td class="paramSpacer"> </td></tr><tr><td width="20px"></td><td><code><span class="label">priority</span>:int</code> (default = <code>0</code>)<code></code></td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Function</code></td></tr></table></div><a name="dispatch()"></a><a name="dispatch(flash.events.Event)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">dispatch</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code> public function dispatch(event:Event):Boolean</code><p></p><p></p><p>
|
71
|
+
Unlike other signals, NativeSignal does not dispatch null
|
72
|
+
because it causes an exception in EventDispatcher.
|
73
|
+
|
74
|
+
Dispatches an event to listeners.
|
75
|
+
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">event</span>:Event</code> — An instance of a class that is or extends flash.events.Event.
|
76
|
+
</td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Boolean</code></td></tr></table></div><a name="indexOfListener()"></a><a name="indexOfListener(Function)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">indexOfListener</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code> protected function indexOfListener(listener:Function):int</code><p></p><p></p><p>
|
77
|
+
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">listener</span>:Function</code> — A handler function that may have been added previously.
|
78
|
+
</td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>int</code> — The index of the listener in the listenerBoxes array, or -1 if not found.
|
79
|
+
</td></tr></table></div><a name="registerListener()"></a><a name="registerListener(Function,Boolean,int)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">registerListener</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code> protected function registerListener(listener:Function, once:Boolean = false, priority:int = 0):void</code><p></p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">listener</span>:Function</code></td></tr><tr><td class="paramSpacer"> </td></tr><tr><td width="20px"></td><td><code><span class="label">once</span>:Boolean</code> (default = <code>false</code>)<code></code></td></tr><tr><td class="paramSpacer"> </td></tr><tr><td width="20px"></td><td><code><span class="label">priority</span>:int</code> (default = <code>0</code>)<code></code></td></tr></table></p></div><a name="remove()"></a><a name="remove(Function)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">remove</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code> public function remove(listener:Function):Function</code><p></p><p></p><p>
|
80
|
+
Unsubscribes a listener from the signal.
|
81
|
+
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">listener</span>:Function</code></td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Function</code> — the listener Function passed as the parameter
|
82
|
+
</td></tr></table></div><a name="removeAll()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">removeAll</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code> public function removeAll():void</code><p></p><p></p><p> </p></div><br/><br/><hr><br/><p></p><center class="copyright"><footer>AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM</footer><br/>Mon Oct 25 2010, 02:48 PM -07:00 </center></div></body></html><!--AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM<br/>Mon Oct 25 2010, 02:48 PM -07:00 -->
|
@@ -0,0 +1 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- saved from url=(0014)about:internet --><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>org.osflash.signals.natives - AS3 Signals v0.7</title><base target="classFrame"><link rel="stylesheet" href="../../../../style.css" type="text/css" media="screen"><link rel="stylesheet" href="../../../../print.css" type="text/css" media="print"><link rel="stylesheet" href="../../../../override.css" type="text/css"></head><body class="classFrameContent"><h3><a href="package-detail.html" target="classFrame" style="color:black">Package org.osflash.signals.natives</a></h3><table cellpadding="0" cellspacing="0"><tr><td><a href="package-detail.html#interfaceSummary" style="color:black"><b>Interfaces</b></a></td></tr><tr><td><a href="INativeDispatcher.html"><i>INativeDispatcher</i></a></td></tr><tr><td width="10px"> </td></tr><tr><td><a href="package-detail.html#classSummary" style="color:black"><b>Classes</b></a></td></tr><tr><td><a href="NativeMappedSignal.html">NativeMappedSignal</a></td></tr><tr><td><a href="NativeRelaySignal.html">NativeRelaySignal</a></td></tr><tr><td><a href="NativeSignal.html">NativeSignal</a></td></tr></table></body></html><!--AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM<br/>Mon Oct 25 2010, 02:48 PM -07:00 -->
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- saved from url=(0014)about:internet --><!-- saved from url=(0014)about:internet --><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><link rel="stylesheet" href="../../../../style.css" type="text/css" media="screen"><link rel="stylesheet" href="../../../../print.css" type="text/css" media="print"><link rel="stylesheet" href="../../../../override.css" type="text/css"><title>org.osflash.signals.natives Summary</title></head><body><script language="javascript" type="text/javascript" src="../../../../asdoc.js"></script><script language="javascript" type="text/javascript" src="../../../../help.js"></script><script language="javascript" type="text/javascript" src="../../../../cookies.js"></script><script language="javascript" type="text/javascript"><!--
|
2
|
+
asdocTitle = 'org.osflash.signals.natives package - AS3 Signals v0.7';
|
3
|
+
var baseRef = '../../../../';
|
4
|
+
window.onload = configPage;
|
5
|
+
--></script>
|
6
|
+
<script type="text/javascript">
|
7
|
+
scrollToNameAnchor();
|
8
|
+
</script><table class="titleTable" cellpadding="0" cellspacing="0" id="titleTable" style="display:none"><tr><td class="titleTableTitle" align="left">AS3 Signals v0.7</td><td class="titleTableTopNav" align="right"><a href="../../../../package-summary.html" onclick="loadClassListFrame('../../../../all-classes.html')">All Packages</a> | <a href="../../../../class-summary.html" onclick="loadClassListFrame('../../../../all-classes.html')">All Classes</a> | <a href="../../../../all-index-A.html" onclick="loadClassListFrame('../../../../index-list.html')">Index</a> | <a id="framesLink1" href="../../../../index.html?org/osflash/signals/natives/package-detail.html&org/osflash/signals/natives/class-list.html">Frames</a><a id="noFramesLink1" style="display:none" href="" onclick="parent.location=document.location"> No Frames </a></td><td class="titleTableLogo" align="right" rowspan="3"><img src="../../../../images/logo.jpg" class="logoImage" alt=" Adobe Logo " title=" Adobe Logo "></td></tr><tr class="titleTableRow2"><td class="titleTableSubTitle" id="subTitle" align="left">org.osflash.signals.natives</td><td class="titleTableSubNav" id="subNav" align="right"><a href="package-detail.html#interfaceSummary"> Interfaces </a> | <a href="package-detail.html#classSummary">Classes</a></td></tr><tr class="titleTableRow3"><td colspan="3"> </td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve">
|
9
|
+
<!--
|
10
|
+
|
11
|
+
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("org.osflash.signals.natives"); titleBar_setSubNav(false,false,false,false,false,false,false,false,false,false,false ,false,false,true,true,false);}
|
12
|
+
-->
|
13
|
+
</script><div class="MainContent"><br><br><hr><a name="interfaceSummary"></a><div class="summaryTableTitle">Interfaces</div><table cellpadding="3" cellspacing="0" class="summaryTable"><tr><th> </th><th width="30%">Interface</th><th width="70%">Description</th></tr><tr class="prow1"><td class="summaryTablePaddingCol"> </td><td class="summaryTableSecondCol"><i><a href="INativeDispatcher.html">INativeDispatcher</a></i></td><td class="summaryTableLastCol">
|
14
|
+
Similar to IDispatcher but using strong types specific to Flash's native event system.</td></tr></table><a name="classSummary"></a><div class="summaryTableTitle">Classes</div><table cellpadding="3" cellspacing="0" class="summaryTable"><tr><th> </th><th width="30%">Class</th><th width="70%">Description</th></tr><tr class="prow1"><td class="summaryTablePaddingCol"> </td><td class="summaryTableSecondCol"><a href="NativeMappedSignal.html">NativeMappedSignal</a></td><td class="summaryTableLastCol">
|
15
|
+
|
16
|
+
The NativeMappedSignal class is used to map/transform a native Event,
|
17
|
+
relayed from an IEventDispatcher, into other forms of data,
|
18
|
+
which are dispatched to all listeners.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol"> </td><td class="summaryTableSecondCol"><a href="NativeRelaySignal.html">NativeRelaySignal</a></td><td class="summaryTableLastCol">
|
19
|
+
The NativeRelaySignal class is used to relay events from an IEventDispatcher
|
20
|
+
to listeners.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol"> </td><td class="summaryTableSecondCol"><a href="NativeSignal.html">NativeSignal</a></td><td class="summaryTableLastCol">
|
21
|
+
The NativeSignal class provides a strongly-typed facade for an IEventDispatcher.</td></tr></table><p></p><div><p></p><center class="copyright"><footer>AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM</footer><br/>Mon Oct 25 2010, 02:48 PM -07:00 </center></div></div></body></html><!--AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM<br/>Mon Oct 25 2010, 02:48 PM -07:00 -->
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- saved from url=(0014)about:internet --><!-- saved from url=(0014)about:internet --><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><link rel="stylesheet" href="../../../style.css" type="text/css" media="screen"><link rel="stylesheet" href="../../../print.css" type="text/css" media="print"><link rel="stylesheet" href="../../../override.css" type="text/css"><title>org.osflash.signals Summary</title></head><body><script language="javascript" type="text/javascript" src="../../../asdoc.js"></script><script language="javascript" type="text/javascript" src="../../../help.js"></script><script language="javascript" type="text/javascript" src="../../../cookies.js"></script><script language="javascript" type="text/javascript"><!--
|
2
|
+
asdocTitle = 'org.osflash.signals package - AS3 Signals v0.7';
|
3
|
+
var baseRef = '../../../';
|
4
|
+
window.onload = configPage;
|
5
|
+
--></script>
|
6
|
+
<script type="text/javascript">
|
7
|
+
scrollToNameAnchor();
|
8
|
+
</script><table class="titleTable" cellpadding="0" cellspacing="0" id="titleTable" style="display:none"><tr><td class="titleTableTitle" align="left">AS3 Signals v0.7</td><td class="titleTableTopNav" align="right"><a href="../../../package-summary.html" onclick="loadClassListFrame('../../../all-classes.html')">All Packages</a> | <a href="../../../class-summary.html" onclick="loadClassListFrame('../../../all-classes.html')">All Classes</a> | <a href="../../../all-index-A.html" onclick="loadClassListFrame('../../../index-list.html')">Index</a> | <a id="framesLink1" href="../../../index.html?org/osflash/signals/package-detail.html&org/osflash/signals/class-list.html">Frames</a><a id="noFramesLink1" style="display:none" href="" onclick="parent.location=document.location"> No Frames </a></td><td class="titleTableLogo" align="right" rowspan="3"><img src="../../../images/logo.jpg" class="logoImage" alt=" Adobe Logo " title=" Adobe Logo "></td></tr><tr class="titleTableRow2"><td class="titleTableSubTitle" id="subTitle" align="left">org.osflash.signals</td><td class="titleTableSubNav" id="subNav" align="right"><a href="package-detail.html#interfaceSummary"> Interfaces </a> | <a href="package-detail.html#classSummary">Classes</a></td></tr><tr class="titleTableRow3"><td colspan="3"> </td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve">
|
9
|
+
<!--
|
10
|
+
|
11
|
+
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("org.osflash.signals"); titleBar_setSubNav(false,false,false,false,false,false,false,false,false,false,false ,false,false,true,true,false);}
|
12
|
+
-->
|
13
|
+
</script><div class="MainContent"><br><br><hr><a name="interfaceSummary"></a><div class="summaryTableTitle">Interfaces</div><table cellpadding="3" cellspacing="0" class="summaryTable"><tr><th> </th><th width="30%">Interface</th><th width="70%">Description</th></tr><tr class="prow1"><td class="summaryTablePaddingCol"> </td><td class="summaryTableSecondCol"><i><a href="IDeluxeSignal.html">IDeluxeSignal</a></i></td><td class="summaryTableLastCol">
|
14
|
+
</td></tr><tr class="prow0"><td class="summaryTablePaddingCol"> </td><td class="summaryTableSecondCol"><i><a href="IDispatcher.html">IDispatcher</a></i></td><td class="summaryTableLastCol">
|
15
|
+
</td></tr><tr class="prow1"><td class="summaryTablePaddingCol"> </td><td class="summaryTableSecondCol"><i><a href="ISignal.html">ISignal</a></i></td><td class="summaryTableLastCol">
|
16
|
+
</td></tr><tr class="prow0"><td class="summaryTablePaddingCol"> </td><td class="summaryTableSecondCol"><i><a href="ISignalOwner.html">ISignalOwner</a></i></td><td class="summaryTableLastCol">
|
17
|
+
ISignalOwner gives access to the powerful function, removeAll.</td></tr></table><a name="classSummary"></a><div class="summaryTableTitle">Classes</div><table cellpadding="3" cellspacing="0" class="summaryTable"><tr><th> </th><th width="30%">Class</th><th width="70%">Description</th></tr><tr class="prow1"><td class="summaryTablePaddingCol"> </td><td class="summaryTableSecondCol"><a href="DeluxeSignal.html">DeluxeSignal</a></td><td class="summaryTableLastCol">
|
18
|
+
Signal dispatches events to multiple listeners.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol"> </td><td class="summaryTableSecondCol"><a href="Signal.html">Signal</a></td><td class="summaryTableLastCol">
|
19
|
+
Signal dispatches events to multiple listeners.</td></tr></table><p></p><div><p></p><center class="copyright"><footer>AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM</footer><br/>Mon Oct 25 2010, 02:48 PM -07:00 </center></div></div></body></html><!--AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM<br/>Mon Oct 25 2010, 02:48 PM -07:00 -->
|
data/docs/override.css
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
/*
|
2
|
+
////////////////////////////////////////////////////////////////////////////////
|
3
|
+
//
|
4
|
+
// ADOBE SYSTEMS INCORPORATED
|
5
|
+
// Copyright 2008 Adobe Systems Incorporated
|
6
|
+
// All Rights Reserved.
|
7
|
+
//
|
8
|
+
// NOTICE: Adobe permits you to use, modify, and distribute this file
|
9
|
+
// in accordance with the terms of the license agreement accompanying it.
|
10
|
+
//
|
11
|
+
////////////////////////////////////////////////////////////////////////////////
|
12
|
+
*/
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"><!-- saved from url=(0014)about:internet --><html>
|
2
|
+
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
3
|
+
<title>AS3 Signals v0.7</title><link rel="stylesheet" href="style.css" type="text/css" media="screen"><link rel="stylesheet" href="print.css" type="text/css" media="print"><link rel="stylesheet" href="override.css" type="text/css">
|
4
|
+
</head>
|
5
|
+
<frameset rows="40%,60%" border="2" framespacing="1" bordercolor="#AAAAAA">
|
6
|
+
<frame src="package-list.html" name="packageListFrame" scrolling="yes">
|
7
|
+
<frame src="all-classes.html" name="classListFrame" scrolling="yes">
|
8
|
+
<noframes>
|
9
|
+
<body>
|
10
|
+
<h2>Frame Alert</h2>
|
11
|
+
<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
|
12
|
+
<br>
|
13
|
+
Link to<a href="package-summary.html">Non-frame version.</a>
|
14
|
+
</p>
|
15
|
+
</body>
|
16
|
+
</noframes>
|
17
|
+
</frameset>
|
18
|
+
<!--AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM<br/>Mon Oct 25 2010, 02:48 PM -07:00 --></html>
|
@@ -0,0 +1 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- saved from url=(0014)about:internet --><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Package List - AS3 Signals v0.7</title><base target="classFrame"><link rel="stylesheet" href="style.css" type="text/css" media="screen"><link rel="stylesheet" href="print.css" type="text/css" media="print"><link rel="stylesheet" href="override.css" type="text/css"><script language="javascript" src="asdoc.js" type="text/javascript"></script></head><body class="classFrameContent"><h3><a href="package-summary.html" onclick="javascript:loadClassListFrame('all-classes.html');" style="color:black">Packages</a></h3><table cellpadding="0" cellspacing="0"><tr><td><a href="org/osflash/signals/package-detail.html" onclick="javascript:loadClassListFrame('org/osflash/signals/class-list.html');">org.osflash.signals</a></td></tr><tr><td><a href="org/osflash/signals/events/package-detail.html" onclick="javascript:loadClassListFrame('org/osflash/signals/events/class-list.html');">org.osflash.signals.events</a></td></tr><tr><td><a href="org/osflash/signals/natives/package-detail.html" onclick="javascript:loadClassListFrame('org/osflash/signals/natives/class-list.html');">org.osflash.signals.natives</a></td></tr></table></body></html><!--AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM<br/>Mon Oct 25 2010, 02:48 PM -07:00 -->
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- saved from url=(0014)about:internet --><!-- saved from url=(0014)about:internet --><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>All Packages</title><link rel="stylesheet" href="style.css" type="text/css" media="screen"><link rel="stylesheet" href="print.css" type="text/css" media="print"><link rel="stylesheet" href="override.css" type="text/css"></head><body><script language="javascript" type="text/javascript" src="asdoc.js"></script><script language="javascript" type="text/javascript" src="help.js"></script><script language="javascript" type="text/javascript" src="cookies.js"></script><script language="javascript" type="text/javascript"><!--
|
2
|
+
asdocTitle = 'All Packages - AS3 Signals v0.7';
|
3
|
+
var baseRef = '';
|
4
|
+
window.onload = configPage;
|
5
|
+
--></script>
|
6
|
+
<script type="text/javascript">
|
7
|
+
scrollToNameAnchor();
|
8
|
+
</script><table class="titleTable" cellpadding="0" cellspacing="0" id="titleTable" style="display:none"><tr><td class="titleTableTitle" align="left">AS3 Signals v0.7</td><td class="titleTableTopNav" align="right"><a href="class-summary.html" onclick="loadClassListFrame('all-classes.html')">All Classes</a> | <a href="all-index-A.html" onclick="loadClassListFrame('index-list.html')">Index</a> | <a id="framesLink1" href="index.html?package-summary.html&all-classes.html">Frames</a><a id="noFramesLink1" style="display:none" href="" onclick="parent.location=document.location"> No Frames </a></td><td class="titleTableLogo" align="right" rowspan="3"><img src="images/logo.jpg" class="logoImage" alt=" Adobe Logo " title=" Adobe Logo "></td></tr><tr class="titleTableRow2"><td class="titleTableSubTitle" id="subTitle" align="left">All Packages</td><td class="titleTableSubNav" id="subNav" align="right"></td></tr><tr class="titleTableRow3"><td colspan="3"> </td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve">
|
9
|
+
<!--
|
10
|
+
|
11
|
+
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("All Packages"); titleBar_setSubNav(false,false,false,false,false,false,false,false,false,false,false ,false,false,false,false,false);}
|
12
|
+
-->
|
13
|
+
</script><div class="MainContent"><br><p></p><br><table cellpadding="3" cellspacing="0" class="summaryTable"><tr><th> </th><th width="30%">package</th><th width="70%">Description</th></tr><tr class="prow1"><td class="summaryTablePaddingCol"> </td><td class="summaryTableSecondCol"><a href="org/osflash/signals/package-detail.html" onclick="javascript:loadClassListFrame('org/osflash/signals/class-list.html');">org.osflash.signals</a></td><td class="summaryTableLastCol"></td></tr><tr class="prow0"><td class="summaryTablePaddingCol"> </td><td class="summaryTableSecondCol"><a href="org/osflash/signals/events/package-detail.html" onclick="javascript:loadClassListFrame('org/osflash/signals/events/class-list.html');">org.osflash.signals.events</a></td><td class="summaryTableLastCol"></td></tr><tr class="prow1"><td class="summaryTablePaddingCol"> </td><td class="summaryTableSecondCol"><a href="org/osflash/signals/natives/package-detail.html" onclick="javascript:loadClassListFrame('org/osflash/signals/natives/class-list.html');">org.osflash.signals.natives</a></td><td class="summaryTableLastCol"></td></tr></table><p></p><center class="copyright"><footer>AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM</footer><br/>Mon Oct 25 2010, 02:48 PM -07:00 </center></div></body></html><!--AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM<br/>Mon Oct 25 2010, 02:48 PM -07:00 -->
|
data/docs/print.css
ADDED
@@ -0,0 +1,110 @@
|
|
1
|
+
/*
|
2
|
+
////////////////////////////////////////////////////////////////////////////////
|
3
|
+
//
|
4
|
+
// ADOBE SYSTEMS INCORPORATED
|
5
|
+
// Copyright 2005-2008 Adobe Systems Incorporated
|
6
|
+
// All Rights Reserved.
|
7
|
+
//
|
8
|
+
// NOTICE: Adobe permits you to use, modify, and distribute this file
|
9
|
+
// in accordance with the terms of the license agreement accompanying it.
|
10
|
+
//
|
11
|
+
////////////////////////////////////////////////////////////////////////////////
|
12
|
+
*/
|
13
|
+
|
14
|
+
body {
|
15
|
+
color: #000000;
|
16
|
+
background: #ffffff;
|
17
|
+
font-family: "Times New Roman", Times, serif;
|
18
|
+
font-size: 12pt;
|
19
|
+
}
|
20
|
+
a {
|
21
|
+
text-decoration: none;
|
22
|
+
color: #000000;
|
23
|
+
}
|
24
|
+
pre {
|
25
|
+
white-space: -moz-pre-wrap; /* Mozilla */
|
26
|
+
white-space: -pre-wrap; /* Opera 4-6 */
|
27
|
+
white-space: -o-pre-wrap; /* Opera 7 */
|
28
|
+
word-wrap: break-word; /* IE */
|
29
|
+
}
|
30
|
+
.titleTableTopNav, .titleTableSubNav, .logoImage {
|
31
|
+
display: none;
|
32
|
+
}
|
33
|
+
.packageFrame {
|
34
|
+
display: none;
|
35
|
+
}
|
36
|
+
.titleTableSubTitle {
|
37
|
+
font-weight: bold;
|
38
|
+
}
|
39
|
+
.classHeaderTableLabel {
|
40
|
+
padding-right: 10px;
|
41
|
+
vertical-align: top;
|
42
|
+
}
|
43
|
+
.showHideLinks {
|
44
|
+
display: none;
|
45
|
+
}
|
46
|
+
html>body code {
|
47
|
+
font-size: 10pt;
|
48
|
+
}
|
49
|
+
.summaryTableTitle, .detailSectionHeader {
|
50
|
+
font-size: 14pt;
|
51
|
+
font-weight: bold;
|
52
|
+
padding-top: 15px;
|
53
|
+
padding-bottom: 5px;
|
54
|
+
}
|
55
|
+
.summaryTable {
|
56
|
+
border: 1px solid #000000;
|
57
|
+
border-collapse: collapse;
|
58
|
+
width: 100%;
|
59
|
+
}
|
60
|
+
.summaryTableDescription {
|
61
|
+
padding-bottom: 20px;
|
62
|
+
}
|
63
|
+
.summaryTableSignatureCol, .summaryTableOwnerCol, .summaryTableLastCol, .summaryTableCol {
|
64
|
+
border: 1px solid #000000;
|
65
|
+
}
|
66
|
+
.summaryTablePaddingCol {
|
67
|
+
border: 1px solid #000000;
|
68
|
+
border-right: 0px;
|
69
|
+
}
|
70
|
+
.summaryTableInheritanceCol, .summaryTableOperatorCol, .summaryTableStatementCol, .summaryTableSecondCol {
|
71
|
+
border: 1px solid #000000;
|
72
|
+
border-left: 0px;
|
73
|
+
}
|
74
|
+
.summaryTableLastCol {
|
75
|
+
vertical-align: top;
|
76
|
+
}
|
77
|
+
.detailHeader {
|
78
|
+
font-size: 13pt;
|
79
|
+
padding-top: 100px;
|
80
|
+
}
|
81
|
+
.detailHeaderName {
|
82
|
+
font-weight: bold;
|
83
|
+
}
|
84
|
+
.detailHeaderType {
|
85
|
+
padding-left: 5px;
|
86
|
+
}
|
87
|
+
.detailHeaderRule {
|
88
|
+
background: #FF0000;
|
89
|
+
}
|
90
|
+
.seeAlso {
|
91
|
+
padding-bottom: 20px;
|
92
|
+
margin-top: -20px;
|
93
|
+
}
|
94
|
+
.innertable {
|
95
|
+
border-collapse: collapse;
|
96
|
+
}
|
97
|
+
.innertable td,.innertable th {
|
98
|
+
border: 1px solid #000000;
|
99
|
+
padding-left: 5px;
|
100
|
+
padding-right: 5px;
|
101
|
+
}
|
102
|
+
.listing {
|
103
|
+
font-size: 10pt;
|
104
|
+
}
|
105
|
+
.feedbackLink {
|
106
|
+
display: none;
|
107
|
+
}
|
108
|
+
.copyright {
|
109
|
+
font-size: 10pt;
|
110
|
+
}
|