net.sf.latexdraw.util
Class LCursor
java.lang.Object
net.sf.latexdraw.util.LCursor
public final class LCursor
- extends java.lang.Object
This class contains defined several cursors using in LaTeXDraw.
This file is part of LaTeXDraw
Copyright (c) 2005-2012 Arnaud BLOUIN
LaTeXDraw is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
any later version.
LaTeXDraw is distributed without any warranty; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more details.
11/20/06
- Since:
- 1.9
- Version:
- 2.0.0
- Author:
- Arnaud BLOUIN
Constructor Summary |
private |
LCursor()
|
Method Summary |
java.awt.Cursor |
getCursor(java.lang.String path,
java.lang.String name)
Create a cursor define by the picture corresponding to the path. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final LCursor INSTANCE
- The singleton.
CURSOR_ROTATE
public static final java.awt.Cursor CURSOR_ROTATE
- The cursor that should be used during rotation.
LCursor
private LCursor()
getCursor
public java.awt.Cursor getCursor(java.lang.String path,
java.lang.String name)
- Create a cursor define by the picture corresponding to the path.
- Parameters:
path
- The path of the picture of the cursor.name
- The name which will be given to the cursor.
- Returns:
- The created cursor.
- Since:
- 1.9