| Package | com.elad.framework.cursor |
| Class | public class AbstractCursorBuilder |
| Subclasses | ConcreteMouseDrop, ConcreteMouseHand |
| Method | Defined by | ||
|---|---|---|---|
|
buildCursorMouse():void
Method to create regular mouse cursor.
| AbstractCursorBuilder | ||
|
buildCursorMouseBusy():void
Method to create busy cursor.
| AbstractCursorBuilder | ||
|
buildCursorMouseDown():void
Method to create mouse down cursor.
| AbstractCursorBuilder | ||
|
buildCursorMouseUp():void
Method to create mouseup cursor.
| AbstractCursorBuilder | ||
|
buildName():void
Method to set the name of the set of cursors.
| AbstractCursorBuilder | ||
|
createNewCursorProduct():void
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 | ||
| cursor | property |
protected var cursor:Cursor
| buildCursorMouse | () | method |
public function buildCursorMouse():voidMethod to create regular mouse cursor.
| buildCursorMouseBusy | () | method |
public function buildCursorMouseBusy():voidMethod to create busy cursor.
| buildCursorMouseDown | () | method |
public function buildCursorMouseDown():voidMethod to create mouse down cursor.
| buildCursorMouseUp | () | method |
public function buildCursorMouseUp():voidMethod to create mouseup cursor.
| buildName | () | method |
public function buildName():voidMethod to set the name of the set of cursors.
| createNewCursorProduct | () | method |
public function createNewCursorProduct():voidMethod to create the cursor class.
See also
| getCursor | () | method |
public function getCursor():CursorMethod getCursor return an instanes of the cursor class.
ReturnsCursor —
The Cursor class instance.
|
See also
| removeCursor | () | method |
public function removeCursor():voidMethod to remove the custom cursor. The method will be eventually initiate the CursorManager.removeAllCursors(); method.
See also
| setEvents | () | method |
public function setEvents(flexSprite:FlexSprite):voidMethod 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.
ParametersflexSprite:FlexSprite — You can set any UI that is an extention of the FlexSprite most basic flex class, similiar to Sprite in Actionscript
|
See also