|
||||||||||
| 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.SupportVertex
public class SupportVertex
A SupportVertex in an element of a graph on which sensors move.
| Field Summary |
|---|
| Fields inherited from class visidia.graph.Vertex |
|---|
edges, neighbors |
| Constructor Summary | |
|---|---|
SupportVertex(int id)
Instantiates a new support vertex. |
|
| Method Summary | |
|---|---|
void |
addSensor(Sensor sensor)
Adds the sensor. |
java.lang.Object |
clone()
Returns a clone of this vertex (shallow copy). |
java.util.Enumeration<Sensor> |
getHostedSensors()
Gets the hosted sensors. |
int |
getNbHostedSensors()
Gets the number of hosted sensors. |
boolean |
isEmpty()
Checks if is empty. |
boolean |
isTheLastSensor(Sensor sensor)
Checks if is the last sensor. |
void |
removeSensor(Sensor sensor)
Removes the sensor. |
| Methods inherited from class visidia.graph.Vertex |
|---|
degree, getDoorTo, getEdge, getEdges, getId, getLabel, getNeighborByDoor, getNeighbors, isSwitchedOn, linkTo, merge, removeIncidentEdges, resetProperties, setId, setLabel, setProperty, 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 SupportVertex(int id)
id - the id| Method Detail |
|---|
public java.lang.Object clone()
Vertex
clone in class VertexObject.clone()public void addSensor(Sensor sensor)
sensor - the sensorpublic void removeSensor(Sensor sensor)
sensor - the sensorpublic boolean isEmpty()
public java.util.Enumeration<Sensor> getHostedSensors()
public boolean isTheLastSensor(Sensor sensor)
sensor - the sensor
public int getNbHostedSensors()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||