|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.htmlparser.lexerapplications.thumbelina.TileSet
Class to track picture regions.
| Field Summary | |
protected java.util.Vector |
mRegions
The list of Pictures. |
| Constructor Summary | |
TileSet()
Construct a tile set. |
|
| Method Summary | |
void |
add(Picture r)
Add a single picture to the list. |
void |
bringToTop(Picture picture)
Move the given picture to the top of the Z order. |
java.util.Enumeration |
getPictures()
Get the list of pictures. |
int |
getSize()
Get the number of tiles in this collection. |
Picture |
pictureAt(int x,
int y)
Find the Picture at position x,y |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.Vector mRegions
| Constructor Detail |
public TileSet()
| Method Detail |
public int getSize()
public java.util.Enumeration getPictures()
public void add(Picture r)
r - The picture to add.
public Picture pictureAt(int x,
int y)
x - The x coordinate of the point to examine.y - The y coordinate of the point to examine.
null
if there are none.public void bringToTop(Picture picture)
picture - The picture to add.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||