|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.aduna.linkmap.graph.impl.EdgeImpl
public class EdgeImpl
| Constructor Summary | |
|---|---|
EdgeImpl()
|
|
| Method Summary | |
|---|---|
Vertex |
getFirstVertex()
Returns one of the Vertices connected by this Edge, referred to as the "first vertex". |
float |
getHighlightLevel()
|
String |
getLabel()
Returns the text to display along the Edge. |
Object |
getLayoutAttribute()
Sets the layout attribute of this Vertex. |
Vertex |
getOtherVertex(Vertex thisVertex)
Given one of the Vertices connected by this Edge, this method returns the other one. |
Object |
getRenderingAttribute()
Returns the rendering attribute of this Vertex. |
Vertex |
getSecondVertex()
Returns one of the Vertices connected by this Edge, referred to as the "second vertex". |
float |
getWeight()
Returns the weight of the Edge. |
boolean |
isConnected()
Returns whether both Vertices are set. |
boolean |
isConnectedTo(Vertex vertex)
Determines whether the specified Vertex is registered as the first or second Vertex of this Edge. |
boolean |
isDirected()
Indicates whether this is a directed or undirected Edge. |
void |
setDirected(boolean directed)
|
void |
setFirstVertex(Vertex firstVertex)
|
void |
setHighlightLevel(float highlightLevel)
|
void |
setLabel(String label)
|
void |
setLayoutAttribute(Object layoutAttribute)
Returns the layout attribute of this Vertex. |
void |
setRenderingAttribute(Object renderingAttribute)
Sets the rendering attribute of this Vertex. |
void |
setSecondVertex(Vertex secondVertex)
|
void |
setWeight(float weight)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EdgeImpl()
| Method Detail |
|---|
public Vertex getFirstVertex()
Edge
getFirstVertex in interface Edgepublic void setFirstVertex(Vertex firstVertex)
public Vertex getSecondVertex()
Edge
getSecondVertex in interface Edgepublic void setSecondVertex(Vertex secondVertex)
public void setLabel(String label)
public String getLabel()
Edge
getLabel in interface Edgepublic void setDirected(boolean directed)
public boolean isDirected()
Edge
isDirected in interface Edgepublic void setWeight(float weight)
public float getWeight()
Edge
getWeight in interface Edgepublic Object getLayoutAttribute()
Edge
getLayoutAttribute in interface Edgepublic void setLayoutAttribute(Object layoutAttribute)
Edge
setLayoutAttribute in interface Edgepublic Object getRenderingAttribute()
Edge
getRenderingAttribute in interface Edgepublic void setRenderingAttribute(Object renderingAttribute)
Edge
setRenderingAttribute in interface Edgepublic void setHighlightLevel(float highlightLevel)
setHighlightLevel in interface Highlightablepublic float getHighlightLevel()
getHighlightLevel in interface Highlightablepublic boolean isConnected()
Edge
isConnected in interface Edgepublic boolean isConnectedTo(Vertex vertex)
Edge
isConnectedTo in interface Edgepublic Vertex getOtherVertex(Vertex thisVertex)
Edge
getOtherVertex in interface Edge
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||