|
jAER project on SourceForge | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jaer.event.BasicEvent
net.sf.jaer.event.TypedEvent
public class TypedEvent
Represents an event with a byte type. This is a legacy class to support previous implementations.
Field Summary | |
---|---|
byte |
type
|
Fields inherited from class net.sf.jaer.event.BasicEvent |
---|
timestamp, x, y |
Constructor Summary | |
---|---|
TypedEvent()
Creates a new instance of TypedEvent |
Method Summary | |
---|---|
void |
copyFrom(BasicEvent src)
copies fields from source event src to this event |
int |
getType()
Returns the int type of the event, by convention starting with 0 |
java.lang.String |
toString()
|
Methods inherited from class net.sf.jaer.event.BasicEvent |
---|
getNumCellTypes, getTimestamp, getX, getY, setTimestamp, setX, setY |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public byte type
Constructor Detail |
---|
public TypedEvent()
Method Detail |
---|
public int getType()
EventInterface
getType
in interface EventInterface<BasicEvent>
getType
in class BasicEvent
public java.lang.String toString()
toString
in class BasicEvent
public void copyFrom(BasicEvent src)
copyFrom
in interface EventInterface<BasicEvent>
copyFrom
in class BasicEvent
src
- the event to copy from
|
jAER project on SourceForge | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |