public class DefaultEvent extends Object implements Event, Serializable
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
private Object |
source |
private long |
timeStamp |
private int |
type |
Constructor and Description |
---|
DefaultEvent() |
Modifier and Type | Method and Description |
---|---|
Object |
getSource() |
long |
getTimeStamp() |
int |
getType() |
void |
setSource(Object source) |
void |
setTimeStamp(long timeStamp) |
void |
setType(int type) |
String |
toString() |
private static final long serialVersionUID
private int type
private Object source
private long timeStamp
public long getTimeStamp()
getTimeStamp
in interface Event
public void setTimeStamp(long timeStamp)
setTimeStamp
in interface Event
Copyright © 2012. All Rights Reserved.