class |
CursorCanvas
PentoCursorCanvas, extends Canvas with a hand cursor implementation
a cursor is placed on the board and can be controlled via mouse-like operations:
the cursor can be pressed, released or the state can be toggled and it can be
moved around, either immediately or following a path from the current position
operations are also available using relative block units
actions with the cursor will trigger the corresponding operations of PentoCanvas
to reflect the changes of the hand cursor on the pentomino board
also, this class will trigger repaint() when appropriate
subclasses may want to hide the cursor by setting cursorVisible to false |