Packagecom.elad.framework.cursor
Classpublic class AbstractCursorBuilder
SubclassesConcreteMouseDrop, ConcreteMouseHand



Protected Properties
 PropertyDefined by
  cursor : Cursor
AbstractCursorBuilder
Public Methods
 MethodDefined by
  
Method to create regular mouse cursor.
AbstractCursorBuilder
  
Method to create busy cursor.
AbstractCursorBuilder
  
Method to create mouse down cursor.
AbstractCursorBuilder
  
Method to create mouseup cursor.
AbstractCursorBuilder
  
buildName():void
Method to set the name of the set of cursors.
AbstractCursorBuilder
  
Method to create the cursor class.
AbstractCursorBuilder
  
Method getCursor return an instanes of the cursor class.
AbstractCursorBuilder
  
removeCursor():void
Method to remove the custom cursor.
AbstractCursorBuilder
  
setEvents(flexSprite:FlexSprite):void
Method to be declate in each concrete product class.
AbstractCursorBuilder
Property detail
cursorproperty
protected var cursor:Cursor
Method detail
buildCursorMouse()method
public function buildCursorMouse():void

Method to create regular mouse cursor.

buildCursorMouseBusy()method 
public function buildCursorMouseBusy():void

Method to create busy cursor.

buildCursorMouseDown()method 
public function buildCursorMouseDown():void

Method to create mouse down cursor.

buildCursorMouseUp()method 
public function buildCursorMouseUp():void

Method to create mouseup cursor.

buildName()method 
public function buildName():void

Method to set the name of the set of cursors.

createNewCursorProduct()method 
public function createNewCursorProduct():void

Method to create the cursor class.

See also

getCursor()method 
public function getCursor():Cursor

Method getCursor return an instanes of the cursor class.

Returns
Cursor — The Cursor class instance.

See also

removeCursor()method 
public function removeCursor():void

Method to remove the custom cursor. The method will be eventually initiate the CursorManager.removeAllCursors(); method.

See also

mx.managers.CursorManager;
setEvents()method 
public function setEvents(flexSprite:FlexSprite):void

Method to be declate in each concrete product class. It is used to set different mouse for each mouse event. It takes the current UI and impliments the mouse events.

Parameters
flexSprite:FlexSprite — You can set any UI that is an extention of the FlexSprite most basic flex class, similiar to Sprite in Actionscript

See also

mx.core.FlexSprite