|
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
ch.unizh.ini.jaer.chip.dollbrain.ColorEvent
public class ColorEvent
Represents an event with a short color.
Field Summary | |
---|---|
short |
color
|
Fields inherited from class net.sf.jaer.event.TypedEvent |
---|
type |
Fields inherited from class net.sf.jaer.event.BasicEvent |
---|
timestamp, x, y |
Constructor Summary | |
---|---|
ColorEvent()
Creates a new instance of TypedEvent |
Method Summary | |
---|---|
void |
copyFrom(BasicEvent src)
copies fields from source event src to this event |
short |
getColor()
|
java.lang.String |
toString()
|
Methods inherited from class net.sf.jaer.event.TypedEvent |
---|
getType |
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 short color
Constructor Detail |
---|
public ColorEvent()
Method Detail |
---|
public short getColor()
public java.lang.String toString()
toString
in class TypedEvent
public void copyFrom(BasicEvent src)
copyFrom
in interface EventInterface<BasicEvent>
copyFrom
in class TypedEvent
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 |