Package | com.jacksondunstan.signals |
Class | public class FunctionSlot0 |
Implements | Slot0 |
Method | Defined by | ||
---|---|---|---|
FunctionSlot0(func:Function)
Make the slot.
| FunctionSlot0 | ||
onSignal0():void
Called by the signal when it dispatches.
| FunctionSlot0 |
FunctionSlot0 | () | constructor |
public function FunctionSlot0(func:Function)
Make the slot.
Parametersfunc:Function — Function to call when called by the signal. This will
not be called if the function is null. Calling this
function will result in an Error being thrown if it
requires any arguments at all.
|
onSignal0 | () | method |
public function onSignal0():void
Called by the signal when it dispatches. Calls the function given to the constructor if the constructor was given a non-null function. Calling the function given to the constructor will result in an Error being thrown if it requires any arguments at all.