Packageorg.juicekit.events
Classpublic class InactivityEvent
InheritanceInactivityEvent Inheritance flash.events.Event

The InactivityEvent class defines an event to signal a period of inactivity occurred.

See also

InactivityMonitor


Public Properties
 PropertyDefined by
  idleTime : Number
Contains the time in milliseconds elapsed since the last activity was observed.
InactivityEvent
  monitored : IEventDispatcher
References the watched object that became inactive.
InactivityEvent
Public Methods
 MethodDefined by
  
InactivityEvent(type:String, bubbles:Boolean, cancelable:Boolean, monitored:IEventDispatcher, idleTime:Number)
Constructor.
InactivityEvent
  
clone():Event
InactivityEvent
Public Constants
 ConstantDefined by
  INACTIVITY_PERIOD : String = "jkInactivityPeriod"
[static] The InactivityEvent.INACTIVITY_PERIOD constant defines the value of the type property of the event object for a jkInactivityPeriod event.
InactivityEvent
Property detail
idleTimeproperty
public var idleTime:Number

Contains the time in milliseconds elapsed since the last activity was observed.

monitoredproperty 
public var monitored:IEventDispatcher

References the watched object that became inactive.

Constructor detail
InactivityEvent()constructor
public function InactivityEvent(type:String, bubbles:Boolean, cancelable:Boolean, monitored:IEventDispatcher, idleTime:Number)

Constructor.

Parameters
type:String — The event type; indicates the action that caused the event.
 
bubbles:Boolean — Specifies whether the event can bubble up the display list hierarchy.
 
cancelable:Boolean — Specifies whether the behavior associated with the event can be prevented.
 
monitored:IEventDispatcher — References the watched object that became inactive.
 
idleTime:Number — Contains the time in milliseconds elapsed since the last activity was observed.
Method detail
clone()method
public override function clone():Event

Returns
Event
Constant detail
INACTIVITY_PERIODconstant
public static const INACTIVITY_PERIOD:String = "jkInactivityPeriod"

The InactivityEvent.INACTIVITY_PERIOD constant defines the value of the type property of the event object for a jkInactivityPeriod event.