|
HTML Parser Home Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Tile
Specifies the interface for Tile objects handled by the TileSet class. Basically a Rectangle with auxillary attributes.
Method Summary | |
---|---|
Object |
clone()
Clone this object. |
Rectangle |
getBounds()
Get the rectangular region for this tile. |
Object |
getIdentity()
Return the distinguishing identity for this tile. |
boolean |
getValid()
|
void |
reset()
Reset the tile to it's uncropped size. |
void |
setBounds(Rectangle rectangle)
Set the rectangular region for this tile. |
void |
setIdentity(Object object)
Set the distinguishing identity for this tile. |
void |
setValid(boolean valid)
Sets the validity of the tile. |
Method Detail |
---|
Rectangle getBounds()
void setBounds(Rectangle rectangle)
rectangle
- The new boundary.boolean getValid()
void setValid(boolean valid)
valid
- If true
the tile is marked valid,
false otherwise.Object getIdentity()
void setIdentity(Object object)
object
- An object defining this tile's identity.void reset()
Object clone()
|
© 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. |