public LienzoPanel setCursor ( final Cursor cursor ) { if ( ( cursor != null ) && ( cursor != m_active_cursor ) ) { m_active_cursor = cursor ; // Need to defer this, sometimes, if the browser is busy, etc, changing cursors does not take effect till events are done processing Scheduler . get ( ) . scheduleDeferred ( new ScheduledCommand ( ) { @ Override public void execute ( ) { getElement ( ) . getStyle ( ) . setCursor ( m_active_cursor ) ; } } ) ; } return this ; }
Sets the type of cursor to be used when hovering above the element .