|
HTML Parser Home Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.htmlparser.lexerapplications.thumbelina.TileSet
public class TileSet
Class to track picture regions.
| Field Summary | |
|---|---|
protected 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. |
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 Vector mRegions
| Constructor Detail |
|---|
public TileSet()
| Method Detail |
|---|
public int getSize()
public 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.
|
© 2005 Derrick Oswald Jun 10, 2006
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| HTML Parser is an open source library released under LGPL. | |