/*************** <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;

import org.vrjuggler.jccl.config.ConfigElement;


public class ConfigElementEvent
   extends EventObject
{
   /**
    * Creates a new ConfigElement event from the given source eelemnt relating
    * to the given property, the index into that property, and the value of
    * such property.
    */
   public ConfigElementEvent(ConfigElement srcElt, String property, int index,
                             Object value)
   {
      super(srcElt);
      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;
}

@@ -1459,613 +1459,1921 @@
 ;%0A%0A%0A
-public class ConfigElementEvent%0A   extends EventObject%0A%7B%0A   /**%0A    * Creates a new ConfigElement event from the given source eelemnt relating%0A    * to the given property, the index into that property, and the value of%0A    * such property.%0A    */%0A   public ConfigElementEvent(ConfigElement srcElt, String property, int index,%0A                             Object value)%0A   %7B%0A      super(srcElt);%0A      this.property = property;%0A      this.index = index;%0A      this.value = value;%0A   %7D%0A%0A   public String getProperty()%0A   %7B%0A      return property;%0A   %7D%0A%0A   public int getIndex()%0A   %7B%0A      return index;%0A   %7D%0A
+/**%0A * The event type fired by instances of%0A * %3Ccode%3Eorg.vrjuggler.jccl.config.ConfigElement%3C/code%3E when the name or a%0A * property of the source config elment changes in some way.%0A *%0A * @see org.vrjuggler.jccl.config.ConfigElement%0A * @see ConfigElementListener%0A */%0Apublic class ConfigElementEvent%0A   extends EventObject%0A%7B%0A   /**%0A    * Creates a new ConfigElement event from the given source eelemnt relating%0A    * to the given property, the index into that property, and the value of%0A    * such property.  For cases of config element name changes, property value%0A    * removals, and property value chagnes, %3Ccode%3Evalue%3C/code%3E represents the %0A    * old value.  For property value additions, %3Ccode%3Evalue%3C/code%3E is a%0A    * reference to the newly added value.%0A    */%0A   public ConfigElementEvent(ConfigElement srcElt, String property, int index,%0A                             Object value)%0A   %7B%0A      super(srcElt);%0A      this.property = property;%0A      this.index = index;%0A      this.value = value;%0A   %7D%0A%0A   /**%0A    * Returns the name of the property in the source config element that%0A    * changed or null if it was the name of the source config element that%0A    * changed.%0A    */%0A   public String getProperty()%0A   %7B%0A      return property;%0A   %7D%0A%0A   /**%0A    * Returns the value index (0 or greater) of the property that changed.  If%0A    * 0 is returned, this may be an indication that it was the name of the%0A    * source config element that changed.%0A    *%0A    * @see #getProperty()%0A    */%0A   public int getIndex()%0A   %7B%0A      return index;%0A   %7D%0A%0A   /**%0A    * Gets the value associated with this event.  For the case of config%0A    * element name changes, the old name of the config element is returned.%0A    * For the cases of property value removals and property value changes, a%0A    * reference to the old value is returned.  For property value additions, a%0A    * reference to the newly added value is returned.%0A    */
 %0A   

Document how instances of this class are created and what the various methods return.