From: Richard K. <ric...@us...> - 2005-05-19 13:40:52
|
Update of /cvsroot/actionstep/actionstep/src/org/actionstep In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23292 Modified Files: NSEvent.as NSButton.as Log Message: remove trace statements and add delay/interval methods to nsbutton Index: NSButton.as =================================================================== RCS file: /cvsroot/actionstep/actionstep/src/org/actionstep/NSButton.as,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** NSButton.as 12 May 2005 19:38:26 -0000 1.4 --- NSButton.as 19 May 2005 13:40:43 -0000 1.5 *************** *** 84,87 **** --- 84,98 ---- } + // Setting the repeat interval + + public function getPeriodicDelayInterval():Object { + return NSButtonCell(m_cell).getPeriodicDelayInterval(); + } + + public function setPeriodicDelayInterval(delay:Number, interval:Number) { + NSButtonCell(m_cell).setPeriodicDelayInterval(delay, interval); + } + + // Setting the titles Index: NSEvent.as =================================================================== RCS file: /cvsroot/actionstep/actionstep/src/org/actionstep/NSEvent.as,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** NSEvent.as 18 May 2005 22:06:55 -0000 1.5 --- NSEvent.as 19 May 2005 13:40:43 -0000 1.6 *************** *** 263,267 **** public static function startPeriodicEventsAfterDelayWithPeriod(delay:Number, period:Number) { - TRACE("Staring periodic events"); g_periodicTimer = new NSTimer(); var startDate = new Date(); --- 263,266 ---- *************** *** 272,276 **** public static function stopPeriodicEvents() { - TRACE("Stopping periodic events"); if (g_periodicTimer != null) { g_periodicTimer.invalidate(); --- 271,274 ---- |