org.htmlparser.lexerapplications.thumbelina
public class TileSet extends Object
| 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 |
Parameters: r The picture to add.
Parameters: picture The picture to add.
Returns: An enumeration over the picture objects in this set.
Returns: The number of pictures showing. Note that the same image and URL may be showing (different pieces) in several locations.
Parameters: x The x coordinate of the point to examine. y The y coordinate of the point to examine.
Returns: The picture at that point, or null
if there are none.
| HTML Parser is an open source library released under LGPL. | |