|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinterfaces.ConnectivityGrid.GridCell
public class ConnectivityGrid.GridCell
A single cell in the cell grid. Contains the interfaces that are currently in that part of the grid.
| Method Summary | |
|---|---|
void |
addInterface(NetworkInterface ni)
Adds an interface to this cell |
java.util.ArrayList<NetworkInterface> |
getInterfaces()
Returns a list of of interfaces in this cell |
void |
moveInterface(NetworkInterface ni,
ConnectivityGrid.GridCell to)
Moves a interface in a Cell to another Cell |
void |
removeInterface(NetworkInterface ni)
Removes an interface from this cell |
java.lang.String |
toString()
Returns a string representation of the cell |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public java.util.ArrayList<NetworkInterface> getInterfaces()
public void addInterface(NetworkInterface ni)
ni - The interface to addpublic void removeInterface(NetworkInterface ni)
ni - The interface to remove
public void moveInterface(NetworkInterface ni,
ConnectivityGrid.GridCell to)
ni - The interface to moveto - The cell where the interface should be moved topublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||