Classes in inpro.gui used by demo.inpro.system.greifarm.gui |
Canvas
a canvas that contains @see{Tile}s which can be selected, moved around, placed, etc. |
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 |
ImageTile
|
Tile
an abstract pentomino tile / puzzle piece / whatever
it can be drawn (this is to be implemented by derived classes),
selected, then moved around,
and be in a placed or unplaced state,
and a few more things
implementing classes (for now) are ImageTile (used in Greifarm),
and PentoTile (used in all things pentomino) |