|
||||||||||
| 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.NodeAllowRotation
public class NodeAllowRotation
Property defining whether robots are allowed to turn at the node.
| Constructor Summary | |
|---|---|
NodeAllowRotation()
|
|
| Method Summary | |
|---|---|
static void |
allow(TopologyNode node)
Allows all robots to rotate on the given node. |
static void |
allow(TopologyNode node,
int robotTypeId)
Allows robot's with type id robotTypeId to rotate on the
given node. |
static void |
forbid(TopologyNode node)
Forbids all robots to rotate on the given node. |
static void |
forbid(TopologyNode node,
int robotTypeId)
Forbids robot's with type id robotTypeId to rotate on the
given node. |
String |
getValueToDisplay()
Returns the value(s) in a way to show it in a UI. |
static boolean |
isAllowed(TopologyNode node)
Checks whether all robots are allowed to rotate on the given node. |
static boolean |
isAllowed(TopologyNode node,
int robotTypeId)
Checks whether robot's with type id robotTypeId are allowed
to rotate on the given node. |
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 NodeAllowRotation()
| Method Detail |
|---|
public static void allow(TopologyNode node)
node - the node
public static void allow(TopologyNode node,
int robotTypeId)
robotTypeId to rotate on the
given node.
node - the noderobotTypeId - the robot type idpublic static void forbid(TopologyNode node)
node - the node
public static void forbid(TopologyNode node,
int robotTypeId)
robotTypeId to rotate on the
given node.
node - the noderobotTypeId - the robot type idpublic static boolean isAllowed(TopologyNode node)
node - the node
true if all robots are allowed to rotate on the
given node, false otherwise
public static boolean isAllowed(TopologyNode node,
int robotTypeId)
robotTypeId are allowed
to rotate on the given node.
node - the noderobotTypeId - the robot type id
true if robot's with type id robotTypeId are allowed to rotate on the given
node, false otherwisepublic String toString()
toString in class Objectpublic String getValueToDisplay()
Property
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||