|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pedviz.view.DefaultEdgeView pedviz.view.EdgeView
public class EdgeView
This class contains all informations that are needed for drawing a Edge object in a GraphView.
Constructor Summary | |
---|---|
EdgeView(Edge edge,
DefaultEdgeView defaultEdgeView)
Creates a EdgeView for the given Edge object with the given DefaultEdgeView as template. |
Method Summary | |
---|---|
float |
getAlpha()
Returns the alpha value. |
java.awt.Color |
getColor()
Returns the color of the line. |
java.lang.Object |
getData()
Returns the stored Object. |
Edge |
getEdge()
Returns the Edge object. |
NodeView |
getEnd()
Returns the first end node. |
java.util.List<NodeView> |
getEnds()
Returns a collection of all end nodes. |
NodeView |
getStart()
Returns the start node. |
boolean |
isHidden()
Returns true, if the edge is hidden. |
boolean |
isHighlighted()
Returns true, if the edge is highlighted. |
void |
setData(java.lang.Object data)
Sets the Object that will be stored. |
void |
setEnds(java.util.List<NodeView> end)
Sets all end node. |
void |
setStart(NodeView start)
Sets the start node. |
Methods inherited from class pedviz.view.DefaultEdgeView |
---|
getAlphaForLongLines, getColorForLongLines, getDeltaX, getDeltaY, getDeltaZ, getGapBottom, getGapTop, getHighlightedColor, getHighlightedWidth, getWidth, isConnectChildren, setAlpha, setAlphaForLongLines, setColor, setColorForLongLines, setConnectChildren, setDeltaForLongLines, setGapBottom, setGapTop, setHighlightedColor, setHighlightedWidth, setWidth |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EdgeView(Edge edge, DefaultEdgeView defaultEdgeView)
edge
- Edgestart
- NodeView of the start node.end[]
- Arry of NodeViews of the end nodes.Method Detail |
---|
public boolean isHighlighted()
public boolean isHidden()
public Edge getEdge()
public NodeView getEnd()
public NodeView getStart()
public java.util.List<NodeView> getEnds()
public void setStart(NodeView start)
start
- start node.public void setEnds(java.util.List<NodeView> end)
end
- public java.lang.Object getData()
public void setData(java.lang.Object data)
data
- public java.awt.Color getColor()
DefaultEdgeView
getColor
in class DefaultEdgeView
public float getAlpha()
DefaultEdgeView
getAlpha
in class DefaultEdgeView
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |