public class LineEdge extends AbstractEdge
| Constructor and Description | 
|---|
| LineEdge() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | contains(java.awt.geom.Point2D aPoint)Tests whether the edge contains a point. | 
| void | draw(java.awt.Graphics2D g2)Draw the edge. | 
| LineStyle | getLineStyle()Gets the line style property. | 
| void | setLineStyle(LineStyle newValue)Sets the line style property. | 
clone, connect, getBounds, getConnectionPoints, getEnd, getStartpublic LineEdge()
public void draw(java.awt.Graphics2D g2)
Edgeg2 - the graphics contextpublic boolean contains(java.awt.geom.Point2D aPoint)
EdgeaPoint - the point to testpublic void setLineStyle(LineStyle newValue)
newValue - the new valuepublic LineStyle getLineStyle()