|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
unc.cdva.events.clickevents.ClickEvent
public class ClickEvent
Event triggered when you click on the screens Usually you send that kind of event to the rendering engine to retrieve the world coordinates of a click
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ClickEvent(java.lang.Object source,
int x,
int y)
Constructor which creates a new EventObject and sets the x and y values of this ClickEvent object |
|
| Method Summary | |
|---|---|
int |
getX()
|
int |
getY()
|
void |
setX(int x)
|
void |
setY(int y)
|
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ClickEvent(java.lang.Object source,
int x,
int y)
source - Object sent to the constructor of EventObjectx - x value for this ClickEvent objecty - y value for this ClickEvent objectObject| Method Detail |
|---|
public int getX()
public int getY()
public void setX(int x)
x - the x to set in this objectpublic void setY(int y)
y - the y to set in this object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||