01: // The UMLet source code is distributed under the terms of the GPL; see license.txt
02: package com.umlet.element.base.detail;
03:
04: import java.awt.*;
05:
06: /**
07: * <p>Title: </p>
08: * <p>Description: </p>
09: * <p>Copyright: Copyright (c) 2001</p>
10: * <p>Company: </p>
11: * @author unascribed
12: * @version 1.0
13: */
14:
15: public class Arrow extends Rectangle {
16: private Point _arrowEndA;
17: private Point _arrowEndB;
18:
19: //A.Mueller start
20: private Point _crossEndA;
21: private Point _crossEndB;
22: private int _arcStart;
23: private int _arcEnd;
24:
25: //A.Mueller end
26:
27: public Point getArrowEndA() {
28: return _arrowEndA;
29: }
30:
31: public Point getArrowEndB() {
32: return _arrowEndB;
33: }
34:
35: public void setArrowEndA(Point p) {
36: _arrowEndA = p;
37: }
38:
39: public void setArrowEndB(Point p) {
40: _arrowEndB = p;
41: }
42:
43: //A.Mueller start
44: public void setCrossEndA(Point p) {
45: _crossEndA = p;
46: }
47:
48: public void setCrossEndB(Point p) {
49: _crossEndB = p;
50: }
51:
52: public int getArcStart() {
53: return _arcStart;
54: }
55:
56: public int getArcEnd() {
57: return _arcEnd;
58: }
59:
60: public void setArcStart(int a) {
61: _arcStart = a;
62: }
63:
64: public void setArcEnd(int a) {
65: _arcEnd = a;
66: }
67:
68: public Point getCrossEndA() {
69: return _crossEndA;
70: }
71:
72: public Point getCrossEndB() {
73: return _crossEndB;
74: }
75:
76: //A.Mueller end
77:
78: private String _arrowType = null;
79:
80: public String getString() {
81: return _arrowType;
82: }
83:
84: public Arrow(String arrowType) {
85: super (0, 0, 1, 1);
86: _arrowType = arrowType;
87: }
88: }
|