intarsys runtime library

de.intarsys.tools.event
Class Event

java.lang.Object
  extended by java.util.EventObject
      extended by de.intarsys.tools.event.Event
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ActivatedEvent, AttributeChangedEvent, CancelEvent, CancelRequestedEvent, CreatedEvent, DeactivatedEvent, DestroyedEvent, InvokeAccept, InvokeAccept, InvokeIntercept, InvokeIntercept, OkEvent, OkRequestedEvent, PreferencesChangeEvent, ResumedEvent, SelectionEvent, StartedEvent, StoppedEvent, StopRequestedEvent, SuspendedEvent

public class Event
extends EventObject

Abstract superclass for event implementations.

See Also:
Serialized Form

Field Summary
static EventType ID
           
static Object ID_ALL
           
 
Constructor Summary
Event(Object source)
          Create a new event object.
 
Method Summary
 void consume()
           
 EventType getEventType()
           
 String getName()
           
 boolean getRc()
           
 boolean isConsumed()
           
 boolean isVetoed()
           
 void setRc(boolean value)
           
 void setVeto(boolean value)
           
 void veto()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ID_ALL

public static final Object ID_ALL

ID

public static final EventType ID
Constructor Detail

Event

public Event(Object source)
Create a new event object.

Parameters:
source - The object that created the event.
Method Detail

consume

public void consume()

getEventType

public EventType getEventType()

getName

public String getName()

getRc

public boolean getRc()

isConsumed

public boolean isConsumed()

isVetoed

public boolean isVetoed()

setRc

public void setRc(boolean value)

setVeto

public void setVeto(boolean value)

veto

public void veto()

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.