canvas.ctxt
来自「Java based Snakes and Ladders game.」· CTXT 代码 · 共 22 行
CTXT
22 行
#BlueJ class context
comment0.target=Canvas\ getCanvas()
comment1.params=title\ width\ height\ bgColour
comment1.target=Canvas(String,\ int,\ int,\ Color)
comment10.target=void\ quit()
comment11.target=void\ showAbout()
comment2.params=visible
comment2.target=void\ setVisible(boolean)
comment3.params=referenceObject\ color\ shape
comment3.target=void\ draw(Object,\ String,\ Shape)
comment4.params=referenceObject
comment4.target=void\ erase(Object)
comment5.params=colorString
comment5.target=void\ setForegroundColor(String)
comment6.target=void\ redraw()
comment6.text=public\ void\ wait(int\ milliseconds)\n{\ntry\n{\nThread.sleep(milliseconds);\n}\ \ncatch\ (Exception\ e)\n{\n//\ ignoring\ exception\ at\ the\ moment\n}\n}\n
comment7.target=void\ erase()
comment8.params=frame
comment8.target=void\ makeMenuBar(JFrame)
comment9.target=void\ roll()
numComments=12
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?