1
2 package hep.wired.heprep.services;
3
4 import java.awt.*;
5
6 import hep.graphics.heprep.HepRepIterator;
7
8 /***
9 * Interface for subscribed attributes
10 *
11 * @author Mark Donszelmann
12 * @version $Id: Attributes.java 644 2005-02-25 23:11:39Z duns $
13 */
14
15 public interface Attributes {
16
17 public static final int ARROW_NONE = 0;
18 public static final int ARROW_START = 1;
19 public static final int ARROW_END = 2;
20 public static final int ARROW_BOTH = 3;
21
22 /***
23 * Current DrawAs value
24 */
25 public String getDrawAs();
26
27 /***
28 * Current color
29 */
30 public Color getColor();
31
32 /***
33 * Current line width
34 */
35 public double getLineWidth();
36
37 /***
38 * Current line has arrow
39 */
40 public int hasLineArrow();
41
42 /***
43 * Current frame color
44 */
45 public Color getFrameColor();
46
47 /***
48 * Current frame line width
49 */
50 public double getFrameWidth();
51
52 /***
53 * Current fill color
54 */
55 public Color getFillColor();
56
57 /***
58 * Should fill ?
59 */
60 public boolean isFilled();
61
62 /***
63 * Current marker symbol
64 */
65 public int getMarkSymbol();
66
67 /***
68 * Current marker size
69 */
70 public double getMarkSize();
71
72 /***
73 * Subscribe these attributes to the given iterator.
74 */
75
76 }