InactivityEvent

Kind of class:public class
Package:org.casalib.events
Inherits from:Event
Dispatched by:
Version:10/27/08
Author:Aaron Clinger
Classpath:org.casalib.events.InactivityEvent
File last modified:Wednesday, 31 December 2008, 20:18:28
An event dispatched from Inactivity.

Summary


Constructor
  • InactivityEvent (type:String, bubbles:Boolean = false, cancelable:Boolean = false)
    • Creates a new InactivityEvent.
Constants
Instance properties
  • milliseconds : uint
    • The length of time an user has been inactive.
Instance methods

Constructor

InactivityEvent

public function InactivityEvent (
type:String, bubbles:Boolean = false, cancelable:Boolean = false)

Creates a new InactivityEvent.
Parameters:
type :
The type of event.
bubbles :
Determines whether the Event object participates in the bubbling stage of the event flow.
cancelable:
Determines whether the Event object can be canceled.

Constants

ACTIVATED

public static const ACTIVATED:String = 'activated'
(read)

INACTIVE

public static const INACTIVE:String = 'inactive'
(read)

Instance properties

milliseconds

public milliseconds:uint
(read,write)

The length of time an user has been inactive.

Instance methods

clone

override public function clone (
) : Event

Returns:
  • Duplicates an instance of the event.
Overrides:
  • Event.clone

toString

override public function toString (
) : String

Returns:
  • A string containing all the properties of the event.
Overrides:
  • Event.toString