|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.nav.fleet.graph.properties.AbstractProperty
com.kuka.nav.fleet.graph.properties.EdgeWeight
public class EdgeWeight
Represents the weight of an edge.
| Constructor Summary | |
|---|---|
EdgeWeight()
Creates a new edge weight property for the given edge. |
|
EdgeWeight(Double weight)
Creates a new edge weight property for the given edge with the specified value. |
|
| Method Summary | |
|---|---|
String |
getValueToDisplay()
Returns the value(s) in a way to show it in a UI. |
Double |
getWeight()
|
void |
setWeight(Double weight)
Sets the weight of the edge. |
String |
toString()
|
| Methods inherited from class com.kuka.nav.fleet.graph.properties.AbstractProperty |
|---|
equals, fireChanged, getAllowedTypes, getId, hashCode, setId, tryGetParamFromString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EdgeWeight()
public EdgeWeight(Double weight)
weight - The weight of the edge.| Method Detail |
|---|
public Double getWeight()
public void setWeight(Double weight)
weight - the new weight >= 1public String getValueToDisplay()
Property
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||