📄 antapplet.ctxt
字号:
#BlueJ class context
comment0.target=class\ AntApplet
comment0.text=Applet\ front\ end\ to\ the\ Ants\ in\ the\ Garden\ simulator.\n@author\ \ \ Jo\ Wood.\n@version\ \ 1.2,\ 26th\ July,\ 2001\n\n
comment1.params=spObject
comment1.target=boolean\ canDraw(SpatialObject)
comment1.text=Checks\ that\ the\ given\ spatial\ object\ can\ be\ drawn\ \nin\ this\ applet.\n@param\ spObject\ Spatial\ object\ we\ wish\ to\ draw.\n@return\ True\ if\ the\ spatial\ object\ can\ be\ drawn.\n\n
comment10.params=
comment10.target=String\ getAppletInfo()
comment10.text=Provides\ a\ description\ of\ this\ applet\ for\ the\ embedding\ browser.\ \ \ \ \ \n@return\ Message\ describing\ the\ applet.\n\n
comment11.params=
comment11.target=void\ stop()
comment11.text=Stops\ the\ ant\ simulation,\ either\ temporarily\ if\ the\ window\ is\ minimised,\nor\ permanently\ if\ it\ is\ closed.\n\n
comment12.params=
comment12.target=void\ init()
comment12.text=Initialises\ the\ applet\ within\ which\ the\ ants\ may\ be\ observed.\n\n
comment13.target=evolution
comment14.target=offscreenImage
comment2.params=
comment2.target=void\ start()
comment2.text=Starts\ off\ the\ ant\ simulation\ or\ resumes\ it\ if\ window\ has\ been\ deiconified\nafter\ being\ iconified.\ \n\n
comment3.target=garden
comment4.params=
comment4.target=void\ run()
comment4.text=Controls\ the\ evolution\ of\ the\ simulation\ as\ a\ threaded\nprocess.\n\n
comment5.params=message
comment5.target=void\ displayMessage(String)
comment5.text=Displays\ the\ given\ message\ in\ the\ applet.\ Some\ browsers\ may\nchoose\ to\ ignore\ this\ request.\n@param\ message\ Message\ to\ display.\n\n
comment6.params=spObject
comment6.target=Vector\ objectsAt(SpatialObject)
comment6.text=Reports\ the\ list\ of\ SpatialObjects\ assoicated\ with\ the\ given\nspatial\ object\ (within,\ matching,\ overlapping\ or\ containing).\ \n@param\ spObject\ spatial\ object\ with\ which\ to\ compare.\n@return\ List\ of\ spatial\ objects\ in\ contact\ with\ the\ given\ one.\n\n
comment7.params=
comment7.target=void\ redrawGraphics()
comment7.text=Redraws\ any\ graphics\ that\ need\ updating.\n\n
comment8.params=g
comment8.target=void\ paint(Graphics)
comment8.text=Allows\ the\ simulator\ to\ draw\ in\ this\ applet\ using\ double\ buffering.\n@param\ g\ Graphics\ context\ within\ which\ to\ draw.\n\n
comment9.target=offscreenGraphics
numComments=15
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -