WhiteBoard Using RMI
WSU CEG 7370 WhiteBoard Using Java RMI
Main Page
Packages
Classes
Files
File List
LineCoords.java
Go to the documentation of this file.
1
// @file: LineCoords.java by pmateti@wright.edu
2
3
package
WhiteBoard;
4
5
public
class
LineCoords
implements
java.io.Serializable {
6
int
x1, y1, x2, y2;
// the two end points of a line
7
java.awt.Color c;
8
9
public
String
toString
() {
10
return
"("
+ x1 +
", "
+ y1 +
", "
+ x2 +
", "
+ y2 +
", "
+ c +
")"
;
11
}
12
}
13
14
// -eof-
WhiteBoard.LineCoords.toString
String toString()
Definition:
LineCoords.java:9
WhiteBoard.LineCoords
Definition:
LineCoords.java:5
Copyright ©
2014
www.wright.edu/~pmateti
; thanks to
doxygen