|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.strbio.mol.lib.pred2ary.ProfileDisplayArea.ClickedArea
public class ProfileDisplayArea.ClickedArea
This class keeps track of rectangular areas of interest, and tells which one has been clicked on.
| Constructor Summary | |
|---|---|
ProfileDisplayArea.ClickedArea()
|
|
| Method Summary | |
|---|---|
void |
add(int[] a)
This adds a new area of interest. |
void |
clear()
|
int[] |
clickedOn(int x,
int y)
this looks up which area corresponds to given x and y coordinates, or returns null if none do. |
int |
n()
How many areas of interest are there? |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProfileDisplayArea.ClickedArea()
| Method Detail |
|---|
public void add(int[] a)
public int n()
public void clear()
public int[] clickedOn(int x,
int y)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||