📄 picture.ctxt
字号:
#BlueJ class contextcomment0.target=class\ Picturecomment0.text=\nThis\ class\ represents\ a\ simple\ picture.\ You\ can\ draw\ the\ picture\ using\nthe\ draw\ method.\ But\ wait,\ there's\ more\:\ being\ an\ electronic\ picture,\ it\ncan\ be\ changed.\ You\ can\ set\ it\ to\ black-and-white\ display\ and\ back\ to\ncolors\ (only\ after\ it's\ been\ drawn,\ of\ course).\n\nThis\ class\ was\ written\ as\ an\ early\ example\ for\ teaching\ Java\ with\ BlueJ.\n\n@author\ \ Michael\ Kolling\ and\ David\ J.\ Barnes\n@version\ 1.1\ \ (24\ May\ 2001)\n\ncomment1.params=comment1.target=void\ draw()comment1.text=\nDraw\ this\ picture.\n\ncomment2.target=wallcomment3.params=comment3.target=void\ setColor()comment3.text=\nChange\ this\ picture\ to\ use\ color\ display\n\ncomment4.params=comment4.target=void\ setBlackAndWhite()comment4.text=\nChange\ this\ picture\ to\ black/white\ display\n\ncomment5.target=suncomment6.target=roofcomment7.params=comment7.target=Picture()comment7.text=\nConstructor\ for\ objects\ of\ class\ Picture\n\ncomment8.target=windownumComments=9
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -