|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectGridView.MyEdge
class MyEdge
Internal class used in marshalling the edge related data and putting things in order before an Edge can be constructed.
Field Summary | |
---|---|
private int[] |
mVertices
|
Constructor Summary | |
---|---|
MyEdge(int[] twoVertices)
Class constructor. |
Method Summary | |
---|---|
int |
GetVertex(int i)
Returns vertex. |
int[] |
GetVertices()
Gets the vertices forming the edge. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int[] mVertices
Constructor Detail |
---|
public MyEdge(int[] twoVertices)
twoVertices
- Two element array containing number of vertices
forming the edge (numbering starts from 0).Method Detail |
---|
public int[] GetVertices()
public int GetVertex(int i)
i
- i must be 0 or 1.
java.lang.ArrayIndexOutOfBoundsException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |