|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.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 EdgeLayout
public 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 EdgeLayout
public void clearPoints()
clearPoints
in interface EdgeLayout
public YPoint getSourcePoint()
getSourcePoint
in interface EdgeLayout
public YPoint getTargetPoint()
getTargetPoint
in interface EdgeLayout
public void setSourcePoint(YPoint arg0)
setSourcePoint
in interface EdgeLayout
public void setTargetPoint(YPoint arg0)
setTargetPoint
in interface EdgeLayout
public 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)
EdgeRealizer25D
The 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 EdgeRealizer25D
public 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 EdgeLayout25D
public int getLineDisplayMode()
EdgeRealizer25D
EdgeRealizer25D.MODE_2D
or
EdgeRealizer25D.MODE_3D
.
getLineDisplayMode
in interface EdgeRealizer25D
public void setLineDisplayMode(int mode)
EdgeRealizer25D
EdgeRealizer25D.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 |