|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.miso.client.DirtyItemList.DirtyItem
public class DirtyItemList.DirtyItem
A class to hold the items inserted in the dirty list along with all of the information necessary to render their dirty regions to the target graphics context when the time comes to do so.
| Field Summary | |
|---|---|
int |
lx
The leftmost tile coordinates. |
int |
ly
The leftmost tile coordinates. |
Object |
obj
The dirtied object; one of either a sprite or an object tile. |
int |
ox
The origin tile coordinates. |
int |
oy
The origin tile coordinates. |
int |
rx
The rightmost tile coordinates. |
int |
ry
The rightmost tile coordinates. |
| Constructor Summary | |
|---|---|
DirtyItemList.DirtyItem()
|
|
| Method Summary | |
|---|---|
void |
clear()
Releases all references held by this dirty item so that it doesn't inadvertently hold on to any objects while waiting to be reused. |
boolean |
equals(Object other)
|
int |
getRearDepth()
Returns the "depth" of our rear-most tile. |
int |
getRenderPriority()
Returns the render priority for this dirty item. |
int |
hashCode()
|
void |
init(Object obj,
int x,
int y)
Initializes a dirty item. |
void |
paint(Graphics2D gfx)
Paints the dirty item to the given graphics context. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public Object obj
public int ox
public int oy
public int lx
public int ly
public int rx
public int ry
| Constructor Detail |
|---|
public DirtyItemList.DirtyItem()
| Method Detail |
|---|
public void init(Object obj,
int x,
int y)
public void paint(Graphics2D gfx)
public int getRearDepth()
public int getRenderPriority()
public void clear()
public boolean equals(Object other)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||