Package org.apache.log4j.chainsaw

## Class NewKeyEvent

- java.lang.Object
- - java.util.EventObject
  - - org.apache.log4j.chainsaw.NewKeyEvent

- All Implemented Interfaces:
    `Serializable`

      public class NewKeyEvent
      extends EventObject

  An event representing when a Key has arrived inside a Chainsaw model that has not been seen previously.
  Author:
    Paul Smith <psmith@apache.org>
  See Also:
    Serialized Form

- - ### Field Summary

    - ### Fields inherited from class java.util.EventObject

      `source`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `NewKeyEvent​(Object source, int newModelIndex, Object key, Object value)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Object` | `getKey()` |
    `int` | `getNewModelIndex()` |
    `Object` | `getValue()` |

    - ### Methods inherited from class java.util.EventObject

      `getSource, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### NewKeyEvent

          public NewKeyEvent​(Object source,
                             int newModelIndex,
                             Object key,
                             Object value)

      Parameters:
        `source` -

  - ### Method Detail

    - #### getKey

          public Object getKey()

      Returns:
        key

    - #### getNewModelIndex

          public int getNewModelIndex()

      Returns:
        model index

    - #### getValue

          public Object getValue()

      Returns:
        value