|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--HyperLinkSet
A set of hyperlinks. The elements doesn't have to be unique.
Constructor Summary | |
HyperLinkSet()
Constructor. |
Method Summary | |
void |
clear()
Clears the set. |
java.net.URL |
getURL(int x,
int y)
Finds the HyperLink at (x ,
y ). |
void |
insert(HyperLink l)
Inserts a new HyperLink into the set. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HyperLinkSet()
Method Detail |
public void insert(HyperLink l)
HyperLink
into the set.l
- the link to be inserted.public java.net.URL getURL(int x, int y)
HyperLink
at (x
,
y
).x
- the x
coordinate.y
- the y
coordinate.HyperLink
at (x
,
y
), or null
if no link was found.public void clear()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |