⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 controlwindow.ctxt

📁 Java程序设计(美) David D. Riley著 机械工业出版社 书籍配套 代码
💻 CTXT
字号:
#BlueJ class contextcomment0.target=class\ ControlWindowcomment1.target=theRobotcomment2.target=turnBtncomment3.params=rcomment3.target=ControlWindow(Robot)comment3.text=post\:\ \ \ this\ window\ is\ created\nand\ getX()\ \=\=\ 13*72+10\ \ and\ getY()\=\=20\nand\ getWidth()\ \=\=\ 200\ \ and\ \ getHeight()\ \=\=\ 120\nand\ theRobot\ \=\=\ r\ \ \nand\ turnBtn\ is\ created\ and\ placed\ on\ this\nand\ moveBtn\ is\ created\ and\ placed\ on\ this\ \n\ncomment4.params=ecomment4.target=void\ actionPerformed(ActionEvent)comment4.text=This\ is\ an\ event\ hanlder\ for\ both\ buttons.\npost\:\ \ \ e.getSource()\=\=turnBtn\ implies\ postcondition\ of\ theRobot.rotateClockwise()\nand\ \ e.getCourse\=\=moveBtn\ implies\ postcondition\ of\ theRobot.moveByOneStep()\ \n\ncomment5.target=moveBtnnumComments=6

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -