|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisidia.misc.property.PropertyTable
visidia.graph.Vertex
visidia.graph.Sensor
public class Sensor
This class manages a sensor as a vertex belonging to a graph G1, and moving along edges of a graph G2.
| Field Summary |
|---|
| Fields inherited from class visidia.graph.Vertex |
|---|
edges, neighbors |
| Constructor Summary | |
|---|---|
Sensor(int id)
Instantiates a new sensor. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Returns a clone of this vertex (shallow copy). |
SensorMover |
getSensorMover()
Gets the sensor mover. |
SupportVertex |
getSupportVertex()
Gets the support vertex. |
void |
resetProperties()
Reset properties. |
java.lang.Object |
setProperty(VisidiaProperty property)
Sets a property. |
void |
setSensorMover(java.lang.String name)
Sets the sensor mover. |
void |
setSupportVertex(SupportVertex supportVertex)
Sets the support vertex. |
| Methods inherited from class visidia.graph.Vertex |
|---|
degree, getDoorTo, getEdge, getEdges, getId, getLabel, getNeighborByDoor, getNeighbors, isSwitchedOn, linkTo, merge, removeIncidentEdges, setId, setLabel, setSwitchedOn, unlink |
| Methods inherited from class visidia.misc.property.PropertyTable |
|---|
containsElement, entrySet, getLockOwner, getPropertyKeys, getVisidiaProperty, isPersistentProperty, locked, lockProperties, removeProperty, setProperties, setVisidiaProperty, unlockProperties |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Sensor(int id)
id - the id| Method Detail |
|---|
public java.lang.Object clone()
Vertex
clone in class VertexObject.clone()public SupportVertex getSupportVertex()
public void setSupportVertex(SupportVertex supportVertex)
supportVertex - the new support vertexpublic void resetProperties()
resetProperties in class Vertexpublic java.lang.Object setProperty(VisidiaProperty property)
Vertex
setProperty in class Vertexproperty - the property
null if it did not have one.public SensorMover getSensorMover()
public void setSensorMover(java.lang.String name)
name - the name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||