blob: 99303eee266aa0cece7da5402398e9577976f546 (
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
25
26
27
28
29
30
31
32
33
34
|
/*
* $Id$
* Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
* For details on use and redistribution please refer to the
* LICENSE file included with these sources.
*/
package org.apache.fop.traits;
import org.apache.fop.datatypes.ColorType;
public class BorderProps {
public int style; // Enum for border style
public ColorType color; // Border color
public int width; // Border width
public BorderProps(int style, int width, ColorType color) {
this.style = style;
this.width = width;
this.color = color;
}
public String toString() {
StringBuffer sbuf = new StringBuffer();
sbuf.append('(');
sbuf.append(style); // Should get a String value for this enum constant
sbuf.append(',');
sbuf.append(color);
sbuf.append(',');
sbuf.append(width);
sbuf.append(')');
return sbuf.toString();
}
}
|