-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSearchButton.ctxt
More file actions
22 lines (22 loc) · 1.44 KB
/
SearchButton.ctxt
File metadata and controls
22 lines (22 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#BlueJ class context
comment0.target=SearchButton
comment0.text=\r\n\ This\ is\ an\ UI\ Button\ responsible\ for\ searching\ a\ node\ in\ the\ tree.\r\n\ \r\n\ @see\ RBTree.search()\r\n\ @see\ TreeInteractionButton\r\n\ @author\ Ro\u0219ca\ Paul-Teodor\ \r\n\ @version\ 1.0\ (22/12/2020)\r\n
comment1.params=rbt\ myWorld
comment1.target=SearchButton(RBTree,\ Background)
comment1.text=\r\n\ Constructor\ for\ the\ button.\r\n\ @param\ rbt\ the\ tree\ to\ which\ the\ button\ is\ connected\ to\r\n\ @param\ myWorld\ the\ world\ in\ which\ the\ button\ is\ present\r\n
comment2.params=
comment2.target=void\ setNormal()
comment2.text=\r\n\ Method\ that\ sets\ the\ button's\ image\ to\ the\ normal\ image\r\n
comment3.params=
comment3.target=void\ setFocused()
comment3.text=\r\n\ Method\ that\ sets\ the\ button's\ image\ to\ the\ focused\ image\r\n
comment4.params=
comment4.target=void\ setPressed()
comment4.text=\r\n\ Method\ that\ sets\ the\ button's\ image\ to\ the\ pressed\ image\r\n
comment5.params=
comment5.target=void\ applyFunction()
comment5.text=\r\n\ Method\ that\ overrides\ {@link\ Button.applyFunction()}\ for\ adapting\ the\ world's\ speed\ and\ applying\ the\ fucntion\r\n\ with\ the\ String\ in\ {@link\ text}\r\n
comment6.params=k
comment6.target=void\ function(java.lang.String)
comment6.text=\r\n\ Method\ that\ calls\ for\ the\ search\ of\ a\ node\ in\ the\ tree\r\n\ @param\ k\ the\ key\ of\ the\ node\ we\ call\ the\ search\ for\r\n
numComments=7