| Package | org.juicekit.events |
| Class | public class InactivityMonitor |
| Inheritance | InactivityMonitor flash.events.EventDispatcher |
jkInactivityPeriod.
See also
| Property | Defined by | ||
|---|---|---|---|
| maxIdle : Number | InactivityMonitor | ||
| monitor : IEventDispatcher
References an IEventDispatcher to be watched for periods of inactivity.
| InactivityMonitor | ||
| Method | Defined by | ||
|---|---|---|---|
|
InactivityMonitor(monitored:IEventDispatcher = null, maxIdle:Number = 5000)
Constructor.
| InactivityMonitor | ||
|
restart():void
Restarts the idle-period counter from zero.
| InactivityMonitor | ||
| Event | Summary | Defined by | ||
|---|---|---|---|---|
| Dispatched when the idle period has expired with no activity. | InactivityMonitor | |||
| maxIdle | property |
maxIdle:Number [read-write]Implementation
public function get maxIdle():Number
public function set maxIdle(value:Number):void
| monitor | property |
monitor:IEventDispatcher [read-write]References an IEventDispatcher to be watched for periods of inactivity.
Implementation public function get monitor():IEventDispatcher
public function set monitor(value:IEventDispatcher):void
| InactivityMonitor | () | constructor |
public function InactivityMonitor(monitored:IEventDispatcher = null, maxIdle:Number = 5000)Constructor.
Parametersmonitored:IEventDispatcher (default = null) — References an IEventDispatcher to be watched for
periods of inactivity.
|
|
maxIdle:Number (default = 5000) — Specifies the minimum number of milliseconds between
watched events before an InactivityEvent is dispatched.
|
| restart | () | method |
public function restart():voidRestarts the idle-period counter from zero.
| jkInactivityPeriod | event |
org.juicekit.events.InactivityEvent
Dispatched when the idle period has expired with no activity.