public abstract class Event extends EventObject
| Modifier and Type | Field and Description |
|---|---|
static EventType |
ID |
static Object |
ID_ALL |
| Constructor and Description |
|---|
Event(Object source)
Create a new event object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
consume() |
abstract EventType |
getEventType() |
String |
getName() |
boolean |
getRc() |
boolean |
isConsumed() |
boolean |
isVetoed() |
void |
setRc(boolean value) |
void |
setVeto(boolean value) |
void |
veto() |
getSource, toStringpublic Event(Object source)
source - The object that created the event.public void consume()
public abstract EventType getEventType()
public String getName()
public boolean getRc()
public boolean isConsumed()
public boolean isVetoed()
public void setRc(boolean value)
public void setVeto(boolean value)
public void veto()
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.