org.concord.collisions.event
Class AreaEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--org.concord.collisions.event.AreaEvent
All Implemented Interfaces:
java.io.Serializable

public class AreaEvent
extends java.util.EventObject

See Also:
Serialized Form

Field Summary
protected  int height
           
protected  int id
           
protected  long when
           
protected  int width
           
protected  int x
           
protected  int y
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AreaEvent(JWorldElement source, int x, int y, int width, int height)
           
AreaEvent(JWorldElement source, int id, int x, int y, int width, int height)
           
 
Method Summary
 int getHeight()
           
 int getID()
           
 java.lang.Object getSource()
           
 JWorldElement getVisitor()
           
 long getWhen()
           
 int getWidth()
           
 int getX()
           
 int getY()
           
 void setHeight(int height)
           
 void setID(int id)
           
 void setSource(java.lang.Object source)
           
 void setVisitor(JWorldElement source)
           
 void setWidth(int width)
           
 void setX(int x)
           
 void setY(int y)
           
 
Methods inherited from class java.util.EventObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

x

protected int x

y

protected int y

width

protected int width

height

protected int height

when

protected long when

id

protected int id
Constructor Detail

AreaEvent

public AreaEvent(JWorldElement source,
                 int x,
                 int y,
                 int width,
                 int height)

AreaEvent

public AreaEvent(JWorldElement source,
                 int id,
                 int x,
                 int y,
                 int width,
                 int height)
Method Detail

getWhen

public long getWhen()

getX

public int getX()

getY

public int getY()

getWidth

public int getWidth()

getHeight

public int getHeight()

setX

public void setX(int x)

setY

public void setY(int y)

setWidth

public void setWidth(int width)

setHeight

public void setHeight(int height)

setVisitor

public void setVisitor(JWorldElement source)

getID

public int getID()

setID

public void setID(int id)

getSource

public java.lang.Object getSource()
Overrides:
getSource in class java.util.EventObject

setSource

public void setSource(java.lang.Object source)

getVisitor

public JWorldElement getVisitor()