|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.klodd.hierarchical.structures.slimgraph.KSlimGraphElement
de.cau.cs.kieler.klodd.hierarchical.structures.slimgraph.KSlimNode
public class KSlimNode
A node in the slim graph structure.
Nested Class Summary | |
---|---|
static class |
KSlimNode.IncEntry
Single entry of a incidence list. |
static class |
KSlimNode.Side
Definition of sides of a node. |
Constructor Summary | |
---|---|
KSlimNode(KSlimGraph graph)
Creates a node containing no object. |
|
KSlimNode(KSlimGraph graph,
Object obj)
Creates a node containing the given object. |
Method Summary | |
---|---|
List<KSlimNode.IncEntry> |
getIncidence()
Returns the incidence. |
ListIterator<KSlimNode.IncEntry> |
getIterator(KSlimEdge edge,
boolean outgoing)
Gets a list iterator for this node's incidence list, with the current position at the given edge. |
float |
getXpos()
Returns the xpos. |
float |
getYpos()
Returns the ypos. |
void |
setXpos(float thexpos)
Sets the xpos. |
void |
setYpos(float theypos)
Sets the ypos. |
Methods inherited from class de.cau.cs.kieler.klodd.hierarchical.structures.slimgraph.KSlimGraphElement |
---|
compareTo, equals, getId, getObject, getRank, hashCode, setId, setObject, setRank, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public KSlimNode(KSlimGraph graph, Object obj)
graph
- the graph to which the new node shall be addedobj
- the object to be containedpublic KSlimNode(KSlimGraph graph)
graph
- the graph to which the new node shall be addedMethod Detail |
---|
public ListIterator<KSlimNode.IncEntry> getIterator(KSlimEdge edge, boolean outgoing)
edge
- edge at which the iterator shall pointoutgoing
- is the given edge an outgoing edge?
edge
, or null if the edge was
not foundpublic List<KSlimNode.IncEntry> getIncidence()
public void setXpos(float thexpos)
thexpos
- the xpos to setpublic float getXpos()
public void setYpos(float theypos)
theypos
- the ypos to setpublic float getYpos()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |