|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.phleisch.app.itsucks.event.impl.SimpleEvent
public class SimpleEvent
An implementation of the Event interface.
| Constructor Summary | |
|---|---|
SimpleEvent(Event pEvent)
This constructor copies type and category from the given event. |
|
SimpleEvent(int pType)
|
|
SimpleEvent(int pType,
int pCategory)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object pObj)
|
int |
getCategory()
Returns the category of this event. |
int |
getType()
Returns the type of this event. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleEvent(Event pEvent)
pEvent - public SimpleEvent(int pType)
public SimpleEvent(int pType,
int pCategory)
| Method Detail |
|---|
public int getCategory()
EventCoreEvents class.
getCategory in interface Eventpublic int getType()
EventCoreEvents class.
getType in interface Eventpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object pObj)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||