-
-
Notifications
You must be signed in to change notification settings - Fork 173
Expand file tree
/
Copy pathsuper.xml
More file actions
executable file
·59 lines (42 loc) · 958 Bytes
/
Copy pathsuper.xml
File metadata and controls
executable file
·59 lines (42 loc) · 958 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<root>
<name>super</name>
<category>Structure</category>
<subcategory></subcategory>
<usage>Web & Application</usage>
<example>
<image></image>
<code><![CDATA[
// This example is a code fragment;
// it will not compile on its own.
// Create the DragDrop subclass from
// the Button class. Button becomes
// the superclass of DragDrop.
class DragDrop extends Button {
int xoff, yoff;
DragDrop(int x, int y) {
// Runs the superclass' constructor
super(x, y);
}
void press(int mx, int my) {
// Runs the superclass' press() method
super.press();
xoff = mx;
yoff = my;
}
}
]]></code>
</example>
<description><![CDATA[
Keyword used to reference the superclass of a subclass.
]]></description>
<syntax></syntax>
<returns></returns>
<related>
class
extends
</related>
<availability>1.0</availability>
<type>Keyword</type>
<partof>PDE</partof>
</root>