|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objecty.view.EdgeRealizer
y25.view.realizer.DummyEdgeRealizer25D
Implementation of an EdgeRealizer/25D with no function. This is useful for debugging.
| Field Summary |
| Fields inherited from class y.view.EdgeRealizer |
bends, path |
| Fields inherited from interface y25.view.EdgeRealizer25D |
MODE_2D, MODE_3D |
| Constructor Summary | |
DummyEdgeRealizer25D()
|
|
| Method Summary | |
void |
addPoint(double arg0,
double arg1)
|
protected void |
calculatePath()
|
void |
clearPoints()
|
Bend |
createBend(double arg0,
double arg1,
Bend arg2,
int arg3)
|
EdgeRealizer |
createCopy(EdgeRealizer arg0)
|
int |
getLineDisplayMode()
Returns the current display mode for drawing lines. |
YPoint |
getPoint(int arg0)
|
BoundingBox |
getRelativeBoundingBox()
Returns the relative bounding box that encompasses the edge. |
YPoint |
getSourcePoint()
|
YPoint |
getTargetPoint()
|
Bend |
insertBend(double arg0,
double arg1)
|
void |
paintGL(GLAutoDrawable drawable,
Camera camera)
Renders the edge this realizer is bound to into the given drawable. |
int |
pointCount()
|
void |
reInsertBend(Bend arg0,
Bend arg1,
int arg2)
|
Bend |
removeBend(Bend arg0)
|
void |
setLineDisplayMode(int mode)
Sets the current display mode for drawing lines. |
void |
setPoint(int arg0,
double arg1,
double arg2)
|
void |
setSourcePoint(YPoint arg0)
|
void |
setTargetPoint(YPoint arg0)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DummyEdgeRealizer25D()
| Method Detail |
public int pointCount()
pointCount in interface EdgeLayoutpublic YPoint getPoint(int arg0)
getPoint in interface EdgeLayout
public void setPoint(int arg0,
double arg1,
double arg2)
setPoint in interface EdgeLayout
public void addPoint(double arg0,
double arg1)
addPoint in interface EdgeLayoutpublic void clearPoints()
clearPoints in interface EdgeLayoutpublic YPoint getSourcePoint()
getSourcePoint in interface EdgeLayoutpublic YPoint getTargetPoint()
getTargetPoint in interface EdgeLayoutpublic void setSourcePoint(YPoint arg0)
setSourcePoint in interface EdgeLayoutpublic void setTargetPoint(YPoint arg0)
setTargetPoint in interface EdgeLayoutpublic EdgeRealizer createCopy(EdgeRealizer arg0)
public Bend createBend(double arg0,
double arg1,
Bend arg2,
int arg3)
public void reInsertBend(Bend arg0,
Bend arg1,
int arg2)
public Bend insertBend(double arg0,
double arg1)
public Bend removeBend(Bend arg0)
protected void calculatePath()
public void paintGL(GLAutoDrawable drawable,
Camera camera)
EdgeRealizer25DThe passed camera is the one that is used to display this edge. It can be used, for example, to render an edge differently depending on the viewing position, or to display labels that always face the viewer.
paintGL in interface EdgeRealizer25Dpublic BoundingBox getRelativeBoundingBox()
EdgeLayout25D"Relative" means, that the z-position of the layer that the edge belongs to is treated as the origin.
getRelativeBoundingBox in interface EdgeLayout25Dpublic int getLineDisplayMode()
EdgeRealizer25DEdgeRealizer25D.MODE_2D or
EdgeRealizer25D.MODE_3D.
getLineDisplayMode in interface EdgeRealizer25Dpublic void setLineDisplayMode(int mode)
EdgeRealizer25DEdgeRealizer25D.MODE_2D or
EdgeRealizer25D.MODE_3D.
setLineDisplayMode in interface EdgeRealizer25D
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||