borland.jbcl Packages  borland.jbcl Class Hierarchy  borland.jbcl.util 

DispatchableEvent class (abstract)

java.lang.Object
   +----java.util.EventObject
           +----borland.jbcl.util.DispatchableEvent
                   +----borland.jbcl.dataset.StatusEvent
                   +----borland.jbcl.dataset.AccessEvent
                   +----borland.jbcl.dataset.NavigationEvent
                   +----borland.jbcl.dataset.MasterNavigateEvent
                   +----borland.jbcl.dataset.DataChangeEvent
                   +----borland.jbcl.dataset.LoadEvent
                   +----borland.jbcl.dataset.ExceptionEvent
                   +----borland.jbcl.model.SubfocusEvent
                   +----borland.jbcl.model.ModelEvent
                   +----borland.jbcl.model.SelectionEvent
                   +----borland.jbcl.view.TreeEvent
                   +----borland.jbcl.view.HeaderEvent

About the DispatchableEvent class

Variables  Constructors  Properties  Methods  

Implements Serializable

An abstract base class for dispatchable events that borland.jbcl.util.EventMulticaster can send to mulitple listeners. An EventMulticaster can also send VetoableDispatch and ExceptionDispatch events, but these are not dispatchable events.


DispatchableEvent variables

Variables implemented in java.util.EventObject

DispatchableEvent constructors

DispatchableEvent properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in java.lang.Object

Properties implemented in java.util.EventObject

DispatchableEvent methods

Methods implemented in this class

Methods implemented in java.lang.Object


DispatchableEvent constructors

DispatchableEvent(java.lang.Object)

  public DispatchableEvent(java.lang.Object source)
Constructs a DispatchableEvent event.

Parameters:

source
The Object that generates the event.

DispatchableEvent properties

exceptionChain

 public ExceptionChain getExceptionChain()
Returns the exception chain for this event.

DispatchableEvent methods

appendException(java.lang.Exception)

  public void appendException(java.lang.Exception ex)
Adds the specified exception to the end of the exception chain for this event.

Parameters:

ex
An exception that occurred.

dispatch(java.util.EventListener)

  public abstract void dispatch(java.util.EventListener listener)
An abstract dispatch method.

Parameters:

listener
The listener the event is sent to.

paramString()

  protected String paramString()
Returns an empty string: " ". The string is the parameter string for the exception.

toString()

  public String toString()
Converts the exception to a string that contains the name of the exception and its parameter string.

Overrides: java.util.EventObject.toString()