com.kuka.nav.fleet.graph.properties
Class MaxDeceleration

java.lang.Object
  extended by com.kuka.nav.fleet.graph.properties.AbstractProperty
      extended by com.kuka.nav.fleet.graph.properties.MaxDeceleration
All Implemented Interfaces:
Property, Serializable

public class MaxDeceleration
extends AbstractProperty

Property describing the max allowed deceleration on an edge.

See Also:
Serialized Form

Constructor Summary
MaxDeceleration()
          Constructs a new max deceleration property with value 1.0.
MaxDeceleration(double maxDec)
          Creates a new property.
 
Method Summary
 Double getMaxDeceleration()
           
 String getValueToDisplay()
          Returns the value(s) in a way to show it in a UI.
static MaxDeceleration parse(String value)
          Parses the max decelerations from the given string.
 void setMaxDeceleration(Double value)
           
 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

MaxDeceleration

public MaxDeceleration(double maxDec)
Creates a new property.

Parameters:
maxDec - the max x deceleration

MaxDeceleration

public MaxDeceleration()
Constructs a new max deceleration property with value 1.0.

Method Detail

getMaxDeceleration

public Double getMaxDeceleration()
Returns:
The max x deceleration.

setMaxDeceleration

public void setMaxDeceleration(Double value)
Parameters:
value - the new value for max deceleration

toString

public String toString()
Overrides:
toString in class Object

parse

public static MaxDeceleration parse(String value)
Parses the max decelerations from the given string.

Parameters:
value - The string representing max decelerations.
Returns:
The max decelerations property.

getValueToDisplay

public String getValueToDisplay()
Description copied from interface: Property
Returns the value(s) in a way to show it in a UI.

Returns:
the values


Copyright © 2019. All rights reserved.