|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
net.sourceforge.pebble.api.event.PebbleEvent
public abstract class PebbleEvent
Superclass for Pebble events.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
PebbleEvent(java.lang.Object source,
int type)
Creates a new instance with the specified source and type. |
|
| Method Summary | |
|---|---|
int |
getType()
Gets the type of this event. |
boolean |
isVetoed()
Determines whether this event has been vetoed. |
java.lang.String |
toString()
|
void |
veto()
Vetos this event so that other listeners will not reveive it. |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PebbleEvent(java.lang.Object source,
int type)
source - the Object that created this eventtype - the type of this event| Method Detail |
|---|
public int getType()
public void veto()
public boolean isVetoed()
public java.lang.String toString()
toString in class java.util.EventObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||