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 and Description
    `NewKeyEvent(Object source, int newModelIndex, Object key, Object value)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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

Copyright © 2002-2018 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache Chainsaw, Chainsaw, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.