package Ġcom . greg . view . canvas Ċ Ċ import Ġjavafx . scene . input . KeyEvent Ċ import Ġjavafx . scene . input . MouseEvent Ċ Ċ interface ĠCanvas State Ġ{ ĊĊĠĠĠ Ġfun Ġhandle Mouse Press ( event : ĠMouseEvent ) ĊĊĠĠĠ Ġfun Ġhandle Mouse Drag ( event : ĠMouseEvent ) ĊĊĠĠĠ Ġfun Ġhandle Mouse Release ( event : ĠMouseEvent ) ĊĊĠĠĠ Ġfun Ġhandle DoubleClick ( event : ĠMouseEvent ) ĊĊĠĠĠ Ġfun Ġhandle Mouse Click ( event : ĠMouseEvent ) ĊĊĠĠĠ Ġfun Ġhandle KeyPress ( event : ĠKeyEvent ) ĊĊĠĠĠ Ġfun Ġhandle Key Release ( event : ĠKeyEvent ) ĊĊĠĠĠ Ġfun ĠonClose () Ċ }