|
HTML Parser Home Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Canvas
org.htmlparser.lexerapplications.thumbelina.TileSet
public class TileSet
Class to track tile regions.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.awt.Canvas |
|---|
Canvas.AccessibleAWTCanvas |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
protected ArrayList<Tile> |
mRegions
The list of Tiles. |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
TileSet()
Construct a tile set. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent event)
|
void |
add(Tile tile)
Add a single tile to the list. |
void |
bringToTop(Tile tile)
Move the given tile to the top of the Z order. |
int |
getTileCount()
Get the number of tiles in this collection. |
Iterator<Tile> |
getTiles()
|
boolean |
isVerbose()
|
static void |
main(String[] args)
Visual unit test for the TileSet class. |
void |
mouseClicked(MouseEvent event)
|
void |
mouseEntered(MouseEvent event)
|
void |
mouseExited(MouseEvent event)
|
void |
mousePressed(MouseEvent event)
|
void |
mouseReleased(MouseEvent event)
|
void |
paint(Graphics graphics)
|
void |
setStatus(String text)
|
Tile |
tileAt(int x,
int y)
Find the Tile at position x,y |
void |
update(Graphics graphics)
|
void |
windowActivated(WindowEvent e)
|
void |
windowClosed(WindowEvent e)
|
void |
windowClosing(WindowEvent e)
|
void |
windowDeactivated(WindowEvent e)
|
void |
windowDeiconified(WindowEvent e)
|
void |
windowIconified(WindowEvent e)
|
void |
windowOpened(WindowEvent e)
|
| Methods inherited from class java.awt.Canvas |
|---|
addNotify, createBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategy |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected ArrayList<Tile> mRegions
| Constructor Detail |
|---|
public TileSet()
| Method Detail |
|---|
public int getTileCount()
public Iterator<Tile> getTiles()
public void add(Tile tile)
tile - The tile to add.
public Tile tileAt(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(Tile tile)
tile - The tile to bring to the top.public void setStatus(String text)
public boolean isVerbose()
public void update(Graphics graphics)
update in class Canvaspublic void paint(Graphics graphics)
paint in class Canvaspublic void windowOpened(WindowEvent e)
windowOpened in interface WindowListenerpublic void windowClosing(WindowEvent e)
windowClosing in interface WindowListenerpublic void windowClosed(WindowEvent e)
windowClosed in interface WindowListenerpublic void windowIconified(WindowEvent e)
windowIconified in interface WindowListenerpublic void windowDeiconified(WindowEvent e)
windowDeiconified in interface WindowListenerpublic void windowActivated(WindowEvent e)
windowActivated in interface WindowListenerpublic void windowDeactivated(WindowEvent e)
windowDeactivated in interface WindowListenerpublic void actionPerformed(ActionEvent event)
actionPerformed in interface ActionListenerpublic void mouseClicked(MouseEvent event)
mouseClicked in interface MouseListenerpublic void mouseReleased(MouseEvent event)
mouseReleased in interface MouseListenerpublic void mouseEntered(MouseEvent event)
mouseEntered in interface MouseListenerpublic void mouseExited(MouseEvent event)
mouseExited in interface MouseListenerpublic void mousePressed(MouseEvent event)
mousePressed in interface MouseListenerpublic static void main(String[] args)
args - Ignored.
|
© 2006 Derrick Oswald Sep 17, 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 Common Public License. | |