public class Cursor extends StyleElement
Modifier and Type | Class and Description |
---|---|
static class |
Cursor.Type
The type of cursor property
|
Constructor and Description |
---|
Cursor() |
Modifier and Type | Method and Description |
---|---|
Cursor |
add(Cursor.Type type) |
Cursor |
add(java.lang.String url)
The url of a custom cursor to be used.
|
java.lang.Boolean |
contains(Cursor.Type type) |
java.lang.Boolean |
contains(java.lang.String url) |
protected java.lang.String |
draw()
All descendant have to implement how to draw it
|
protected StyleElementType |
getElementType() |
Cursor |
remove(Cursor.Type type) |
Cursor |
remove(java.lang.String url) |
drawClass, drawScript, getRoot, setRoot, toString
protected StyleElementType getElementType()
getElementType
in class StyleElement
protected java.lang.String draw()
StyleElement
draw
in class StyleElement
public Cursor add(Cursor.Type type)
type
- of cursorpublic Cursor add(java.lang.String url)
url
- of cursorpublic Cursor remove(Cursor.Type type)
type
- of cursorpublic Cursor remove(java.lang.String url)
url
- of cursorpublic java.lang.Boolean contains(Cursor.Type type)
type
- of cursorpublic java.lang.Boolean contains(java.lang.String url)
url
- string of cursor image