|
||||||||||
| 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
public abstract class AbstractProperty
Base class for all properties.
| Constructor Summary | |
|---|---|
AbstractProperty()
Creates a new property. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
protected void |
fireChanged()
Fires a changed event. |
Collection<Integer> |
getAllowedTypes()
Returns the allowed robot type ids for this property. |
Integer |
getId()
Returns the unique id of this property. |
int |
hashCode()
|
void |
setId(Integer id)
Sets the unique id of this property. |
protected Double |
tryGetParamFromString(int paramIndex,
String paramString,
int paramListLength)
Parses the given string according to the commas and casts the resulting substrings to double. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.kuka.nav.fleet.graph.properties.Property |
|---|
getValueToDisplay |
| Constructor Detail |
|---|
public AbstractProperty()
| Method Detail |
|---|
public Integer getId()
Property
getId in interface Propertypublic void setId(Integer id)
Property
setId in interface Propertyid - the unique id of this propertypublic Collection<Integer> getAllowedTypes()
PropertyPropertyHolder.ROBOTTYPEALL)
is considered as a separate robot type. If all possible types are allowed
the returned collection is empty.
getAllowedTypes in interface Propertypublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectprotected void fireChanged()
protected Double tryGetParamFromString(int paramIndex,
String paramString,
int paramListLength)
null is returned.
Otherwise, the entry at the given index is returned.
paramIndex - the index of the parameter.paramString - the parameter string.paramListLength - the expected length of the parameter string.
null if it is not set.)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||