Package codedraw
Class CursorStyle
java.lang.Object
codedraw.CursorStyle
CursorStyle is used to specify how the cursor looks like when hovering over the CodeDraw canvas.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final CursorStyle
static final CursorStyle
static final CursorStyle
static final CursorStyle
static final CursorStyle
static final CursorStyle
static final CursorStyle
static final CursorStyle
static final CursorStyle
static final CursorStyle
static final CursorStyle
static final CursorStyle
static final CursorStyle
static final CursorStyle
-
Constructor Summary
ConstructorDescriptionCursorStyle
(Image image) Creates a new CursorStyle from an image.CursorStyle
(Image image, int x, int y) Creates a new CursorStyle from an image. -
Method Summary
-
Field Details
-
DEFAULT
-
CROSS_HAIR
-
TEXT
-
WAIT
-
SOUTH_WEST_RESIZE
-
SOUTH_EAST_RESIZE
-
NORTH_WEST_RESIZE
-
NORTH_EAST_RESIZE
-
NORTH_RESIZE
-
SOUTH_RESIZE
-
WEST_RESIZE
-
EAST_RESIZE
-
HAND
-
MOVE
-
-
Constructor Details
-
CursorStyle
Creates a new CursorStyle from an image. The top left corner of the image will be the click position.- Parameters:
image
- any image
-
CursorStyle
Creates a new CursorStyle from an image.- Parameters:
image
- any imagex
- The click position relative to the top of the image.y
- The click position relative to the left of the image.
-
-
Method Details
-
equals
-
hashCode
-
toString
-