|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wilmascope.patterns.Prototype
org.wilmascope.view.GraphElementView
org.wilmascope.view.EdgeView
org.wilmascope.viewplugin.SimpleSplineEdgeView
public class SimpleSplineEdgeView
Title:
Description:
Copyright: Copyright (c) 2001
Company:
Field Summary |
---|
Fields inherited from class org.wilmascope.view.GraphElementView |
---|
t3d |
Constructor Summary | |
---|---|
SimpleSplineEdgeView()
|
Method Summary | |
---|---|
void |
draw()
draw the edge correctly between the start and end nodes |
protected void |
init()
you must over-ride the following method to create the 3D Shapes which will represent your graph elements |
void |
setCurves(float scale,
int x0,
int y0,
int x1,
int y1,
java.util.Vector curves,
java.util.Vector arrowPositions)
|
protected void |
setupDefaultMaterial()
Sets the default material for graph elements You must over-ride this abstract method stub with: setupDefaultAppearance(myDefaultMaterial); |
protected void |
setupHighlightMaterial()
You must over-ride this method with: setupHighlightAppearance(myHighLightedMaterial) |
Methods inherited from class org.wilmascope.view.EdgeView |
---|
draw2D, getEdge, getIcon, getPositionAngle, getPositionVector, getProperties, getRadius, setEdge, setHueByWeight, setMultiEdgeOffset, setProperties, setRadius, showLabel |
Methods inherited from class org.wilmascope.patterns.Prototype |
---|
clone, getTypeName, setTypeName |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.wilmascope.graph.Viewable |
---|
delete, hide, setPickable, show |
Constructor Detail |
---|
public SimpleSplineEdgeView()
Method Detail |
---|
protected void setupHighlightMaterial()
GraphElementView
setupHighlightMaterial
in class GraphElementView
protected void setupDefaultMaterial()
GraphElementView
setupDefaultMaterial
in class GraphElementView
protected void init()
GraphElementView
init
in class GraphElementView
public void setCurves(float scale, int x0, int y0, int x1, int y1, java.util.Vector curves, java.util.Vector arrowPositions)
public void draw()
EdgeView
draw
in interface Viewable
draw
in class EdgeView
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |