Class CursorCache
java.lang.Object
org.eclipse.nebula.widgets.collapsiblebuttons.CursorCache
public class CursorCache
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description CursorCache()
-
Method Summary
-
Constructor Details
-
CursorCache
public CursorCache()
-
-
Method Details
-
getCursor
public static org.eclipse.swt.graphics.Cursor getCursor(int type)Returns a cursor that is also cached as to not create more handles for each time the cursor type is fetched.- Parameters:
type
- Cursor Type to fetch- Returns:
- Cursor
-
dispose
public static void dispose()Disposes all cursors held in the cache.IMPORTANT: ONLY CALL WHEN YOU WANT TO DISPOSE ALL CACHED CURSORS!
-