1 6 7 package com.thoughtriver.open.vectorvisuals.meta.connector; 8 9 import java.awt.*; 10 11 import com.thoughtriver.open.vectorvisuals.*; 12 13 22 public class EndpointConfiguration { 23 24 25 private Shape shape = null; 26 27 28 private VisualObject object = null; 29 30 31 private boolean edge = false; 32 33 43 public EndpointConfiguration(final Shape shape, final VisualObject object, final boolean edge) { 44 setShape(shape); 45 setObject(object); 46 setEdge(edge); 47 } 48 49 54 public Shape getShape() { 55 return shape; 56 } 57 58 63 public void setShape(final Shape shape) { 64 this.shape = shape; 65 } 66 67 72 public VisualObject getObject() { 73 return object; 74 } 75 76 82 public void setObject(final VisualObject object) { 83 this.object = object; 84 } 85 86 93 public boolean isEdge() { 94 return edge; 95 } 96 97 104 public void setEdge(final boolean edge) { 105 this.edge = edge; 106 } 107 108 } 109 | Popular Tags |