|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.core.properties.MapPropertyHolder
de.cau.cs.kieler.klay.force.graph.FParticle
de.cau.cs.kieler.klay.force.graph.FLabel
public class FLabel
A label in the force graph.
Constructor Summary | |
---|---|
FLabel(FEdge fedge,
String text)
Create a new label. |
Method Summary | |
---|---|
FEdge |
getEdge()
Returns the associated edge. |
String |
getText()
Returns the text of this label. |
void |
refreshPosition()
Refresh the label position, that is place it in the center of the edge. |
String |
toString()
|
Methods inherited from class de.cau.cs.kieler.klay.force.graph.FParticle |
---|
getPosition, getRadius, getSize |
Methods inherited from class de.cau.cs.kieler.core.properties.MapPropertyHolder |
---|
checkProperties, copyProperties, getAllProperties, getProperty, getProperty, setProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FLabel(FEdge fedge, String text)
text
- the text of the new labelfedge
- edge corresponding to this labelMethod Detail |
---|
public String toString()
toString
in class Object
public String getText()
public FEdge getEdge()
public void refreshPosition()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |