|
JComponentPack 1.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.zfqjava.chart.AbstractNode
com.zfqjava.chart.AbstractLink
com.zfqjava.chart.geom.PolylineLink
public class PolylineLink
PolylineLink provides a polyline link.
| Constructor Summary | |
|---|---|
PolylineLink()
Constructs a polyline link. |
|
| Method Summary | |
|---|---|
protected void |
configureLinkShape(Shape s,
int x1,
int y1,
int x2,
int y2)
Configure the shape when the link's location has been changed. |
protected Shape |
createPaintShape()
Creates the paint shape. |
int |
getMaxPointCount()
Returns the maximum point count of this link. |
| Methods inherited from class com.zfqjava.chart.AbstractLink |
|---|
addArrow, addPoint, configureLinkShape, configureLinkShape, createHandles, doLayout, drawShape, getArrowCount, getArrowList, getEndArrow, getEndNode, getEndX, getEndY, getMinPointCount, getPointCount, getPointX, getPointY, getStartArrow, getStartNode, getStartX, getStartY, removeArrow, removePoint, reset, setEndArrow, setEndLocation, setEndNode, setLocation, setStartArrow, setStartLocation, setStartNode, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PolylineLink()
| Method Detail |
|---|
protected Shape createPaintShape()
AbstractNode
createPaintShape in class AbstractNode
protected void configureLinkShape(Shape s,
int x1,
int y1,
int x2,
int y2)
AbstractLink
configureLinkShape in class AbstractLinks - the paint shape of this link.x1 - the start x locationy1 - the start y locationx2 - the end x locationy2 - the end y locationpublic int getMaxPointCount()
Link
getMaxPointCount in interface LinkgetMaxPointCount in class AbstractLink
|
JComponentPack 1.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||