Package | jp.co.fujitsu.reffi.client.flex.manager |
Class | public class TimerProcessCoreManager |
[概 要]
TimerとTimerProcessCoreをIDで管理するマネージャクラスです.[詳 細]
インターバル管理Timerと、タイマーイベントハンドリングを行うTimerProcessCoreを 任意のIDで対応管理します。[備 考]
Copyright (c) 2008-2009 FUJITSU Japan All rights reserved.
Property | Defined by | ||
---|---|---|---|
timers : Dictionary [概 要] TimerとTimerProcessCoreの対応マッププロパティです. | TimerProcessCoreManager |
Method | Defined by | ||
---|---|---|---|
TimerProcessCoreManager(blocker:TimerBlocker)
[概 要] コンストラクタです. | TimerProcessCoreManager | ||
[static]
[概 要] タイマーマネージャインスタンスを取得します. | TimerProcessCoreManager | ||
isRegist(timerId:String):Boolean
[概 要] 引数timerIdが現在登録されているか確認します. | TimerProcessCoreManager | ||
isRunning(timerId:String):Boolean
[概 要] 引数timerIdが現在実行中であるか確認します. | TimerProcessCoreManager | ||
start(timerId:String, timerCore:TimerProcessCore):void
[概 要] タイマーを開始します. | TimerProcessCoreManager | ||
stop(timerId:String):void
[概 要] タイマーを終了します. | TimerProcessCoreManager |
timers | property |
timers:Dictionary
[read-write]
[概 要]
TimerとTimerProcessCoreの対応マッププロパティです.[詳 細]
以下のような構造を持つプロパティです。timers:Dictionary "timerId1" = timerMap:Dictionary "timer" = Timer "core" = TimerCore "timerId2" = timerMap:Dictionary "timer" = Timer "core" = TimerCore
[備 考]
既に実行中のタイマーと同じtimerIdを付けることは出来ません。 実装 public function get timers():Dictionary
public function set timers(value:Dictionary):void
TimerProcessCoreManager | () | constructor |
public function TimerProcessCoreManager(blocker:TimerBlocker)
[概 要]
コンストラクタです.[詳 細]
本クラスはシングルトンクラスのため外部からの呼び出しは行えません。[備 考]
TimerProcessCoreManagerのインスタンスを取得する場合は、getInstance()を使用してください。パラメータ
blocker:TimerBlocker — シングルトン生成用ブロックインスタンス
|
関連項目
getInstance | () | method |
public static function getInstance():TimerProcessCoreManager
[概 要]
タイマーマネージャインスタンスを取得します.[詳 細]
シングルトンタイマーマネージャインスタンスを取得して返却します。[備 考]
戻り値TimerProcessCoreManager —
タイマーマネージャインスタンス
|
isRegist | () | method |
public function isRegist(timerId:String):Boolean
[概 要]
引数timerIdが現在登録されているか確認します.[詳 細]
timersタイマー管理プロパティから、引数timerIdが登録されているかを調べます。[備 考]
パラメータtimerId:String — 登録されているか調べる識別子
|
Boolean — 登録されている場合はtrue、それ以外はfalse
|
isRunning | () | method |
public function isRunning(timerId:String):Boolean
[概 要]
引数timerIdが現在実行中であるか確認します.[詳 細]
timersタイマー管理プロパティから、引数timerIdに対応するタイマーを取得し、 Timer#runningプロパティを返却します。[備 考]
パラメータtimerId:String — 登録されているか調べる識別子
|
Boolean — 登録されている場合はtrue、それ以外はfalse
|
start | () | method |
public function start(timerId:String, timerCore:TimerProcessCore):void
[概 要]
タイマーを開始します.[詳 細]
[備 考]
パラメータtimerId:String — 開始するタイマーの識別子
|
|
timerCore:TimerProcessCore — 開始するTimerProcessCore
|
stop | () | method |
public function stop(timerId:String):void
[概 要]
タイマーを終了します.[詳 細]
[備 考]
パラメータtimerId:String — 終了するタイマーの識別子
|