From: Scott H. <sco...@us...> - 2005-05-17 01:39:45
|
Update of /cvsroot/actionstep/actionstep/src/org/actionstep In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3702/src/org/actionstep Modified Files: ASDrawer.as Log Message: Updated class comments Also change current property into a current() method and a setCurrent() method (because we don't use getters / setters) Index: ASDrawer.as =================================================================== RCS file: /cvsroot/actionstep/actionstep/src/org/actionstep/ASDrawer.as,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ASDrawer.as 16 May 2005 22:03:32 -0000 1.2 --- ASDrawer.as 16 May 2005 22:16:08 -0000 1.3 *************** *** 37,42 **** /** ! * This is an abstract class that defines drawing methods for ActionStep ! * controls. * * The current drawer can be accessed through the current class property. --- 37,41 ---- /** ! * This is the default ActionStep drawer. * * The current drawer can be accessed through the current class property. *************** *** 51,56 **** /** * Constructs a new instance of ASDrawer. - * - * Called by subclasses. */ private function ASDrawer() --- 50,53 ---- *************** *** 66,70 **** /** ! * Draws a filled rectangle with the color aColor in the view inView. */ public function drawFillWithRectColorInView(aRect:NSRect, aColor:NSColor, --- 63,67 ---- /** ! * @see org.actionstep.ASDrawerProtocol#drawFillWithRectColorInView */ public function drawFillWithRectColorInView(aRect:NSRect, aColor:NSColor, *************** *** 100,104 **** * Gets / sets the current ASDrawer. */ ! public static function get current():ASDrawer { if (g_current == undefined) --- 97,101 ---- * Gets / sets the current ASDrawer. */ ! public static function current():ASDrawer { if (g_current == undefined) *************** *** 109,113 **** return g_current; } ! public static function set current(value:ASDrawer) { g_current = value; --- 106,110 ---- return g_current; } ! public static function setCurrent(value:ASDrawer) { g_current = value; |