Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## uchicago.src.sim.engine
Class PropertyEvent

    java.lang.Object
      uchicago.src.sim.engine.PropertyEvent

    public class PropertyEvent

extends java.lang.Object

An event fired by changes to a model's properties/parameters. A PropertyEvent identifies the property associated with the PropertyEvent and the current value of that Property. The property identifier should be some simulation specific constant.

Version:
  $Revision: 1.3 $ $Date: 2004/11/03 19:50:57 $
Author:
  Nick Collier

Constructor Summary
`PropertyEvent(int propertyId, java.lang.Object propertyValue)` Creates a new PropertyEvent using the specified paramters.

Method Summary
`int` | `getPropertyId()` Gets the property identifier for this event.
`java.lang.Object` | `getPropertyValue()` Gets the value of this property.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PropertyEvent

    public PropertyEvent(int propertyId,
                         java.lang.Object propertyValue)

  Creates a new PropertyEvent using the specified paramters.

  Parameters:
    `propertyId` - the integer identifier of the property associated with this event. This should be some simulation specific constant.
    `propertyValue` - the value of the property.

Method Detail

### getPropertyId

    public int getPropertyId()

  Gets the property identifier for this event.

### getPropertyValue

    public java.lang.Object getPropertyValue()

  Gets the value of this property.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD