Class fvaswing.components.cursors.FvCursor

Description

A 'normal' cursor.

There are 2 ways to use cursor.
First, classic instantiation and AsWing CursorManager use.

   var cursor : FvCursor = new FvCursor();
   CursorManager.showCustomCursor( cursor );
 
Second, use direct show method.
    FvCursor.show();
 

You can use arrowVisible property to define if custom painted arrow should be visible or not.
Of course, if arrow is not visible, keep the system cursor visible to keep arrow definition.

Field Index

arrowVisible, color, CURSOR_COLOR

Method Index

new FvCursor()
getInstance(), hide(), repaint(), show()

Inherited from FvAbstractCursor

Constructor Detail

FvCursor

public function FvCursor()

Constructor.

Cursor properties are initialized with constants values.

Field Detail

CURSOR_COLOR

static public CURSOR_COLOR:Number
Color used if color is not defined.

color

public color:Number
Cursor color.

arrowVisible

public arrowVisible:Boolean
Indicates if arrow is showing or not.

Method Detail

getInstance

static public function getInstance():FvCursor

Returns a unique FvCursor instance.

show

static public function show():Void

Shows cursor and hides the system cursor.

hide

static public function hide():Void

Hides cursor and shows the default system cursor.

repaint

public function repaint():Void

Concrete drawing implementation.