Package com.levigo.jadice.web.client.ui
Interface CursorStyleSelector
- All Known Implementing Classes:
DefaultCursorStyleSelector
public interface CursorStyleSelector
An object implementing this interface can be used to determine what cursor to display during the creation of an annotation.
To use this object, call setCursorStyleSelector(the_object) of your AnnotationTool instance.
The
DefaultCursorStyleSelector
returns the default cursor according to the used UIStyle's cursorStyle.-
Method Summary
Modifier and TypeMethodDescriptionDetermines the Cursor to be used during Creation of an Annotation.
-
Method Details
-
determineAnnoCreationCursor
Determines the Cursor to be used during Creation of an Annotation. All functional values can be accessed by calling UIStyler.get().cursorStyle().{any function}.- Parameters:
anno
- The Annotation to be created- Returns:
- the css-value for the cursor to use during creation, e.g. "crosshair"
-