com.guiseframework.platform.web
Class WebChangeDepictEvent
java.lang.Object
java.util.EventObject
com.globalmentor.event.AbstractEvent
com.guiseframework.event.AbstractGuiseEvent
com.guiseframework.platform.AbstractPlatformEvent
com.guiseframework.platform.AbstractDepictEvent
com.guiseframework.platform.web.AbstractWebDepictEvent
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
| 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 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.globalmentor.event.Event |
getSource |
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.
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.