/*************** <auto-copyright.pl BEGIN do not edit this line> **************
 *
 * VR Juggler is (C) Copyright 1998-2005 by Iowa State University
 *
 * Original Authors:
 *   Allen Bierbaum, Christopher Just,
 *   Patrick Hartling, Kevin Meinert,
 *   Carolina Cruz-Neira, Albert Baker
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 *
 * -----------------------------------------------------------------
 * File:          $RCSfile$
 * Date modified: $Date$
 * Version:       $Revision$
 * -----------------------------------------------------------------
 *
 *************** <auto-copyright.pl END do not edit this line> ***************/
package org.vrjuggler.jccl.config.event;

import java.util.EventObject;

public class ConfigElementEvent
   extends EventObject
{
   /**
    * Creates a new ConfigElement event from the given source object relating to
    * the given property, the index into that property, and the value of such
    * property.
    */
   public ConfigElementEvent(Object src, String property, int index, Object value)
   {
      super(src);
      this.property = property;
      this.index = index;
      this.value = value;
   }

   public String getProperty()
   {
      return property;
   }

   public int getIndex()
   {
      return index;
   }

   public Object getValue()
   {
      return value;
   }

   private String property;
   private int index;
   private Object value;
}

@@ -1405,16 +1405,66 @@
 bject;%0A%0A
+import org.vrjuggler.jccl.config.ConfigElement;%0A%0A%0A
 public c
@@ -1585,13 +1585,14 @@
 rce 
-objec
+eelemn
 t re
@@ -1601,17 +1601,17 @@
 ting
- to
 %0A    *
+ to
  the
@@ -1677,19 +1677,19 @@
 e of
- such
 %0A    *
+ such
  pro
@@ -1735,18 +1735,28 @@
 ent(
-Objec
+ConfigElemen
 t src
+Elt
 , St
@@ -1780,16 +1780,45 @@
 t index,
+%0A                            
  Object 
@@ -1844,16 +1844,19 @@
 uper(src
+Elt
 );%0A     

Clarify that the source of this event type is always the ConfigElement object with which the listener is registered.