blob: b0e1b7d8ab81706251b4cea717eeda59ca68961d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package gjt;
/**
* Constants for 3D border styles.
*
* This class may not be instantiated.
*
* @version 1.0, Apr 11 1996
* @author David Geary
*/
public class ThreeDBorderStyle {
public static final ThreeDBorderStyle RAISED =
new ThreeDBorderStyle();
public static final ThreeDBorderStyle INSET =
new ThreeDBorderStyle();
public String toString() {
if(this == ThreeDBorderStyle.RAISED)
return getClass().getName() + "=RAISED";
else
return getClass().getName() + "=INSET";
}
private ThreeDBorderStyle() { } // defeat instantiation
}
|