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
FieldsModifier and TypeFieldDescriptionstatic CursorStylestatic CursorStylestatic CursorStylestatic CursorStylestatic CursorStylestatic CursorStylestatic CursorStylestatic CursorStylestatic CursorStylestatic CursorStylestatic CursorStylestatic CursorStylestatic CursorStylestatic CursorStyle -
Constructor Summary
ConstructorsConstructorDescriptionCursorStyle(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.- Parameters:
image- Appearance of the cursor when hovering over the canvas.
-
CursorStyle
Creates a new CursorStyle from an image.- Parameters:
image- Appearance of the cursor when hovering over the canvas.x- The click position relative to the image.y- The click position relative to the image.
-
-
Method Details