Packageevents
Classpublic class WorkTimerEvent
InheritanceWorkTimerEvent Inheritance flash.events.Event

WorkTimerEvent is dispatched during the instance of WorkTimer work. These events include start event, end event, regular event during the work time, and full end event at the end of the working period if it is greater than one day.



Public Properties
 PropertyDefined by
  callerRef : WorkTimer
The reference to WorkTimer instance that dispathed the event
WorkTimerEvent
  endTime : TimeObject
The time of the day to end working
WorkTimerEvent
  startTime : TimeObject
The time of the day to start working
WorkTimerEvent
Public Methods
 MethodDefined by
  
WorkTimerEvent(type:String, callerRef:WorkTimer)
Creates the instance of WorkTimerEvent
WorkTimerEvent
  
clone():Event
Creates a copy of the WorkTimerEvent object and sets the value of each property to match that of the original.
WorkTimerEvent
Public Constants
 ConstantDefined by
  END : String = "end"
[static] The type ptoperty of the working period end-of-the-day event
WorkTimerEvent
  FULL_END : String = "fullEnd"
[static] The type ptoperty of the working period end-of-working-period event
WorkTimerEvent
  START : String = "start"
[static] The type ptoperty of the working period start event
WorkTimerEvent
  TIMER : String = "timer"
[static] The type ptoperty of the working period timer event during the working period
WorkTimerEvent
Property detail
callerRefproperty
public var callerRef:WorkTimer

The reference to WorkTimer instance that dispathed the event

endTimeproperty 
public var endTime:TimeObject

The time of the day to end working

startTimeproperty 
public var startTime:TimeObject

The time of the day to start working

Constructor detail
WorkTimerEvent()constructor
public function WorkTimerEvent(type:String, callerRef:WorkTimer)

Creates the instance of WorkTimerEvent

Parameters
type:String — Event type
 
callerRef:WorkTimer — The reference to WorkTimer instance that dispathes the event
Method detail
clone()method
public override function clone():Event

Creates a copy of the WorkTimerEvent object and sets the value of each property to match that of the original.

Returns
Event — A new WorkTimerEvent object with property values that match those of the original.
Constant detail
ENDconstant
public static const END:String = "end"

The type ptoperty of the working period end-of-the-day event

FULL_ENDconstant 
public static const FULL_END:String = "fullEnd"

The type ptoperty of the working period end-of-working-period event

STARTconstant 
public static const START:String = "start"

The type ptoperty of the working period start event

TIMERconstant 
public static const TIMER:String = "timer"

The type ptoperty of the working period timer event during the working period