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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
/**
* @author Firstname Lastname <address @ example.com>
* @version 1.6 (current version number of program)
* @since 1.2 (the version of the package to which this class was
* first added)
*/
/**
* Short one line description. (1)
*
* Longer description. If there were any, it would be (2) here.
*
* And even more explanations to follow in consecutive paragraphs
* separated by HTML paragraph breaks... or so we think, haha. After
* this paragraph, add a reference to an @param to verify that it is
* ignored since it does not occur at the beginning of the line. Let's
* also throw in an @return to verify that it passes the test as well.
*
* @param variable Description text text text. (3)
* @return Description text text text.
*/
/**
* Validates a chess move.
*
* Use {@link #doMove(int fromFile, int fromRank, int toFile, int
* toRank)} to move a piece.
*
* @param fromFile file from which a piece is being moved
* @param fromRank rank from which a piece is being moved
* @param toFile file to which a piece is being moved
* @param toRank rank to which a piece is being moved
* @return true if the move is valid, otherwise false
* @since 1.0
*/
/**
* Draws as much of the specified image as is currently available with
* its northwest corner at the specified coordinate (x, y). This
* method will return immediately in all cases, even if the entire
* image has not yet been scaled, dithered and converted for the
* current output device.
*
* If the current output representation is not yet complete then the
* method will return false and the indicated {@link ImageObserver}
* object will be notified as the conversion process progresses.
*
* @param img the image to be drawn
* @param x, y the x- and y-coordinates of the northwest corner
* of the destination rectangle in pixels
* @param observer the image observer to be notified as more of the
* image is converted. May be null
* @return true if the image is completely loaded and was
* painted successfully; false otherwise.
* @see Image
* @see ImageObserver
* @since 1.0
*/
/**
* @see #create(int, int, int, int)
* @see #finalize()
* @see Component#getGraphics()
* @see Component#paint(Graphics)
* @see Component#update(Graphics)
* @since 1.0
*/
/**
* Disposes of this graphics context once it is no longer referenced.
*
* @see #dispose()
* @since 1.0
*/
|