|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--xmltool.datastructure.JoinLines
JoinLines keeps track of which element or attribute on the frame are being linked together for a AND or OR condition.
| Field Summary | |
int[][] |
edgeLink
Storage for edges |
| Constructor Summary | |
JoinLines()
|
|
| Method Summary | |
int |
getI(int i)
Get element number of the ith click point |
int |
getJ(int i)
Get attribute number of the ith click point |
int |
getNumLines()
Get total number of lines drawn so far |
boolean |
inLine(int a,
int b)
Method to determine if (a,b) is one of the endpoints of the line |
void |
insert(int a,
int b)
Method to keep track of a new point, once the user has clicked a element/ attribute box. |
void |
JoinLines()
Default Constructor |
void |
reset()
Delete lines drawn |
void |
setNumLines(int c)
Set total number of lines drawn so far |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
public int[][] edgeLink
| Constructor Detail |
public JoinLines()
| Method Detail |
public void JoinLines()
public void insert(int a,
int b)
a - element numberb - attribute numberpublic int getI(int i)
i - point for which element number is neededpublic int getJ(int i)
i - point for which attribute number is needed
public boolean inLine(int a,
int b)
a - element number for that pointb - attribute number for that pointpublic int getNumLines()
public void setNumLines(int c)
int - Number of linespublic void reset()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||