com.guiseframework.platform.web
Class WebChangeDepictEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.globalmentor.event.AbstractEvent
          extended by com.guiseframework.event.AbstractGuiseEvent
              extended by com.guiseframework.platform.AbstractPlatformEvent
                  extended by com.guiseframework.platform.AbstractDepictEvent
                      extended by com.guiseframework.platform.web.AbstractWebDepictEvent
                          extended by com.guiseframework.platform.web.WebChangeDepictEvent
All Implemented Interfaces:
com.globalmentor.event.Event, GuiseEvent, DepictEvent, PlatformEvent, PlatformMessage, WebDepictEvent, WebPlatformEvent, WebPlatformMessage, java.io.Serializable

public class WebChangeDepictEvent
extends AbstractWebDepictEvent

Indicates that one or more properties of a depicted object have changed on the web platform. Each property value can be an object a List, or a Map of other properties.

Author:
Garret Wilson
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
WebChangeDepictEvent(DepictedObject depictedObject, java.util.Map<java.lang.String,java.lang.Object> properties)
          Depicted object and properties map constructor.
WebChangeDepictEvent(DepictedObject depictedObject, com.globalmentor.model.NameValuePair<java.lang.String,java.lang.Object>... properties)
          Depicted object and properties constructor.
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> getProperties()
           
 java.lang.String toString()
           
 
Methods inherited from class com.guiseframework.platform.AbstractDepictEvent
getDepictedObject
 
Methods inherited from class com.guiseframework.event.AbstractGuiseEvent
getSession
 
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
 
Methods inherited from interface com.guiseframework.platform.DepictEvent
getDepictedObject
 
Methods inherited from interface com.globalmentor.event.Event
getSource
 

Constructor Detail

WebChangeDepictEvent

public WebChangeDepictEvent(DepictedObject depictedObject,
                            com.globalmentor.model.NameValuePair<java.lang.String,java.lang.Object>... properties)
Depicted object and properties constructor.

Parameters:
depictedObject - The depicted object on which the event initially occurred.
command - The command.
properties - The relevant properties; properties with duplicate names replace earlier properties of the same name.
Throws:
java.lang.NullPointerException - if the given depicted object and/or properties is null.

WebChangeDepictEvent

public WebChangeDepictEvent(DepictedObject depictedObject,
                            java.util.Map<java.lang.String,java.lang.Object> properties)
Depicted object and properties map constructor.

Parameters:
depictedObject - The depicted object on which the event initially occurred.
command - The command.
properties - The map representing the relevant properties.
Throws:
java.lang.NullPointerException - if the given depicted object and/or properties is null.
Method Detail

getProperties

public java.util.Map<java.lang.String,java.lang.Object> getProperties()
Returns:
The read-only map of properties.

toString

public java.lang.String toString()
Overrides:
toString in class java.util.EventObject
Returns:
A string representation of this event.


Copyright © 2005-2010 GlobalMentor, Inc. All Rights Reserved.