org.apache.slide.event
Class GenericEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.apache.slide.event.GenericEvent
All Implemented Interfaces:
RemoteInformation, java.io.Serializable

public class GenericEvent
extends java.util.EventObject
implements RemoteInformation

The GenericEvent class

See Also:
Serialized Form

Nested Class Summary
static class GenericEvent.EventFired
           
static class GenericEvent.VetoableEventFired
           
 
Field Summary
static GenericEvent.EventFired EVENT_FIRED
           
static java.lang.String GROUP
           
static AbstractEventMethod[] methods
           
static GenericEvent.VetoableEventFired VETOABLE_EVENT_FIRED
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
GenericEvent(java.lang.Object source, java.lang.String[][] information)
           
 
Method Summary
 java.lang.String[][] getInformation()
          The returned String[][] is assumed to be a String[?]
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EVENT_FIRED

public static final GenericEvent.EventFired EVENT_FIRED

VETOABLE_EVENT_FIRED

public static final GenericEvent.VetoableEventFired VETOABLE_EVENT_FIRED

GROUP

public static final java.lang.String GROUP
See Also:
Constant Field Values

methods

public static final AbstractEventMethod[] methods
Constructor Detail

GenericEvent

public GenericEvent(java.lang.Object source,
                    java.lang.String[][] information)
Method Detail

getInformation

public java.lang.String[][] getInformation()
Description copied from interface: RemoteInformation
The returned String[][] is assumed to be a String[?][2], where ? is greater than or equal to 0. The format of the returned value is assumed to be:
 {
     { "XML Element Name 1", "XML Element Value 1"},
     { "XML Element Name 2", "XML Element Value 2"},
     etc...
 }
 
One noteable value for the element name is "uri". The Slide context path is preppended to the value of an element with this name before it is returned to the client.

Specified by:
getInformation in interface RemoteInformation
Returns:
an array of name = value pairs.