Files
G4G0-1/Semester 1/Programming 1/Java/Chapter01/Figures/Circle.ctxt
2024-01-15 20:14:10 +00:00

54 lines
2.3 KiB
Plaintext

#BlueJ class context
comment0.params=
comment0.target=Circle()
comment0.text=\n\ Create\ a\ new\ circle\ at\ default\ position\ with\ default\ color.\n
comment1.params=x\ y
comment1.target=Circle(int,\ int)
comment10.params=distance
comment10.target=void\ moveHorizontal(int)
comment10.text=\n\ Move\ the\ circle\ horizontally\ by\ 'distance'\ pixels.\n
comment11.params=distance
comment11.target=void\ moveVertical(int)
comment11.text=\n\ Move\ the\ circle\ vertically\ by\ 'distance'\ pixels.\n
comment12.params=distance
comment12.target=void\ slowMoveHorizontal(int)
comment12.text=\n\ Slowly\ move\ the\ circle\ horizontally\ by\ 'distance'\ pixels.\n
comment13.params=distance
comment13.target=void\ slowMoveVertical(int)
comment13.text=\n\ Slowly\ move\ the\ circle\ vertically\ by\ 'distance'\ pixels.\n
comment14.params=newDiameter
comment14.target=void\ changeSize(int)
comment14.text=\n\ Change\ the\ size\ to\ the\ new\ size\ (in\ pixels).\ Size\ must\ be\ >\=\ 0.\n
comment15.params=newColor
comment15.target=void\ changeColor(java.lang.String)
comment15.text=\n\ Change\ the\ color.\ Valid\ colors\ are\ "red",\ "yellow",\ "blue",\ "green",\n\ "magenta"\ and\ "black".\n
comment16.params=
comment16.target=void\ draw()
comment16.text=\n\ Draw\ the\ circle\ with\ current\ specifications\ on\ screen.\n
comment17.params=
comment17.target=void\ erase()
comment17.text=\n\ Erase\ the\ circle\ on\ screen.\n
comment2.params=x\ y\ col
comment2.target=Circle(int,\ int,\ java.lang.String)
comment3.params=x\ y\ col\ d
comment3.target=Circle(int,\ int,\ java.lang.String,\ int)
comment4.params=
comment4.target=void\ makeVisible()
comment4.text=\n\ Make\ this\ circle\ visible.\ If\ it\ was\ already\ visible,\ do\ nothing.\n
comment5.params=
comment5.target=void\ makeInvisible()
comment5.text=\n\ Make\ this\ circle\ invisible.\ If\ it\ was\ already\ invisible,\ do\ nothing.\n
comment6.params=
comment6.target=void\ moveRight()
comment6.text=\n\ Move\ the\ circle\ a\ few\ pixels\ to\ the\ right.\n
comment7.params=
comment7.target=void\ moveLeft()
comment7.text=\n\ Move\ the\ circle\ a\ few\ pixels\ to\ the\ left.\n
comment8.params=
comment8.target=void\ moveUp()
comment8.text=\n\ Move\ the\ circle\ a\ few\ pixels\ up.\n
comment9.params=
comment9.target=void\ moveDown()
comment9.text=\n\ Move\ the\ circle\ a\ few\ pixels\ down.\n
numComments=18